• I need to switch class/text-size of the list of categories – the more categories smaller the text needs to be.

    What I am trying to do is set up a conditional statement depending on how many categories are assigned to a post.

    What is the best/easiest/most effective way to count() the number of categories returned by the_category()?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Count categories within loop?’ is closed to new replies.