Hosting Updateable WordPress Plugins on GitHub

Hosting Updateable WordPress Plugins on GitHub

Introduction If, like me, you enjoy writing custom plugins for WordPress, you may know the daunting feeling of managing the versions of your plugins across many websites. While you can use a PHP package manager like Composer for your plugins, this isn’t appropriate for most WordPress deployments. For most, using WordPress’ interface to install and […]

Testing Laravel & Livewire in Github Actions

Testing Laravel & Livewire in Github Actions

The Issue We’re Resolving When running a Laravel test suite with Livewire components, the default workflow file provided by GitHub for Laravel likely won’t pass. When using their default config, I was presented with errors such as this: The test in question was simply checking if the component was rendered when a certain page was […]

HermitClock development, August 2024

HermitClock development, August 2024

Introduction Since my last update, I’ve been working through a sprint of development with two key objectives: 3D-Rendered Minecraft Skins Previously, there was just a static image of the Hermit on the top-left. While this was fine, I had a few people mention to me that they thought it would have moved. By using a […]

HTML Page Caching with WordPress & Cloudflare

HTML Page Caching with WordPress & Cloudflare

HTML Caching vs Static Asset Caching If you use Cloudflare to proxy your website, you can take advantage of their various caching services. The most common one is static asset caching. Static asset caching refers to media such as images, CSS files and Javascript files. Between deployments and page reloads, these assets typically don’t change, […]

HermitClock development, July 2024

HermitClock development, July 2024

Introduction Since my last update, HermitClock has been going strong and steady. In fact, I’d taken a bit of a break from HermitClock development throughout June to focus on redesigning and rebuilding my website. Now that the dust has settled, I’m ready to return to HermitClock to add some new and exciting features. Before anything […]

Remove the ‘Website’ field from the WordPress comment form

Remove the ‘Website’ field from the WordPress comment form

Introduction The default WordPress comment form contains the following fields: I’m not a fan of the website field, especially since it’s optional anyway. As such, I like to remove it from my blogs. This is a 3-step process: Remove the Website Field This code snippet uses the comment_form_default_fields hook to remove the url field from […]

Rebuilding a Divi website with a custom Block Theme

Rebuilding a Divi website with a custom Block Theme

Introduction Before the 4th of July 2024, my website (yes, this one) exclusively used the popular WordPress theme Divi. You can read more about this build here. I’ve had a love-hate relationship with Divi over the years. When I was first learning the ropes of WordPress, I found Divi to be an excellent tool to […]

YouTube API with Laravel & Guzzle Http

YouTube API with Laravel & Guzzle Http

I felt that my minimal, PHP YouTube client was worth sharing. If you’re looking to do something similar, interacting with the YouTube API via PHP, then look no further.

Add a Honeypot to Livewire Volt Forms

Add a Honeypot to Livewire Volt Forms

What are Livewire and Volt? Livewire allows you to build ‘Powerful, dynamic, front-end UIs without leaving PHP’. For me, as a PHP fanboy, it’s quickly becoming my bread and butter for creating reactive components all within the comfort of my own backyard. Livewire Volt is a package you can use on top of Livewire, described […]

HermitClock development, May 2024

HermitClock development, May 2024

Following on from my recent post covering the success of hermitclock.com, I’ve decided I’d like to keep a record of the work I’m doing on the website. This will showcase the work that’s been carried out, as well as upcoming features that I have planned. Without further ado, let’s jump in! What’s new? HermitClock has […]