Support » Fixing WordPress » custom post type index

  • Hi,

    I’m trying to get my navigation to have all the right highlighting (current-nav-menu), but I can’t get a couple pages. I’ve got a project index and single-project pages. I’ve got it working on the single-projecst through the use of the is_singular(‘portfolio’) function and some extra css in the head. I can’t seem to find a way to even know when the project index is even being loaded, aside from maybe just using some regex and testing the url…

    Any ideas? Many thanks.


  • The topic ‘custom post type index’ is closed to new replies.