manifest / integrations / wp-graphql-content-blocks
WPGraphQL Content Blocks #4 in Integrations & APIs
Plugin that extends WPGraphQL to support querying (Gutenberg) Blocks as data
by WP Engine · github.com/wpengine/wp-graphql-content-blocks · website
★ 149stars
23krelease downloads
≈1.4kactive sites
16forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/wpengine/wp-graphql-content-blocks/releases/download/v4.8.6/wp-graphql-content-blocks.zipFrom the readme
WPGraphQL Content Blocks
WordPress plugin that extends WPGraphQL to support querying (Gutenberg) Blocks as data.
How to Install
This plugin is an extension of wp-graphql, so make sure you have it installed first.
1. Download the latest .zip version of the plugin
2. Upload the plugin .zip to your WordPress site
3. Activate the plugin within WordPress plugins page.
There is no other configuration needed once you install the plugin.
Getting started
Once the plugin is installed, head over to the GraphiQL IDE and you should be able to perform queries for the block data (This plugin is an extension of wp-graphql, so make sure you have it installed first.).
There is a new field added in the Post and Page models called editorBlocks.
This represents a list of available blocks for that content type:
How do I query block data?
To query specific block data you need to define that data in the editorBlocks as the appropriate type.
For example, to use CoreParagraph attributes you need to use the following query:
If the resolved block has values for those fields, it will return them, otherwise it will return null.
What about innerBlocks?
In order to facilitate querying innerBlocks fiel
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v4.8.6 | Jul 6, 2026 | wp-graphql-content-blocks.zip | 1,761 |
| v4.8.6 | Jul 6, 2026 | schema.graphql | 76 |
| v4.8.5 | May 27, 2026 | wp-graphql-content-blocks.zip | 1,063 |
| v4.8.5 | May 27, 2026 | schema.graphql | 44 |
| v4.8.4 | Jun 12, 2025 | wp-graphql-content-blocks.zip | 4,607 |
| v4.8.4 | Jun 12, 2025 | schema.graphql | 99 |
| v4.8.3 | Apr 29, 2025 | schema.graphql | 28 |
| v4.8.3 | Apr 29, 2025 | wp-graphql-content-blocks.zip | 1,351 |
| v4.8.2 | Mar 5, 2025 | wp-graphql-content-blocks.zip | 3,357 |
| v4.8.2 | Mar 5, 2025 | schema.graphql | 31 |
| v4.8.1 | Mar 3, 2025 | wp-graphql-content-blocks.zip | 145 |
| v4.8.1 | Mar 3, 2025 | schema.graphql | 11 |
| v4.8.0 | Feb 17, 2025 | wp-graphql-content-blocks.zip | 670 |
| v4.8.0 | Feb 17, 2025 | schema.graphql | 20 |
| v4.7.0 | Feb 11, 2025 | wp-graphql-content-blocks.zip | 278 |
| v4.7.0 | Feb 11, 2025 | schema.graphql | 13 |
| v4.6.0 | Feb 6, 2025 | wp-graphql-content-blocks.zip | 129 |
| v4.6.0 | Feb 6, 2025 | schema.graphql | 8 |
| v4.5.0 | Jan 28, 2025 | wp-graphql-content-blocks.zip | 376 |
| v4.5.0 | Jan 28, 2025 | schema.graphql | 26 |
| v4.4.0 | Jan 14, 2025 | wp-graphql-content-blocks.zip | 303 |
| v4.4.0 | Jan 14, 2025 | schema.graphql | 30 |
| v4.3.2 | Dec 12, 2024 | wp-graphql-content-blocks.zip | 265 |
| v4.3.2 | Dec 12, 2024 | schema.graphql | 20 |
| v4.3.1 | Nov 14, 2024 | wp-graphql-content-blocks.zip | 205 |
Active-site estimate ≈1,350 comes from the median of recent superseded releases. Method.