I've been working on a WordPress Multisite installation that is going to eventually have upwards of 20,000 sites. Somewhere around the 50 …
Wordpress
Shared Uploads Directory in WordPress Multisite
If you're working with WordPress Multisite, you might encounter a scenario where you want all uploaded media to share the same folder. In my …
WordPress Multisite Domain Issues? You Might Be Forgetting to Call restore_current_blog
Recently, I created a WordPress Multisite installation on Amazon AWS Lightsail. I had this bizarre issue where my child sites were working, …
Creating a Custom WordPress REST API Endpoint That Can Accept Spaces
The WordPress REST API is one of my favourite features in WordPress. The ability to create custom endpoints for getting data and other …
Querying WordPress Multisite Sites With Meta Queries
WordPress documentation is usually robust. However, recently I had a use case where I needed to query sites by custom meta values. In …
Get Advanced Custom Field Options by Site ID in WordPress Multisite
Out of the box, Advanced Custom Fields offers immense power but provides no functions to work with WordPress Multisite sites. Fortunately, …
The Most Efficient Way to Bulk Delete Things in WordPress
What is the most efficient way to delete thousands of posts, custom post types, media attachments and other things in WordPress? The answer …
How to Get Authentication Working Using the Node WPApi Package
If you are working with WordPress version 5 and up, you might be using the REST API. I love the in-built REST API WordPress provides, …
How to Remove WordPress Menu Items (Including Those Created by Plugins)
WordPress comes with a lot of stuff out of the box. Throw in some plugins, and it gets even noisier. Next minute, your menu sidebar in admin …