Set a primary category for a post
A project by Pragmatic.
Set a primary category for a post.
This software is beta, is not feature completed, has hardcoded limitations, and is provided without warranty or support.
The implementation of this feature was based on the same in the Yoast SEO plugin for WordPress. Go check them out!
Ensure you have the prerequisite software installed:
Install this plugin with Composer:
composer require pragmaticweb/primary-category. Activate the plugin in your WordPress in the usual manner.
This plugin mostly follows the standard Git Flow model.
npm start-- Starts the build for development.
npm run build-- Builds the code for production.
npm run lint:css-- Lints CSS files.
npm run packages-update-- Updates WordPress packages to the latest version.