Results 1 to 1 of 1
Thread: Add a class to custom taxonomies
Jan 20, 2012, 10:21 #1
- Join Date
- Jan 2012
- Detroit, MI
- 0 Post(s)
- 0 Thread(s)
Add a class to custom taxonomies
This is probably a pretty simple one, but I'm running into a wall searching tuts on Google and wasn't able to find an existing thread in the forum.
I'm am setting up a portfolio, and created a custom taxonomy called 'Services'. What I want to do is display the services in the portfolio posts (a custom post type) and also have them include a CSS class so that I can add icons to them.
For example, in on post I might select "Design" and "Hosting" from the services menu, when those are displayed I would like the class to be something like "services-design" and "services-hosting", respectively.