You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The (very popular) Yoast SEO plugin has functionality to specify a "Primary Category" that's useful when a post is classified as more than one category:
If it's present, It would be nice to treat this value as the one that is used to declare the articleSection portion of the metadata output by this plugin.
Check out 198625-z for an instance where the value for the Primary Category feature was expected to determine the dashboard section for posts.
Describe the solution you'd like
It might be worth an option in the plugin settings page to enable this behavior when the Yoast SEO plugin is detected and active.
Describe alternatives you've considered
There's a workaround to achieve this behavior that looks like this:
Is your feature request related to a problem?
The (very popular) Yoast SEO plugin has functionality to specify a "Primary Category" that's useful when a post is classified as more than one category:
https://yoast.com/help/how-to-select-a-primary-category/
If it's present, It would be nice to treat this value as the one that is used to declare the
articleSection
portion of the metadata output by this plugin.Check out 198625-z for an instance where the value for the Primary Category feature was expected to determine the dashboard section for posts.
Describe the solution you'd like
It might be worth an option in the plugin settings page to enable this behavior when the Yoast SEO plugin is detected and active.
Describe alternatives you've considered
There's a workaround to achieve this behavior that looks like this:
yoast_get_primary_term
is a function that was added 8+ years ago, so it ought to be stable enough for this purpose.Additional context
The text was updated successfully, but these errors were encountered: