This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Simple Primary Category

Sharraxaad

A light-weight WordPress plugin to assign primary category to posts and custom post types.

How to Use

  1. Browse to any post or custom post type in WordPress admin.
  2. Check the taxonomies that you want to assign to it.
  3. Select the respective primary taxonomies.
  4. Save the post.
  5. Use this shortcode to query the posts: spc_primary_term_posts.
  6. Use the action hook β€” spc_display_primary_term_posts β€” to display the queried posts in your theme.

Sawir-shaashado

  • Gutenberg
  • Classic Editor

Rakibaad

  1. Download the plugin.
  2. Login to your WordPress website dashboard.
  3. Navigate to Dashboard > Plugins.
  4. Click Add New and then Upload Plugin.
  5. Browse to the file, select it, and click Install Now.
  6. Click Activate Plugin once prompted.

Dibu-eegisyo

6 Agoosto, 2023
Somehow I lost the ability to set the primary category.Database cleaning etc. did not restore it.Anyway, this small plugin came to the rescue πŸ’Glad you provided this function!
Akhri dhammaan 1 dibu-eegis

Ka-qaybgalayaasha & Horumariyayaasha

“Simple Primary Category” waa softiweer il furan. Dadka soo socda ayaa wax ku biiriyay kaabahan.

Ka-qaybgalayaasha

Ku tarjun “Simple Primary Category” luqaddaada.

Ma xiisaynaysaa horumarinta?

Baadh koodka, fiiri bakhaarka SVN, ama iska qor diiwaanka horumarinta adigoo adeegsanaya RSS.

Isbeddellada

= Version 1.1.1
* Bumped tested up to tag

= Version 1.1.0
* Added dependencies updates
* Fixed bugs in classic editor
* Updated code formatting

= Version 1.0.0
* Initial Release