ChazUK / wp-api-yoast-meta

Adds the Yoast fields for pages and posts to the WP-API response
105 stars 66 forks source link

Social/OpenGraph meta not displayed in API #8

Open phatsk opened 6 years ago

phatsk commented 6 years ago

We recently forked to add support for this. The issue comes with OpenGraph data being configured on the backend, but not rendered under the yoast_meta data in the REST API.

I should have a PR for this shortly.

phatsk commented 6 years ago

PR opened: https://github.com/ChazUK/wp-api-yoast-meta/pull/9

Note that my original task may be a bit misleading - this doesn't address Social/OG directly, but rather allows developers to filter the returned meta and attach information such as OG data to the outgoing response.

fxck commented 5 years ago

Exactly what I'm looking for @phatsk, great, how would I use your PR to add those social meta tags? How do I find what are the options to pass to the reqeust?