zblog默认调用是首页和内页的侧栏调用的是一个测栏,zblogphp如何实现首页和内页的侧栏分开调用,zblog如何实现友情链接只显示首页?下面重庆SEO为大家讲解:


1、修改前须知:zblog程序已经在系统内部的已经安置了5个不同的侧栏,调用的代码依次分别是:
{template:sidebar}、{template:sidebar2}、{template:sidebar3}、{template:sidebar4}、{template:sidebar5}


2、找到你的文章内页模板,我这个默认模板位置是在  zb_users/theme/metro/template/single.php这个模板中,找到  {template:sidebar}  把他替换为  {template:sidebar2},如果还有其他侧栏,可以找到相应模板重复上面操作即可,3,4,5分别调用


点赞(0) 打赏

Comment list 共有 0 条评论

暂无评论
立即
投稿

个人微信号

微信扫一扫联系我

发表
评论
返回
顶部