Basically want to find the number of entries per category in order to perform a conditional to show different content based on the entry count. Essentially:

if count = 2 then this if count is less than 2 then something else.

Native way would be preferred but any ideas?

1 Answer 1


I think GWcode Categories would be the easiest way to do this: http://gwcode.com/add-ons/gwcode-categories. It can also do a great number of other things with categories.

There's also an add-on just for counting category entries: http://devot-ee.com/add-ons/category-count

I actually use both on my site. I don't think there is a native way to do this without an add-on.

  • Great! Category Count looks exactly the job!
    – segovius
    Commented Feb 13, 2014 at 9:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.