List custom taxonomies in single custom post
-
Hi there
I have 2 custom post types – one is for Parks and the other is for Hotels.
What I want to be able to do is create a separate template for each single ‘Park’ post type so that it runs a query post on the Hotels in a certain category.So, for example I have 3 parks, The North, The South and The West. I have over 100 hotels and I only want the hotels to show that are in the North category to show in a list when the user clicks on the “North” park.
I can only seem to create on template for the Park custom post type.
Can anyone recommend a way to achieve this?
Many thanks
Badger
- The topic ‘List custom taxonomies in single custom post’ is closed to new replies.