BACK TO DIRECTORY

Simple Primary Category

by Ashar Irfan

5.0
(1 ratings)

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.

Screenshots

Gutenberg

Gutenberg

Classic Editor

Classic Editor

Plugin Details

Active Installs
100
Total Downloads
5,518
Version
1.1.1
Requires WP
5.0
Requires PHP
7.3
Tested Up To
6.4.10
Added
2020-05-07
Last Updated
2023-11-24 8:29pm GMT

Ratings

5
1
4
0
3
0
2
0
1
0