Skip to content
This is an extension to the WPGraphQL plugin for Yoast SEO
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
wp-graphql-yoast-seo.php

README.md

WPGraphQl Yoast SEO Plugin

This is an extension to the WPGraphQL plugin (https://github.com/wp-graphql/wp-graphql) that returns Yoast SEO data

To query for the SEO Data:

{
  pages(first: 10) {
    edges {
      node {
        id
        title
        seo {
          title
          metaDesc
          focuskw
          metaKeywords
          metaRobotsNoindex
          metaRobotsNofollow
          opengraphTitle
          opengraphDescription
          opengraphImage
          twitterTitle
          twitterDescription
          twitterImage
        }
      }
    }
  }
}

You can’t perform that action at this time.