I have set up a page template to display a list of posts from a certain category. This is on the wp_list navigation menu, but does not show the 'current page item' style.
Does anyone know how to resolve this?
I have set up a page template to display a list of posts from a certain category. This is on the wp_list navigation menu, but does not show the 'current page item' style.
Does anyone know how to resolve this?
if ( is_page('portfolio')) { echo ' class="current_page_item"'; }
I tried the above line in my functions.php... Nothing.
This topic has been closed to new replies.