WordPress plugin for setting and displaying primary categories for posts and custom post types.
As of April 2026, Primary Categories is a WordPress categories plugin with 20 active installations and a 4.5/5 rating from 2 reviews. It has been downloaded 5.1K+ times in total. Requires WordPress 3.4+ and PHP false+. Available on WordPress.org since 2016. Last updated 7 years ago — may have compatibility concerns. Top alternative: List category posts.
WordPress plugin for setting and displaying primary categories for posts and custom post types*.
This plugin creates a meta box on the post edit screen titled “Primary Category” containing a drop down menu populated with all categories associated with that post**. Selecting a primary category and updating the post saves this data into a custom field with a meta key of “primary-category”.
To display a list of all posts with a particular primary category, use the shortcode [primary-category name=”cat_name”] where cat_name is the name of the primary category you wish to display. If a name is not specified, the shortcode will default to all posts with “uncategorized” set as the primary category.
*Note: Custom post types must support both categor…
| WordPress | 3.4+ requiredTested up to 4.9.29 |
| PHP | false+ required |
Initial Commit
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.