• Hi there,

    I have several pages for my website, and a couple of the pages do not show current-menu-item in the menus (top and bottom of page). Because of this, my menu current page css doesn’t get applied.

    Example of working page:
    http://www.ranacreek.com/dev/services/

    Non-working pages:
    http://www.ranacreek.com/dev/projects/
    http://www.ranacreek.com/dev/press/

    The “projects” portion uses a simple-portfolio plugin, so it is directed by a php file that overrides the “projects” page in the wordpress admin. Is there a way to add to the php that it should have a certain parent (projects)?

    The “press” page also baffles me because it uses a standard page template, though I do pull custom posts, not a standard wordpress loop. It actually does work on the top menu, but not the lower one, even though I use the same code to call the menu (wp_nav_menu(); )

    Any ideas? Workarounds? Many thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • http://wordpress.org/support/topic/cpt-template-heirarchysometimes-home-page-sometimes-not?replies=23

    Possibly related. CPT page templates act real flaky currently. But if you read that thread, WP 3.1 resolved the issue for me with CPT archives.

    As for your projects page, did you set the page up through WP interface and then the plugin controls the output on the page? When creating pages, you can assign parent pages. You could still possibly edit the page to assign a parent

    Thread Starter bmwboarder

    (@bmwboarder)

    Thanks Rev Voodoo. That gives me some direction to go at least.

    I did set up a page in the wordpress admin, for both the project index and press. I’ve seen the press page work while I was creating it, so I think it has something to do with it using only custom post types, as I’m trying to make it as much of a cms as possible.

    I’ll see what I else I can find today.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Setting php page parent level’ is closed to new replies.