palmiak / smartcrawl-wpgraphql
A WPGraphQL extension for SmartCrawl.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 1
Open Issues: 1
Type:wordpress-plugin
Requires
- php: >=5.6
- wp-graphql/wp-graphql: >=0.3.8
Requires (Dev)
This package is auto-updated.
Last update: 2024-10-29 05:41:13 UTC
README
Requirements
To use this plugin you'll need:
- WPGraphQL - 🚀 GraphQL API for WordPress
- SmartCrawl or SmartCrawl PRO - WordPress SEO checker, analyzer, and optimizer
Usage
For posts and post types:
query GET_POSTS { posts { edges { node { id title date smartcrawl_seo{ title metaDesc metaRobotsNoindex metaRobotsNofollow opengraphTitle opengraphDescription canonical opengraphImage { sourceUrl } twitterTitle twitterDescription twitterImage { sourceUrl } twitterCard focusKeywords } } } } }
For taxonomies:
query GET_CATEGORIES { categories { edges { node { smartcrawl_seo{ title metaDesc metaRobotsNoindex metaRobotsNofollow opengraphTitle opengraphDescription canonical opengraphImage { sourceUrl } twitterTitle twitterDescription twitterImage { sourceUrl } twitterCard focusKeywords } } } } }
Contributions
Big thanks to Ashley Hitchcock for inspiration.