I am creating a Vue app powered with WP REST API. Situation is that I have a website that has content and I added schema pro plugin for SEO enhancement. Now since I am using WP REST API, my question is how can i add json+ld schema from the plugin to extend REST API.

1 Answer 1


The plugin should work in a way that it adds Schema automatically to the markup you write for your website, you should try hosting your website on a local environment and enabling the plugin there to see if it does indeed add Schema to the markup you wrote in Vue,

  • The plugin indeed works on the website but I am using REST API. How to show in rest api ? May 16, 2020 at 8:56
  • Why do you want to show it in the Rest API? If you write your website with it shouldn't the plugin automatically generate the markup you need? I don't see what you are trying to achieve with this.
    – AcidBurn
    May 16, 2020 at 9:04
  • I want to show the JSON-LD markup generated by the plugin in WP REST API...By default it does not..and I am wondering how can i extend my rest api with json+ld May 16, 2020 at 9:12
  • I see, but why would you want to do that? Isn't the automatically generated schema enough? If you want to go fully custom perhaps writing your own markup would be wiser
    – AcidBurn
    May 16, 2020 at 9:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.