WordPress plugin intelligence profile

Primary Cat

Set a primary category for your posts... and then do stuff with it. [primary-cat]

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.0
Current version0.3
WordPress coverageTested up to WordPress 7.0
Minimum stackWP 5.0 · PHP —
Directory statusactive
Last directory update22 May 20265mo ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Primary Cat version 0.3 as active, updated 5mo ago and tested up to WordPress 7.0.

Overview

About this plugin

💬 Ask Question | 📧 Email Me

Set a primary category for your posts… and then do stuff with it.

Why would I want a primary category?

Out of the box, WordPress allows you to assign multiple categories to a post. Unless you’re enforcing a strict one-category-per-post-only rule for your website, this can be a problem now for displaying the most important category for your respective posts, as opposed to WordPress automatically selecting it for you.

” with the categories: Cats, Dogs, and Pets assigned to it.

By default, anywhere that WordPress might display a single category to represent the post, it’s probably going to display Cats by default, but since the post is equally about both cats and dogs, maybe the more general Pets category would be more appropriate.

This plugin allows you to accomplish that, whether it’s for presentational, structural, organizational, SEO, or all of the above purposes.

In what ways can I utilize a primary category?

[primary-cat]

In any creative way that you can imagine, but here are some examples I thought of:

  • To present the main category that the post belongs to above its title (by adding <?php echo do_shortcode( '[primary-cat]' );?> in your theme code, child theme, or custom functions plugin), in some aesthetic way (which can be styled with CSS.primary-cat ). Lots of blog, news, and magazine sites have this feature.
  • To have the appropriate slug in your post URLs if you’re using the custom /%category%/%postname%/ permalink structure under Settings > Permalinks.
  • To have breadcrumbs (by using the shortcode [primary-bread] ) on your site for user-friendliness (which can be styled with CSS #breadcrumbs ), and can in turn, also improve SEO.
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • primary category
  • breadcrumbs
  • categories
  • schema
  • seo
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 7.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 7.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.0
Minimum requirementsWordPress 5.0 · PHP not listed
Update activity22 May 20265mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.