Is there a way to set a static parent page for a custom post type single page?
In other words… I have a custom post type called “Press Releases” and I would like to say that its parent is “News,” which is a static page.
Maybe there is some way to utilize the “$post->post_parent;” code to name the parent for an item such as a custom post type. I know this is crude and will not work but some form of manipulation like this… “pressreleases->post_parent = news;”
- The topic ‘Setting a Parent Page for a Custom Post Type’ is closed to new replies.