Set the parent of a custom post type
I’ve got a custom post type set up called “Companies”. On a static page “Founders & Companies” I’m pulling in the Featured image of the CTP. When the user clicks the featured image, they are taken to the CTP with the Companies info. My issue is that the “current_page_parent” is set to Blog as reflected in the navigation highlighted and the breadcrumb.
How do I make the parent of my entire CTP “Founders & Companies”? I’ve looked around but haven’t seen anyone actually find a solution for this issue.
See a screengrab: http://screencast.com/t/2nol8XP6I
Looking at the codex: http://codex.wordpress.org/Function_Reference/register_post_type
hierarchicalbut I don’t get how to use it, or if that’s even the right thing to do?
- The topic ‘Set the parent of a custom post type’ is closed to new replies.