Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. WordPress-Gatsby
  3. WPGraphQL for SEOPress

WPGraphQL for SEOPress

GPL-3.0PHPv5.0.2

A WPGraphQL extension that exposes Yoast SEO data for WordPress content via GraphQL queries.

GitHubGitHub
231 stars48 forks0 contributors

What is WPGraphQL for SEOPress?

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.

Target Audience

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.

Value Proposition

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.

Overview

This is an extension to the WPGraphQL plugin for Yoast SEO

Use Cases

Best For

  • Building headless WordPress sites that require SEO metadata in frontend applications
  • Fetching Yoast SEO data for posts, pages, and custom post types via GraphQL
  • Implementing structured data (JSON-LD) from Yoast in decoupled architectures
  • Querying global Yoast configuration settings programmatically
  • Integrating Yoast breadcrumbs and social metadata into Gatsby or Next.js projects
  • Accessing WooCommerce product SEO data through GraphQL

Not Ideal For

  • WordPress sites using SEO plugins other than Yoast (e.g., All in One SEO Pack)
  • Projects that do not use or plan to implement WPGraphQL for data fetching
  • Traditional server-rendered WordPress themes that don't require external SEO data access

Pros & Cons

Pros

Comprehensive SEO Coverage

Exposes Yoast data for posts, pages, custom post types, taxonomies, users, and WooCommerce products, as demonstrated in the detailed GraphQL query examples.

Structured Data Support

Provides both raw and parsed schema.org JSON-LD data directly through GraphQL, eliminating manual handling for enhanced search visibility.

Developer-Friendly Setup

Includes a Docker-based development environment with automated WordPress installation and plugin activation, streamlining contributor onboarding.

Active Maintenance

Regular updates and version tracking (e.g., V4 requiring Yoast 14.0.0) show ongoing development, with an open issue system for missing features.

Cons

Dependency on Specific Versions

Breaking changes like V4 mandating Yoast 14.0.0 can disrupt existing implementations, requiring careful version management.

Requires Multiple Plugins

Necessitates both Yoast SEO and WPGraphQL to be installed and active, adding setup complexity and potential points of failure.

Potential Feature Gaps

The README invites users to report missing Yoast data, indicating that not all features may be covered out of the box.

Frequently Asked Questions

Quick Stats

Stars231
Forks48
Contributors0
Open Issues20
Last commit1 month ago
CreatedSince 2019

Tags

#hacktoberfest#headless-wordpress#graphql#wordpress-plugin#woocommerce#wpgraphql-plugin#metadata#open-graph#schema-org#wordpress#seo

Built With

M
MySQL
D
Docker Compose
W
WordPress
P
PHP
p
phpMyAdmin
D
Docker

Included in

WordPress-Gatsby284
Auto-fetched 19 hours ago

Related Projects

WPGraphQL for WooCommerceWPGraphQL for WooCommerce

Add WooCommerce support and functionality to your WPGraphQL server

Stars703
Forks146
Last commit24 days ago
WPGraphQL for Advanced Custom FieldsWPGraphQL for Advanced Custom Fields

WPGraphQL for Advanced Custom Fields

Stars617
Forks111
Last commit2 years ago
WPGraphQL JWT AuthenticationWPGraphQL JWT Authentication

Authentication for WPGraphQL using JWT (JSON Web Tokens)

Stars363
Forks79
Last commit4 months ago
WPGraphQL GutenbergWPGraphQL Gutenberg

Query gutenberg blocks with wp-graphql

Stars306
Forks59
Last commit1 year ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub