I am trying to get my Wordpress menu to work how it should but am running into a problem. Whenever I am in my zenphoto gallery, the homepage also thinks it should be set as the current page. This is the code I am using:
`
- current_page_item<?php } else { ?>page_item<?php } ?>">">Home
- current_page_item<?php } else { ?>page_item<?php } ?>">LINK TO PHOTO GALLERY-THE FORUM DOESNT WANT THE A HREF HERE
<?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
`
Any help would be greatly appreciated
Comments
I'm confused by how this is set up.. .you're dynamically setting the class on the LI, right? That first logical check in the if (((is_home...)) looks pretty convoluted... maybe you can simplify it and see if that's the problem?