Musings on web, technology, worklife and more.

  • Guesting on the Gutenberg Times podcast

    I appeared on the Gutenberg Times podcast to discuss: WordCamp Europe. The roadmap for Gutenberg 6.1. Gutenberg 13.4. The full episode is embedded below if you’d like to listen and if you don’t already, then I recommend subscribing to the podcast:

  • Presentation: Gutenberg Now, Next and How to use it better today

    I recently gave a presentation to the folks over at Cornershop Creative about Gutenberg. The full video of the presentation, including a 30mins Q&A, is available below: I’ve also included my slides in case these are useful:

  • Resources for creating curated experiences with the WordPress block editor

    I’ve been diving into how to provide a more curated experience for people using the WordPress block editor. Here follows a (growing) set of useful resources and links that provide solid info on how to better go about this: Ryan Welcher has a great Plugin providing examples of template and block level locking. Anne McCarthy … Continued

  • I started a YouTube channel!

    Since the start of 2022 I’ve been quietly working on a new WordPress Gutenberg YouTube channel focused primarily on developers around the block editor. If you are interested in finding out more why not check out my latest video which covers WordPress 6.0 features.

  • What are controls and resolvers in WordPress Core Data

    The @wordpress/core-data package can be fairly intimiating. I spent a while a couple of months ago trying to wrap my head around it – especially the way side effects are managed via controls (and the accompanying concept of resolvers). Whilst WordPress Core Data is moving away from this model and towards thunks, it’s likely the … Continued

  • Setting default WordPress Editor Block Templates via PHP from Block Grammar

    Update: after some research it appears it is not currently possible to use block grammar in the template of a post. Therefore the contents of this post should be treated as experimental and will not work in production. Hopefully in the future we can update Gutenberg to support the suggested approach. WordPress allows you to … Continued

  • Mocking @wordpress/api-fetch in Gutenberg unit tests

    Learn how to easily mock out and control `@wordpress/api-fetch` in your unit tests,

  • Testing the Gutenberg Widgets Editor for WordPress 5.8

    WordPress 5.8 promises to bring an overhauled, block-based Widgets screen to WP Admin. I decided to give it a spin by following the recent call for testing instructions. Here’s what I found.

  • Mocking WP_Http in WordPress PHP Unit tests

    If you write automated tests for your PHP code (and you should try!) you’ll often find yourself needing to mock/stub calls to pieces of code that are not under test. With WordPress, our unit tests tend to be more akin to integration/functional tests where we’re testing that several pieces of interrelated code work well when … Continued

  • Automatically delete your Amazon Alexa voice recordings

    Many of your will have a version of Amazon’s Alex home voice assistant speaker (aka “smart speaker”). You’re also probably aware that Amazon records a lot of what you say to Alexa – nearly everything in fact! If you are even remotely security conscious or concerned about your privacy you’d probably rather avoid this happening. … Continued