ZenPhoto/Wordpress Menu Problem

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

  • trisweb Administrator
    There shouldn't be any function conflicts with the latest version of ZP, so it's not that...

    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?
  • Alright, I think that was the standard K2 menu but I'll look at some other themes and see how they do it. I dont know that much about php but it definately seemed long to me also just for home.
Sign In or Register to comment.