Archives: Gutenberg Blocks

How to Use Reusable Blocks when Building a Block Template in a Custom Post Type Follow-up

How to Use Reusable Blocks when Building a Block Template in a Custom Post Type Follow-up

When I wrote the post on reusable blocks in a Custom Post type, I thought I had everything working. Unfortunately, I discovered a bug! While the reusable block seemed to load and work perfectly, once the post was saved and reloaded, an error occurred: The work around is to immediately edit and save the blockHow to Use Reusable Blocks when Building a Block Template in a Custom Post Type Follow-up See the full project…

How to Use Reusable Blocks when Building a Block Template in a Custom Post Type

How to Use Reusable Blocks when Building a Block Template in a Custom Post Type

One of the great features of the Gutenberg editor, is the ability to create a reusable block. Reusable blocks are very powerful in that they allow you to create a block that can be used in multiple places and look and behave the same way no matter where that block is used. Plus, when youHow to Use Reusable Blocks when Building a Block Template in a Custom Post Type See the full project…

How to Build a Gutenberg Block with Advanced Custom Fields and Custom Posts Types

How to Build a Gutenberg Block with Advanced Custom Fields and Custom Posts Types

09/13/2021 – This article is out of date. Please see https://deliciousbrains.com/advanced-custom-fields-wordpress/ Bill Erickson describes the process of building a block with Advanced Custom Fields in his post Building a block with Advanced Custom Fields. I wanted to take his excellent post a bit further and describe how to do this for a custom post type.How to Build a Gutenberg Block with Advanced Custom Fields and Custom Posts Types See the full project…