List custom post type by taxonomy on a page template.
I have a custom post type (faq) that has a custom taxonomy attached to it (sections). Is there anyway that I can call specific posts from that custom post type from a page.?
This is for a cms setup for a client, so I am trying to make it as easy as possible for them to include the required faq’s on each page.
Custom Post Type = faq
Custom Taxonomy = sections
One of those taxonomies is = employment
I want to create a post in faq custom post type and assign it the section/taxonomy of employment. I then want to have specific faq’s (post type) appear on a page. So I am looking to include the same set of taxonomies on my pages. Then on the page I can check off the section of questions I want, in this case “employment”. Then in my page template assign a function to display all posts from the faq custom post type that are assigned employment. So I would be checking off employment twice (for the actual question I am creating and on the page I want them to appear on)
Hope that makes sense! 🙂
Thanks in advance for any help that can be offered.
- The topic ‘List custom post type by taxonomy on a page template.’ is closed to new replies.