• peaky76

    (@peaky76)


    Hi, I am setting up a review website. I’ve created my own custom post type “reviews” but I want different sub-types of review, e.g. films, books, cds. They’ll all share some metaboxes, e.g. rating, but each will have their own specific metaboxes, e.g. record label for CDs, director/running time/country for films. Is some sort of hierarchical structure the best way to implement this and if so, how can I get that to work? Or is it easier just to have a flat structure of custom posts – film reviews, book reviews, cd reviews?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I think you can do what you want using Advanced Custom Fields plugin – it has a lot of options for showing various metaboxes on various posts & pages.

    So assuming that you structure your Reviews as Pages (heirarchically) and you have “Book Reviews” as a parent CPT, with all your various book review posts as child-pages of that one, likewise for “film reviews” (as a parent page with all film reviews being child pages)….

    Then when you install ACF, you setup what metaboxes you want for each type, and tell it to show on post type = reviews and parent page = book reviews, etc.

    Any metaboxes they share you can setup as a separate field group and just use show on post type = reviews – then they will show on all of your sub pages.

    Thread Starter peaky76

    (@peaky76)

    Thanks Trisha. I think that’s one plugin I haven’t looked at yet. I’ll take a look!

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

The topic ‘Custom Posts Subtypes’ is closed to new replies.