Custom Post Type – Creating Sub Pages
-
Let’s pretend I’m making a custom post type for “Books”, and I want tabs for “Author Biography”, “Where to buy” and “Reviews”.
What is the best way to create these pages automatically from the posts meta data?
I want my url structure to be:
mysite.com/books/to-kill-mockingbird/author/
mysite.com/books/to-kill-mockingbird/purchase/
mysite.com/books/to-kill-mockingbird/reviews/Reviews will be the default comments. I tried searching and can’t figure it out. Essentially, I want to automatically create a comments subpage – but I don’t want to use jQuery to switch tabs, I want these to be bonified pages.
i.e.
Comments on posts will be split off onto another page, with the structure /post-name/comments
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Custom Post Type – Creating Sub Pages’ is closed to new replies.