Snippets: Use Yoast SEO Primary Category For Related Blog Posts
This snippet was last updated on
October 5, 2020
// This is now the default in the theme since v5.0, no need for custom code.
All PHP snippets should be added via a
child theme's functions.php
Terms & Agreement