Composer Autoloading within WordPress Plugin

A good way to begin using object oriented PHP classes is by writing everything in a single .php file. That’s completely fine for small WordPress projects. For large projects a single file quickly becomes a disorganized mess. I know from experience building CaptainCore. 🧐 Take a peak at this one gigantic PHP file before…

Removing Legacy ms-files.php from Multisite

I created the following script to automate removing ms-files.php from a legacy WordPress multisite hosted with Kinsta. It was a large network with hundreds of subsites. Doing this manually would have been a huge undertaking. Not familiar with ms-files.php? I don’t blame you. It was a legacy multisite format for handling uploads prior to…

Open Revenue with Calculate ARR

I meant what I said in “Open Source All Of The Things 📖”. Today I’m excited, maybe a little scared, to announce I’m making public Anchor Hosting’s internal revenue numbers. This is made possible with a new tool I created called Calculate ARR. Take a look: YNAB meets Baremetrics but for annual futurecasting.…

Cloudflare 1.1.1.1 with Google Cloud VM Instance

Cloudflare’s 1.1.1.1 is pretty amazing. If you haven’t seen it, you should check it out. It’s a DNS lookup service which is fast, free and private. It works across all of your devices. I recently had DNS issues on a Google Cloud VM: it was causing sporadic failures with my site monitor. I thought…

Is it a Good Idea To Sell WordPress Maintenance Services in 2019?

WordPress has some rough edges and requires routine maintenance in order to run smoothly. This is very comparable to your car 🚗 requiring regular oil changes. It has sparked an entire economy of businesses attempting to solve WordPress maintenance. From hosted maintenance tools like ManageWP, to 365/24/7 total maintenance plans like WP Buffs, to…

Multisite Optimizations and Jetpack Wrangling

Performance issues on a WordPress multisite installation can be a challenge to solve. Over the last few weeks I’ve been making various performance improvements on a rather large multisite network. The following is a recap of those optimizations using SSH and WP-CLI. Remove expired transients across network On a regular site a simple WP-CLI…

Safely Remove WP Offload Media from Legacy Multisite

WP Offload Media from Delicious Brains is a fantastic product. It allows you to offload WordPress’ media library to Amazon S3, DigitalOcean Spaces, or Google Cloud Storage. Recently I removed WP Offload Media from a legacy WordPress multisite. This is a recap of the steps I took. Extra complexity for an already complex site.…