Support » Fixing WordPress » Setting Custom Post Type as Parent page to other pages and post types

  • Hi, I’m getting a ‘404 page not found’ when using a custom post type as a parent page for another page or post type.

    Here’s the hierarchy:

    News (Custom post type)
    |- Reviews (custom post type)
    |- Newsletter (page)

    When I go to Reviews or Newsletter, I get the 404. Hierarchical is set to true for the custom post types. The only time it does work is if I change the Reviews and Newsletter parent to (no parent) or another page. That would be ok, but I need them to show up in the menu.

    Is there a way to use a custom post type as a parent page?

Viewing 1 replies (of 1 total)
  • Well, the work-around I have for now is this:

    News (page)
    |- Press Releases (custom post type)
    |- Reviews (custom post type)
    |- Newsletter (page)

    Not ideal, but allows me to see everything in the menu and doesn’t give me a 404. Still, I’m wondering if it’s possible to use a custom post type as a parent page.

Viewing 1 replies (of 1 total)
  • The topic ‘Setting Custom Post Type as Parent page to other pages and post types’ is closed to new replies.