• Resolved mail101pravi

    (@mail101pravi)


    I have yoast meta fields showing in rest api for custom post type – but not showing for custom taxonomy. how can i enable that??

Viewing 1 replies (of 1 total)
  • Plugin Author Richard Korthuis

    (@rockfire)

    Hi @mail101pravi

    Thank you for using our plugin!

    Your issue comes from the fact that we have not (yet) implemented Yoast meta for (custom) taxonomies, only for (custom) post types.

    Having said that: in the latest version of Yoast SEO they have introduced a new REST API endpoint which you could use to retrieve the meta information like this: https://example.com/wp-json/yoast/v1/get_head?url=https://example.com/taxonomy/
    You can read more about it here: https://developer.yoast.com/blog/yoast-seo-rest-api-endpoint/

Viewing 1 replies (of 1 total)
  • The topic ‘how to show meta fields for custom taxonomy’ is closed to new replies.