WP Manifestindependent plugin directory
manifest / editor / wp-primary-taxonomy-term-gutenberg

Primary Taxonomy Term for Gutenberg archived

Use a primary term for taxonomies with the new Gutenberg editor

by Brian John Hanna · github.com/brianjohnhanna/wp-primary-taxonomy-term-gutenberg · website

1stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/brianjohnhanna/wp-primary-taxonomy-term-gutenberg/archive/refs/heads/master.zip

Readme

Primary Taxonomy Term for WordPress

This WordPress plugin adds a primary category dropdown to the Gutenberg post editor document block. The primary category can be useful for SEO purposes and assist publishers and editors in organizing content effectively.

Notice: This is currently an exploratory project, and is not yet suggested for production use. Feel free to fork and/or PR if you feel so inclined.

Edit Screenshot

Todo

  • [x] Selecting additional category should not automatically reset the primary
  • [x] Hook into post autosave/save instead of saving on onchange event of select
  • [ ] Add template functions & implement hooks for displaying primary category on front-end
  • [x] Add option to implement for taxonomies other than just categories
  • [ ] Add support for custom post types
  • [ ] Additional testing

Read the full README on GitHub →