A WPGraphQL extension that exposes Yoast SEO data for WordPress content via GraphQL queries.
WP GraphQL Yoast SEO is a WordPress plugin that extends WPGraphQL to expose Yoast SEO metadata via GraphQL queries. It solves the problem of accessing structured SEO data in headless WordPress setups, allowing developers to fetch titles, meta descriptions, OpenGraph tags, schema markup, and other SEO fields directly through GraphQL. This eliminates the need for traditional WordPress template functions or REST API workarounds for SEO content.
WordPress developers building headless or decoupled WordPress sites using frameworks like Gatsby, Next.js, or React, who need programmatic access to Yoast SEO data. It's also valuable for developers working with WPGraphQL who require comprehensive SEO metadata in their GraphQL schema.
Developers choose this plugin because it provides a seamless, type-safe way to query Yoast SEO data within the WPGraphQL ecosystem, reducing complexity and improving developer experience for headless WordPress projects. Its comprehensive coverage of Yoast features and active maintenance make it a reliable choice compared to custom solutions.
This is an extension to the WPGraphQL plugin for Yoast SEO
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Exposes Yoast data for posts, pages, custom post types, taxonomies, users, and WooCommerce products, as demonstrated in the detailed GraphQL query examples.
Provides both raw and parsed schema.org JSON-LD data directly through GraphQL, eliminating manual handling for enhanced search visibility.
Includes a Docker-based development environment with automated WordPress installation and plugin activation, streamlining contributor onboarding.
Regular updates and version tracking (e.g., V4 requiring Yoast 14.0.0) show ongoing development, with an open issue system for missing features.
Breaking changes like V4 mandating Yoast 14.0.0 can disrupt existing implementations, requiring careful version management.
Necessitates both Yoast SEO and WPGraphQL to be installed and active, adding setup complexity and potential points of failure.
The README invites users to report missing Yoast data, indicating that not all features may be covered out of the box.