蓝白色清爽企业主题新闻分类处左侧导航底部多了无样式的“新闻中心”四个字
如题,
蓝白色清爽主题中在新闻中心的左侧导航中,有四个分类子目录,分别是a\b\c\d,但是在四个目录下边平白无故多了四个无样式的字“新闻中心”,请问如何解决?
另外,其他栏目页的左侧导航并为出现这个问题,我这里贴一下新闻栏目页的php代码和循环函数,以及其对应的css样式:
<—左侧导航—->
<div class=”left”>
<div class=”leftnav”>
<h1><img src=”<?php bloginfo(‘template_url’); ?>/images/news_left.gif”/></h1>
<?php if (is_category(‘company-case’)): ?>
<ul><li class=”cat-item”><a href=”<?php echo wp_list_categories(“child_of=”.get_category_root_id(the_category_ID(false)). “&depth=0&hide_empty=0&title_li=”);?><?php echo $cat->name; ?></a></li>
<?php endif;?>
<ul><li class=”cat-item”><a href=”<?php echo wp_list_categories(“child_of=”.get_category_root_id(the_category_ID(false)). “&depth=0&hide_empty=0&title_li=”);?><?php echo $cat->name; ?></a></li>
</div>
<div class=”leftpic”></div>
</div>
<—结束—->
<*左侧导航css*>
.left{ width:216px; float:right;}
.leftnav{ width:216px; height:280px; float:left; background:url(../images/left2.jpg) top no-repeat; margin-bottom:15px; display:inline}
.leftnav h1{ width:205px; height:50px; float:left; padding-top:30px; text-indent:28px;}
.leftnav ul{ width:176px; float:left; margin-left:28px; margin-bottom:20px; display:inline}
.leftnav ul li{ width:176px; float:left; border-bottom:1px solid #fcfcfc; line-height:40px;}
.leftnav ul li a{ width:176px; font-size: 12px; text-align:left; float:left; display:block; color:#FFF; font-weight:bold; background:url(../images/left_link.jpg) right no-repeat}
.leftnav ul li a:hover{ width:176px; float:left; display:block; color:#f7941d; font-weight:bold; background:url(../images/left_hover.jpg) right no-repeat}
.leftnav ul li span{ width:176px; float:left; display:block; color:#dcb467; font-weight:bold; background: right no-repeat}
.leftpic{ width:205px; height:86px; float:left; background:url(../images/left_pic.jpg) top no-repeat}
<*结束*>
您好!请登录