分类是开启状态,而且活动页面有这段调用代码,为什么不显示呢?这段代码不起作用,谁能帮我看下
<div class="pull-left">
<?php if ($this->category_list) { ?>
<ul>
<li <?php if (!$_GET['category'] AND !$this->feature_info) { ?> class="active"<?php } ?>><a href="<?php echo $this->category_list['base']['link']; ?>"><?php _e('全部'); ?></a>
</li>
<?php foreach ($this->category_list as $key => $val) { ?>
<?php if ($val['title']) { ?>
<li <?php if ($val['type'] == 'category' AND $val['id'] == $_GET['category']) { ?> class="active"<?php } ?>>
<a href="<?php echo $val['link']; ?>"<?php if ($val['type'] == 'custom') { ?> target="_blank"<?php } ?>><?php echo $val['title']; ?></a>
<?php if ($val['child'] && get_setting('nav_menu_show_child') == 'Y') { ?>
<div class="aw-dropdown" role="menu" aria-labelledby="dropdownMenu">
<span></span>
<ul class="aw-dropdown-list">
<?php foreach ($val['child'] AS $_key => $_val) { ?>
<li><a href="<?php echo $_val['link']; ?>"<?php if ($_val['id'] == $this->category_info['id']) { ?> class="active"<?php } ?>><?php echo $_val['title']; ?></a></li>
<?php } ?>
</ul>
</div>
应该是在这里显示的啊
用的是3.2.1版本,是不是有哪个地方要更改?
阅读全文
收起全文