strata / frontend

The front of Headless CMS. Build an efficient front-end website taking content from multiple data sources.
MIT License
13 stars 5 forks source link

getAllMetaHtml doesn't return Yoast title #57

Open fiinix opened 4 years ago

fiinix commented 4 years ago

Expectation: getAllMetaHtml() should return meta descriptions tags reflecting content from Yoast fields.

Result: getAllMetaHtml() returns "Wordpress title" as title and "first two available ACF field in the Loop" as meta description

fiinix commented 4 years ago

Additional to this, the Rest API plugin which acts as a glue between the WP Rest API and the Yoast plugin stores it in a yoast_meta field. This has changed sometime between version 1.4.1 (current) and 1.2.1 (used on previous project) where the field was simply called yoast

https://github.com/ChazUK/wp-api-yoast-meta