1. 8
    Expose Gutenberg Blocks to the REST API with the wp-rest-blocks Plugin
    2m 51s

Expose Gutenberg Blocks to the REST API with the wp-rest-blocks Plugin

Share this video with your friends

Send Tweet

We will expose the Gutenberg blocks to the REST API. Rather than having a single content blob, we now have the content split into blocks on the API. We can get accompanying data from each block and have more control when we render on the frontend.

This will be done by installing the wp-rest-blocks plugin. The catch here is that it isn't available in the WordPress plugin directory. We will need to download a zip from the wp-rest-blocks GitHub to then upload and activate in WordPress.