WP selecting wrong page as 'current_page_parent'
-
Hey all,
On my site I have a template that is used by one page, and a single-template for posts related to that page
- page-staff (used as an index to display all staff)
- single-people (the post type is called people)
However, when I am displaying a staff members profile (using ‘single-people’), my main Index is marked as
current_page_parent
, and this is screwing my tabs up. Is there any way to tell WP that I want another page to be the parent, so that I don’t have to do lots of re-writing to sort tab colouring out?Thanks.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘WP selecting wrong page as 'current_page_parent'’ is closed to new replies.