Skip to content

Adds the Yoast fields for pages and posts to the WP-API response, and the primaries taxonomies

Notifications You must be signed in to change notification settings

mvanmeerbeck/wp-api-yoast-meta

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For use with the new WP REST API

Returns Yoast post or page metadata in a normal post or page request. Stores the metadata in the yoast_meta field of the returned data.

Supports pages, posts and any public custom post type

Currently fetching:

  • yoast_wpseo_focuskw
  • yoast_wpseo_title
  • yoast_wpseo_metadesc
  • yoast_wpseo_linkdex
  • yoast_wpseo_metakeywords
  • yoast_wpseo_meta-robots-noindex
  • yoast_wpseo_meta-robots-nofollow
  • yoast_wpseo_meta-robots-adv
  • yoast_wpseo_canonical
  • yoast_wpseo_redirect
  • yoast_wpseo_opengraph-title
  • yoast_wpseo_opengraph-description
  • yoast_wpseo_opengraph-image
  • yoast_wpseo_twitter-title
  • yoast_wpseo_twitter-description
  • yoast_wpseo_twitter-image

Thanks to jmfurlott/wp-api-yoast

About

Adds the Yoast fields for pages and posts to the WP-API response, and the primaries taxonomies

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%