Why does Blog become current_page_parent with Custom Post Type?
-
I have a problem with my single Custom Post Type and the navigation menu.
My Custom Post Type is called “project”, it’s non-hierarchical and I have disabled the archive. Instead I am using a Page Template called projects.php. I have also made a template single-project.php to show each separate project on its own page.
Now the problem is that when I browse to a single project, in the nav-menu all of a sudden my Blog (News) gets the class current_page_item.
1. How is this possible?
2. How do I get rid of it?
3. (optional) Is it possible to give my Projects Page this classThanks in advance for any help and/or tips!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Why does Blog become current_page_parent with Custom Post Type?’ is closed to new replies.