Creating a custom post-type taxonomy post-page
-
Hi Guys and Gals,
I’ve finally decided to ask for some help as I’ve been googling, searching and bashing my head against a wall for ages now.
I’ve made a custom post type, called ‘Videos’ and a taxonomy for that post type called ‘Video Categories’ both of these bits work perfectly in the back end.
By default when you make a video category, and put some posts in it, they all show up perfectly in the admin side, but when you click ‘View’ on that category by default it shows no posts.
Some extensive googling reveals this is because it’s querying normal posts not my custom post type so I had a go at trying to fix this.
The two closest ways I came to fixing this where querying an individual taxonomy but this is no good as I want to be able to create more categories as the site grows and I don’t want to have to make a new page template for every category.
I also got it posting every post in the custom post type, but not abiding by the category taxonomy.
Anyone got any ideas of the best way to do this? At a loss here!
The topic ‘Creating a custom post-type taxonomy post-page’ is closed to new replies.