Count Posts in a Category, Tag, or Custom Taxonomy
This plugin allows you to dynamically return the number of posts in a particular category, tag, or custom taxonomy. Inserting [cat_count value="category-slug"] in a post or page, or <?php do_shortcode('cat_count slug="category-slug" '); ?> anywhere in WordPress’ code will return the number of posts
This plugin allows you to dynamically return the number of posts in a particular category, tag, or custom taxonomy. Inserting [cat_count value="category-slug"] in a post or page, or <?php do_shortcode('cat_count slug="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.
Readme Generator
- This plugin’s readme.txt file was generated by the bitacre Readme Generator for WordPress Plugins.
Support
- Plugin Homepage
- plugins@shinraholdings.com
Donations
Donations are graciously accepted to support the continued development and maintenance of this and other plugins. We currently accept Paypal and kind words.
Screenshots & previews.
- 01Download the latest zip file and extract the post-count-per-category directory.
- 02Upload this directory inside your /wp-content/plugins/ directory.
- 03Activate ‘Post Count per Category’ on the ‘Plugins’ menu in WordPress.
- 04Insert in a post or page: [cat_count slug="category-slug"] to count a category, [tag_count slug="tag-slug"] to count a tag, or [tax_count tax=”taxonomy-name” slug=”taxonomy-slug”] to count a custom taxonomy. (Replacing the slugs in quotes with an acutal slug name) to return the number of posts in that category, tag or custom taxonomy.