Blog Posts

  • How To Insert Blocks In WordPress Block Editor

    How To Insert Blocks In WordPress Block Editor

    How to inserta block to the WordPress post editor, using JavaScript.

    Read more

  • New From Plugin Machine: Josh As A Service

    New From Plugin Machine: Josh As A Service

    New product offerings from Plugin Machine. Get help building a WordPress plugin or improving your existing WordPress site.

    Read more

  • Using Plugin Machine To Build Zip Files of WordPress Plugins With Github Actions

    Using Plugin Machine To Build Zip Files of WordPress Plugins With Github Actions

    Testing WordPress plugins, before they are released is super important. While I’m a big fan of automated testing, that doesn’t mean you don’t need manual testing. If your plugin uses modern tooling and has a PHP and/ or JavaScript build tooling, it’s not easy to get a development version of the plugin for testing. That’s…

    Read more

  • What To Test First

    What To Test First

    When I talk about writing automated tests for WordPress plugins with other developers, I often hear that they’re not sure what to test first. I find the uncertainty around what to test first is a major blocker for writing tests. This post will address this concern. The other two big concerns I hear about are…

    Read more

  • Building A WordPress Block Plugin To Show A Custom Field

    Building A WordPress Block Plugin To Show A Custom Field

    Last night, I was looking at my phone a lot later than I should have been. I should have been stretching, but instead I was on twitter, saw this tweet, asking if there is a way to show a custom field in WordPress’ block editor: Before I shut my phone off, I replied: 🌲Generate a…

    Read more

  • Creating Installable Zip Files Of WordPress Plugins With Plugin Machine

    Creating Installable Zip Files Of WordPress Plugins With Plugin Machine

    Plugin Machine helps WordPress plugins with both development and delivery of WordPress plugins. The Plugin Machine CLI can be used for creating automated, predictable “production” ZIP files that are ready to be installed on a WordPress site. In the past, when I’ve been tasked with creating production ready ZIP files for WordPress plugins it’s often…

    Read more

  • Using Laravel’s Container In A WordPress Plugin

    Using Laravel’s Container In A WordPress Plugin

    A common pattern in WordPress development is to have one “Plugin” class, that implements the singleton pattern, and has an instance of each class the plugin uses sets in properties. The first time the singleton is called, all of the classes are loaded and the important hooks are set. That’s a lot of responsibilities. Modern…

    Read more

  • Plugin Machine Update: Mid January 2022

    Plugin Machine Update: Mid January 2022

    New Plugin Machine features and videos. Several ways to make WordPress plugin development easier and faster.

    Read more

  • Plugin Machine Update: Early Access!

    Plugin Machine Update: Early Access!

    If you’ve signed up for the early access email list, check your email, there is a special invite for you there. If you’re not on the list yet, sign up using the form at the bottom of this post, and you will get an invite soon. When its fully ready, Plugin Machine will help you…

    Read more

  • Plugin Machine Update: Beta 3

    Plugin Machine Update: Beta 3

    Today I made the third beta update available for beta testers. This is an update I was working on for over a month now. It represents incorporates feedback from beta testers and conversations I’ve been having with WordPress plugin developers and community members. Plugin Machine is a tool for making plugin development easier, faster and…

    Read more