I’m having some real trouble finding the solution to this.
I’d like to make the class of posts displayed on my home page defined by the category slug of the category they belong to.
I cannot find the solution to this anywhere. Can anyone please direct me?
Many thanks in advance.
- The topic ‘Using a category slug as a class in a template page’ is closed to new replies.