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分别调用
发表评论 取消回复