Support » Fixing WordPress » Custom Post Type as a child of a Page?

  • Hynek Zatloukal

    (@hynekzatloukal)



    Hello, is there a possibility to assign a custom post type to be hiearchically under a page?

    • Page /hello/
    • Page /ahoy/
    • Page /seeya/
      • Page /seeya/goodbye/
        • Custom post type post /seeya/goodbye/first/
        • Custom post type post /seeya/goodbye/second/
        • Custom post type post /seeya/goodbye/third/
        • Custom post type post /seeya/goodbye/fourth/
    • Page /foo/

    Cannot use Page /goodbye/ to be an archive of Custom Post Type.

Viewing 2 replies - 1 through 2 (of 2 total)
  • MartinLeclercq

    (@martinleclercq)

    You can set your permalinks with: Custom Post Permalinks plugin.
    On the permalink page you can set the custom post type url:

    page/%custom post type%

    That way you can assign a custom post type to be hierachically under a page.

    What I’m looking for is a solution for this matter:
    Now I understood that you can also assign a category to a page by using the exact same name. But I haven’t found how to assign a taxonomy and custom post type to be hierchically under a page.

    Hynek Zatloukal

    (@hynekzatloukal)

    Already heard about the plugin. But I hoped there is an easier (one-function) solution, instead of plugin.

    Thanks for reply!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Post Type as a child of a Page?’ is closed to new replies.