Support » Plugin: Hierarchy » What about Post Type Archives?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jonathan Christopher


    I’ll definitely plan on adding some more info about this but when registering a custom post type you can ‘piggyback’ a Page’s permalink, which is what I do often. So to elaborate on the example from the article:

    We have a WordPress Page for About which sits at

    We have a CPT (Team) registered that 'has_archive' = true and 'rewrite' => array( 'slug' => 'about/team', 'with_front' => false ) so the CPT archive will sit at

    Lastly, each entry in the CPT will be prefixed by the CPT rewrite slug so each will sit at, for example.

    I hope I understood the question correctly but if not give me a shout!

    That makes total sense and perfectly answers my question. Thanks! I was just concerned that the modified slug might have hijacked the post type archive functions. However, that’s just how I’d want it to work 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What about Post Type Archives?’ is closed to new replies.