WordPress.org

Profiles

  • Member Since: February 8th, 2011
  • Find me on:
  • Posted a reply to Echoing the Yoast Primary Category in Yoast SEO via PHP, on the site WordPress.org Forums:
    Here it is: $cat = new WPSEO_Primary_Term('category', get_the_ID()); $cat = $cat->get_primary_term();

    2 years ago

  • Posted a reply to Echoing the Yoast Primary Category in Yoast SEO via PHP, on the site WordPress.org Forums:
    I'm working on this myself. I'd love to hear if someone has accomplished this. I'll…

    2 years ago