Home › Forums › Back End › Magicline + WordPress + Categories › Re: Magicline + WordPress + Categories
July 14, 2010 at 1:21 am
#79726
Member
Can anyone help with this?
My nav now works pretty much after hacking the nav
Code:
<div id="header">
<?php $tcat = 3;?>
<?php $category_link = get_category_link( $tcat );?>
<?php $tcat = 3;?>
<?php $category_link = get_category_link( $tcat );?>
<div id="access">
<div class="nav-wrap" >
<ul class="group" id="example-one">
<?php wp_list_pages(‘&title_li’); ?>
<li <?php if(is_category($tcat)) echo ‘ class="current_page_item"’; ?>><a href="<?php echo $category_link; ?>" title="Competitions">Competitions</a></li>
</ul>
</div>
</div>
</div>
BUT now when im on a single post obviously the current_page_item isn’t highlighted, anyone know how to get this working?