Using WordPress via Composer: How and Why?

Introduction For my website, jackwhitworth.com, I’ve embraced Composer. The main reason for this choice is the ease of managing custom code. By using Composer, I can easily integrate version control and pull in other packages I’ve written from custom Composer repositories. This approach ensures that the site remains efficient, secure, and easily updatable. In a […]

A Guide to Optimising Image Sizes in Divi

Introduction Within web design, images are central to user experience. However, unoptimised images can significantly slow down your website. For Divi users, fine-tuning image sizes can vastly improve site speed and performance. This guide dives deep into how you can optimise image sizes in Divi, ensuring your website remains visually appealing without compromising on speed. […]

Compile Python to .exe Files With PyInstaller

Introduction If you’re delving into the world of Python programming, you might find yourself needing to convert your Python scripts into executables (.exe) files, especially for ease of distribution among Windows users. A popular tool for this task is PyInstaller, but there are a few key points and nuances to be aware of during this […]

Run NPM & Composer in Git Deployment Actions

What are Git additional deployment options in Plesk? Within Plesk, you can set up a website to pull its code directly from a Git repo. By using webhooks, you can have Plesk automatically pull new versions of the project whenever commits or merges are made to the main/target branch. This way, when you deploy your […]

Using Cloudflare R2 Buckets with WordPress

What is Cloudflare R2? Cloudflare R2 ‘…allows developers to store large amounts of unstructured data without the costly egress bandwidth fees associated with typical cloud storage services’. It is essentially the same service as Amazon’s S3 storage buckets, but with the key selling points of having a really generous free tier and being overall cheaper […]

Use Cloudflare SSL Certificates with Plesk

Introduction I use Plesk to manage all of my websites on a secure VPS. Along with this, I use Cloudflare’s CDN to help boost speed and security. A nice feature within Plesk is its integration with Let’s Encrypt’s free SSL certificates. This allows certificates to be generated automatically with a validity period of 3 months. […]

Host your Emails while using Cloudflare’s DNS

Introduction In this post, I will show you how to set up your DNS within Cloudflare so that you can utilise Cloudflare’s CDN for your website whilst hosting your emails. This post assumes you already have your emails set up and hosted so that they can work when Cloudflare isn’t in use or the DNS […]

How to block Contact Form 7 spam with Cloudflare

Why not use reCaptcha? When it comes to combating spam in Contact Form 7, the go-to solution for many is Google’s reCaptcha. With its affordability, ease of setup, and non-intrusive nature, reCaptcha v3 seems like a reliable choice. However, there have been instances where reCaptcha has caused unexpected issues for users attempting to submit forms. […]

Optimise Swift Performance 2 for Divi Theme

What is Divi and Swift, and what is our goal? I use the Divi theme for the majority of my WordPress websites. It’s well-supported, widely used, and actively developed, and it makes it easy for someone like myself who isn’t a front-end developer to produce modern websites with minimal headaches. The biggest downside of the […]

View and dequeue excess scripts in WordPress

Introduction One of the larger issues with WordPress, in my opinion, is the amount of bloat that it delivers from page to page. This happens because WordPress software is distributed as Plugins and Themes that tend to ship with a larger functionality than each user may require. Additionally, WordPress enqueues scripts without prejudice on most […]