Skip to content

Latest commit

 

History

History

post-primary-category

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

PostPrimaryCategory

The PostPrimaryCategory component is part of the suite of components that read/write data from the global post object or the current <PostContext />. It has a composable declarative approach to allow you full control over the markup without needing to worry about the data handling at all.

The Component allows you to showcase the primary category of the current post. It relies on the Primary Term feature provided by the Yoast SEO plugin.

Warning This Component depends on the Primary Term functionality of the Yoast SEO Plugin