Big Ugly Blobs When WordPress saves Gutenberg blocks to the database, it smashes them together as a string of markup. When you query that via the REST-API or WPGraphQL? You get this big ugly blob of HTML: The screenshot above isn’t that...
Read More Quick Tip: Gutenberg Blocks as JSONTag: blocks
WordPress Blocks Backwards Compatibility
When I narrowed my development career focus from the PHP world at large to WordPress land, one of the things I enjoyed was WordPress’ commitment to backwards compatibility. As my fellow Minnesota coworker and pragmatist, Richard Aber, would say, new features are...
Read More WordPress Blocks Backwards CompatibilityHow to Enable Frontend Editing with Gutenberg Blocks (Part 2)
Welcome back! In Part 1, we covered preparing our block for frontend editing by implementing unique block identifiers, rendering the block dynamically, and establishing a frontend component. Now, we’ll dive into the WordPress REST API to set up a custom route and...
Read More How to Enable Frontend Editing with Gutenberg Blocks (Part 2)