Skip to main content

Primary Category

Yoko Core allows the user to choose a primary term on taxonomy terms that a heirarchical/category-like.

How to Select Primary Term

Only selected terms can be Primary terms. To set a primary term:

  1. Check the term to associate it with the post.
  2. Hover over the term and click the "Make Primary" button.

Once the term is highlighted blue, it is the selected primary term. Only one primary term can be selected per taxonomy.

Primary Term Selector

Classical Editor Only

This functionality only works with the Classic Editor because the block editor uses a completely different picker for taxonomy terms.

Body Classes

Posts that have a primary taxonomy term will have a body classes added in the format primary-term:[TAXONOMY SLUG]:[TERM SLUG].

Gutenberg/Block Editor Support

Coming Soon...