WP Manifestindependent plugin directory
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.zip

From 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

TagPublishedAssetDownloads
v4.8.6Jul 6, 2026wp-graphql-content-blocks.zip1,761
v4.8.6Jul 6, 2026schema.graphql76
v4.8.5May 27, 2026wp-graphql-content-blocks.zip1,063
v4.8.5May 27, 2026schema.graphql44
v4.8.4Jun 12, 2025wp-graphql-content-blocks.zip4,607
v4.8.4Jun 12, 2025schema.graphql99
v4.8.3Apr 29, 2025schema.graphql28
v4.8.3Apr 29, 2025wp-graphql-content-blocks.zip1,351
v4.8.2Mar 5, 2025wp-graphql-content-blocks.zip3,357
v4.8.2Mar 5, 2025schema.graphql31
v4.8.1Mar 3, 2025wp-graphql-content-blocks.zip145
v4.8.1Mar 3, 2025schema.graphql11
v4.8.0Feb 17, 2025wp-graphql-content-blocks.zip670
v4.8.0Feb 17, 2025schema.graphql20
v4.7.0Feb 11, 2025wp-graphql-content-blocks.zip278
v4.7.0Feb 11, 2025schema.graphql13
v4.6.0Feb 6, 2025wp-graphql-content-blocks.zip129
v4.6.0Feb 6, 2025schema.graphql8
v4.5.0Jan 28, 2025wp-graphql-content-blocks.zip376
v4.5.0Jan 28, 2025schema.graphql26
v4.4.0Jan 14, 2025wp-graphql-content-blocks.zip303
v4.4.0Jan 14, 2025schema.graphql30
v4.3.2Dec 12, 2024wp-graphql-content-blocks.zip265
v4.3.2Dec 12, 2024schema.graphql20
v4.3.1Nov 14, 2024wp-graphql-content-blocks.zip205

Active-site estimate ≈1,350 comes from the median of recent superseded releases. Method.