分页: 1 / 1
typecho CMS主题下载
发表于 : 2017年 12月 6日 10:25
由 hczcy
扁平化,自适应,博客布局非原创。
欢迎大家下载。
12.07 感谢@m4go,首页代码已更新,无需更改即可以使用。
(还需要更改首页公告部分及友情链接.)
上图:
- Screenshot.jpg (165.03 KiB) 查看 8823 次
预览地址:https://www.laohe.org/
发布地址:https://www.mrhe.net/z-turn/typecho-cms-theme-download.html
Re: typecho CMS主题下载
发表于 : 2017年 12月 6日 11:35
由 guonning
很不错啊
Re: typecho CMS主题下载
发表于 : 2017年 12月 6日 18:37
由 pan002030
首页这么404,请问要这么设置
Re: typecho CMS主题下载
发表于 : 2017年 12月 6日 19:59
由 hczcy
pan002030 写了:首页这么404,请问要这么设置
修改index.php
代码: 全选
<?php $this->widget('Widget_Archive@indexm', 'pageSize=10&type=category', 'mid=32')->to($categoryPosts); ?>
mid后面的数字,请查看你的博客相关分类的id
Re: typecho CMS主题下载
发表于 : 2017年 12月 6日 20:56
由 pan002030
有点麻烦,还是没搞好,哎
Re: typecho CMS主题下载
发表于 : 2017年 12月 6日 21:12
由 m4go
亲,可以参考一下这个:https://typecho.me/845.html 先循环分类,再输出文章。
Re: typecho CMS主题下载
发表于 : 2017年 12月 7日 09:14
由 hczcy
m4go 写了:亲,可以参考一下这个:https://typecho.me/845.html 先循环分类,再输出文章。
已参考,谢谢。