Custom Post Type & Category
-
Hi All,
I require some help in understanding how I can create a page where a Custom Post Type can display a listing of all the items of one Category. My Custom Post Type Name is: “Books” and my Category is “Adventure”. I have the following links so far:
Home – point to “front-page.php”
Books – points to “archive.php”, which then points to “template-parts/content.php”I want to know what PHP page I need to create/use to be able to point to “https://mywebsite.com/books/adventure”, where “books” is the Custom Post Type and “adventure” is the Category and I want to be able to list all Book Posts from this category.
The page structure is slightly confusing so I’m not sure if its to do with having something like “archive-book-adventure.php” or “taxonomy-book-adventure.php”
I hope you can guide me along the correct path. If I’ve posted this to the wrong section, please move to the appropriate place.
- The topic ‘Custom Post Type & Category’ is closed to new replies.