• Hi,

    I created a list which includes posts from all categories and checked “include terms” under the meta tab.

    I wanted to give a different color to each category name, but I noticed that the “article” html tag has more than one category listed as classes.

    I double checked, and made sure that posts belong to only one category each.

    The first “article” has just a class by it’s own category name – class=”category-categoryname1″, the second has class=”category-categoryname1 category-categoryname2″, the third has class=”category-categoryname1 category-categoryname2 category-categoryname3″, and so on.

    This makes my idea impossible to do, because I need just the actual category name of given “article” as a class to be able to achieve what I want.

    Can something be done about this?

    Cheers!

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Possible bug: More than one category name as “article” class’ is closed to new replies.