Contributors: Paresh
Donate link: http://pareshradadiya.github.io/wp-primary-terms
Tags:
Requires at least: 4.4
Tested up to: 4.8.1
Stable tag: 1.0.0
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Allow to designate a primary category for posts and custom post types
- Upload the entire
/wp-primary-terms
directory to the/wp-content/plugins/
directory. - Activate WP Primary Terms through the 'Plugins' menu in WordPress.
This filter allow you to toggle primary term support for the post's taxonomies. Applied to the list of taxonomies returned by the wppt_get_primary_taxonomies
function. This filter receive two parameters:
- $primary_taxonomies - The primary taxonomies name list which are enabled from plugin settings
- $post_type - The post type of the current post
- First release