Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Displaying Custom Post Type Category from Taxonomy

Hi everyone, I have a doozy of a question, and I reckon it might be one for Zac Gordon, but no doubt there's a fair few WordPress champs who might also know this.

I'm creating a site for my wife's day spa using WordPress (obviously) and I am really struggling with trying to display treatment categories and then whatever is contained within that category. I have created a taxonomy called 'treatment-categories' with Custom Post Types UI and setup the custom post type with Advanced Custom Fields. I hope I'm making sense on this cause this issue really makes no sense to me!

Basically I'm looking to have the following on the treatments page:

  • Treatment Category
    • Treatments listed under that particular category

Category i.e. Hair Removal Treatments within that category i.e. Full Leg Wax I have searched and searched Google, all I can find is how to set this up, but I haven't seen any information on how to output the categories to a page.

Any help on how I can accomplish this will be greatly appreciated as I've been stuck on this for days and it's killing me!


Stu :)

Ludvík Matějíček
Ludvík Matějíček
12,557 Points

Hello Stu, I don't know this plugin but if you need help with outputing your custom post type creating in this plugin contact his autor.

PS: if you need I can help you setup custom post type without plugin.