Plugin Directory

Count Posts in a Category

Adds a custom shortcode that returns the number of posts in a category. Accepts category ID, name, or slug as input.

This plugin allows you to dynamically return the number of posts in a particular category. Inserting [ccp cat="category-slug"] in a post or page, or <?php do_shortcode('ccp cat="category-slug" '); ?> anywhere in WordPress' code will return the number of posts in that particular category.

Useful for creating dynamic table of contents pages, keeping track of post stats, general bragging, or any place where keeping a running tally might be desirable.

Requires: 2.8 or higher
Compatible up to: 3.3.2
Last Updated: 2012-4-24
Downloads: 1,051

Average Rating

5 stars
(2 ratings)

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

2 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,2,2 100,1,1
100,2,2