Setting a Parent Page for a Custom Post Type
-
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;”
Thank you.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Setting a Parent Page for a Custom Post Type’ is closed to new replies.