Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Use a primary term for taxonomies with the new Gutenberg editor

Notifications You must be signed in to change notification settings

brianjohnhanna/wp-primary-taxonomy-term-gutenberg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Selecting additional category should not automatically reset the primary
  • 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
  • Add option to implement for taxonomies other than just categories
  • Add support for custom post types
  • Additional testing

About

Use a primary term for taxonomies with the new Gutenberg editor

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published