-
How To Correctly Size WordPress ImagesHow To Correctly Size WordPress Images
This is a bit of a minefield topic, as there are a lot of plugins and ‘solutions’ out there that require you to pay money or install bloated software to accomplish something WordPress is designed to handle.
10 October 2024 -
Hosting Updateable WordPress Plugins on GitHubHosting Updateable WordPress Plugins on GitHub
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.
3 October 2024 -
HTML Page Caching with WordPress & CloudflareHTML Page Caching with WordPress & Cloudflare
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.
9 August 2024 -
Remove the ‘Website’ field from the WordPress comment formRemove the ‘Website’ field from the WordPress comment form
How to remove and re-order the default comment form fields used in WordPress. In this post, I demonstrate removing the 'Website' field, and adjust the other form fields accordingly.
15 July 2024 -
How to block WordPress comment spam with CloudflareHow to block WordPress comment spam with Cloudflare
A little while ago I wrote a post titled ‘How to block Contact Form 7 spam with Cloudflare‘. This explained how I use Cloudflare’s WAF rules to prevent any spam form submissions coming through with the popular Contact Form 7 plugin for WordPress.
20 May 2024 -
Local PHP development with Docker ComposeLocal PHP development with Docker Compose
This post will cover how I host local copies of PHP websites running WordPress and Laravel with Docker Compose. This removes the need to install PHP, Composer, Nginx/Apache, MySQL, NPM/Node, etc locally on your host machine.
5 April 2024 -
Using WordPress via Composer: How and Why?Using WordPress via Composer: How and Why?
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.
11 January 2024 -
A Guide to Optimising Image Sizes in DiviA Guide to Optimising Image Sizes in Divi
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.
5 January 2024 -
Using Cloudflare R2 Buckets with WordPressUsing Cloudflare R2 Buckets with WordPress
Cloudflare R2 ‘…allows developers to store large amounts of unstructured data without the costly egress bandwidth fees associated with typical cloud storage services’.
2 January 2024 -
How to block Contact Form 7 spam with CloudflareHow to block Contact Form 7 spam with Cloudflare
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.
11 July 2023 -
Optimise Swift Performance 2 for Divi ThemeOptimise Swift Performance 2 for Divi Theme
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.
29 June 2023 -
Swift Performance AI Benchmarks & PerformanceSwift Performance AI Benchmarks & Performance
Caching plugins are critical for enhancing the speed and performance of a WordPress website. They work by storing a static version of your site and presenting this to your users, which significantly reduces server lag.
4 June 2023