Let’s code!

As a full-time sponsored member of the WordPress Training Team at Automattic, one of the things I get to do is host weekly online coding workshops for Learn WordPress. I’ve labeled these workshops “Let’s Code” as I typically live code a solution to something during the hour.

This page is a collection of my Let’s Code online workshops, which are all available on WordPress.tv.

Creating your first child theme for WordPress
Creating your first plugin
The WordPress Shortcode API
An introduction to Block Development
Using the create-block Tool to scaffold your first block
Converting a Shortcode into a Block

Latest Posts

  • A beginners guide to testing your existing Laravel application

    Last night I gave a talk at the Cape Town PHP Meetup introducing the concepts of testing an existing Laravel application. As I did not have time to prepare slides, here are the links to the relevant items I discussed in the talk. Confident Laravel (course, highly recommended) Grumpy Learning (course and books, also recommended) […]

  • Taking a break from my WordPress community activities


    It’s a funny old world. Over the course of the past few years I’ve seen a lot of people take a step back from contributing to WordPress, and I never thought I would get there. But here I am, writing about taking exactly such a break. When I joined the WordPress community back in early […]

  • WordPress Plugin Development Best Practices

    This morning I presented a workshop at WordCamp Johannesburg. Here are the slides for that workshop Here is the GitHub repository If you want to see the updated plugin code, with the security fixes, you’ll need to switch to the feature/more-secure-plugin branch.

  • The Process of Writing

    The Process of Writing

    The general recommendation to becoming a better writer, is to write every day. Besides high school creative writing, I am mostly a self taught writer. I’ve never completed any official copy-writing courses, even though I have three purchased on Udemy from about 2 years ago. I generally don’t understand the finer details that would take […]

  • The two worst things you can say to your freelancer.


    I’ve been freelancing full time for just over three years now, having spent 10 years developing for either digital agencies or small to medium sized businesses, in various roles. In the 3+ years since I switched to freelance development, the two sentences that I’ve heard/read the most from clients, and the ones that illicit the […]

  • A Quick Hack to Writing Testable Code

    Write Testable Code

    I’ll be the first to admit that I am fairly inexperienced in the practical application of unit testing, or any kind of automated testing. That’s not to say I don’t understand what these things are. I was first exposed to the concept of unit tests back in 2008 and automated browser testing in around 2012. […]

  • Unit Tests for your WordPress plugin using WP CLI and PHPUnit

    Unit Tests for your WordPress plugin using WP CLI and PHPUnit

    Often when I write a blog post, part of the reason I write it is to document things that I tend to forget. This is one of those times. Requirements: PHPUnit: At the time of this writing, WordPress only supports the latest stable 7.x version of PHPUnit, and recommends installing it globally. wget https://phar.phpunit.de/phpunit-7.5.9.phar chmod […]

  • Travelling the web on the WordPress HTTP API


    At WordCamp Europe 2019 in Berlin, I was accepted to present a workshop, which was on the WordPress HTTP API. Unfortunately we had some WiFi issues, and not all the attendees were able to complete the workshop. Also, there were some folks who were not able to attend at all, due to the workshop being […]

  • The Answer to Life, The Universe, and Everything.

    Don't Panic

    Today, I turned 42. If you’re a fan of sci-fi, specifically Douglas Adam’s “Hitchhiker’s Guide to the Galaxy”, you’ll understand both the importance of this number, and the reference in the title. I do think it’s sort of apt that the number 42 was used in this context. When I hit 40 I felt good […]