• Resolved Keyvan Mahmoudi

    (@iamkeyvan72)


    Hi,
    previously i was able to get the Yoast SEO title in my custom taxonomy pages by this code:

    
    $tax = get_queried_object();
    $tax_meta = get_option('wpseo_taxonomy_meta');
    $title = $tax_meta['artist'][$tax->term_id]['wpseo_title'];
    $title = is_null($title) || strpos($title, '%%') != false ? wp_get_document_title() : $title;
    

    but it stopped working because there is no wpseo_title in the $tax_meta any more.
    what should i do to get my Yoast SEO title in the taxonomy pages?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    As much as we hate to say it, your question goes beyond the technical expertise of me and my colleagues on the Yoast support team. This means we can’t give you a solid answer to your question.

    But we don’t want to leave you empty-handed either, that’s why we’ve created our developer portal at developer.yoast.com. This has proven to be useful to many developers in the past, and hopefully will serve you well too.

    Sorry we can’t be of more help here.

Viewing 1 replies (of 1 total)
  • The topic ‘wpseo_title not working on taxonomy pages any more’ is closed to new replies.