• I know how to make a custom post type and make them hierarchical but I am struggling to make a level deeper. I have considered using tags.

    This is my scenario:

    books (archive index of books) > adventure (archive index of adventure books)
    movies (archive index of movies) > comedy (archive index of comedy movies)

    How would you advise approaching this?

    Thanks a lot,

    AD

Viewing 1 replies (of 1 total)
  • When you use register_post_type() you just need to pass in a true value for the has_archive parameter. As an example…

    register_post_type ('my_custom_type', array (
        'label' => 'My Custom Type',
        'has_archive' => true
    ));
Viewing 1 replies (of 1 total)
  • The topic ‘Child Custom Post Type with Archive’ is closed to new replies.