Shortcode to count number of posts that match a given set of criteria; provides link to query to display list of matching posts
As of April 2026, Count Shortcode is a WordPress data plugin with 10 active installations and a 4/5 rating from 1 reviews. It has been downloaded 2.6K+ times in total. Requires WordPress 3.2+ and PHP false+. Available on WordPress.org since 2011. Last updated 14 years ago — may have compatibility concerns. Top alternative: Rara One Click Demo Import.
Shortcode to count number of posts that match a given set of criteria; provides link to query to display list of matching posts.
Works with both built in post types (pages, posts) and taxonomies (tags, categories), as well as custom post types and custom taxonomies.
Example
You have a car custom post type and would like a count of all the red cars in your inventory, as well as a link to a listing of those cars.
Red Cars in Inventory: [count color=red]
Would return the number of cars, as well as a link to yoursite.com/?color=red (which may rewrite depending on your permalink structure)
Usage
Insert a shortcode in your post in the form of [count {taxonomy}={value}]. You can add as many or as fiew taxonomies as you would like.
You can also use the post_type argument to specify a post type (p…
| WordPress | 3.2+ requiredTested up to 3.2.1 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.