Beskriuwing
A light-weight WordPress plugin to assign primary category to posts and custom post types.
How to Use
- Browse to any post or custom post type in WordPress admin.
- Check the taxonomies that you want to assign to it.
- Select the respective primary taxonomies.
- Save the post.
- Use this shortcode to query the posts:
spc_primary_term_posts
. - Use the action hook —
spc_display_primary_term_posts
— to display the queried posts in your theme.
Skermôfbyldings
Ynstallaasje
- Download the plugin.
- Login to your WordPress website dashboard.
- Navigate to Dashboard > Plugins.
- Click Add New and then Upload Plugin.
- Browse to the file, select it, and click Install Now.
- Click Activate Plugin once prompted.
Resinsjes
6 augustus, 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!
Meiwurkers & amp; Untwikkelders
“Simple Primary Category” is iepen boarne software. De folgjende minsken hawwe bydroegen oan dizze plugin.
MeiwurkersOersette “Simple Primary Category” yn jo taal.
Ynteressearre yn ûntwikkeling?
Blêdzje troch de koade , besjoch de SVN-repository , of abonnearje op it ûntwikkelingslogboek troch RSS .
Feroaringslog
= 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