Simple Primary Category Simple Primary Category

Simple Primary Category

Created by: MrAsharIrfan

Rating:
Downloaded: 3k times

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
  • Classic Editor

Categories

Get New Themes & Resources