Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Magicline + WordPress + Categories Re: Magicline + WordPress + Categories

#79726
toby_fba
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 );?>

<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?