Custom Post Type Archive and Single Templates
-
Hi,
I am using the BLANK Theme 1 by Chris Coyier.
I”ve created some categories, ‘cars’, ‘ford’, ‘mondeo’ etc etc
I have used the Custom Post Type UI plugin to create a custom post type of Vehicles. I’ve ticked the Built-in Taxonomies Categories box when doing this.
I have then created a single-vehicles.php template and an archive-vehicles.php template.
I have then created a post using the Vehicles custom post type and assigned the post to a couple of categories.
I have then used the category widget to produce a dropdown of my categories. When I select from these categories I am taken to the original archive page (archive.php) and not my new archive-vehicles.php template and my post is not displayed.
Any ideas anyone?
Many thanks.
- The topic ‘Custom Post Type Archive and Single Templates’ is closed to new replies.