WP-CLI batch edit thousands of posts at once

In this article, I will walk through how I made a bash script using WP-CLI to edit categories on thousands of posts at once, showing you the script at various stages of revision. Hopefully, this will demonstrate the problem-solving process, so that it may help you solve something like this quicker than me. The issue at hand One of my WordPress clients wanted to reorganise a bunch of their posts into different categories....

2019-09-30 · 12 min · 2545 words · Darren Kearney

Test Driving Gutenberg

Why write about writing in a different editor? I’ve got a few other blog posts lined up, but they need a lot more work. As WordPress is moving to use Gutenberg soon, I decided to take it for a spin. I don’t want to mess up my in-progress stuff using the beta version of it! This opinion post that is largely inconsequential, but I did encounter a bug. Luckily, the Gutenberg editor was stable enough to throw up a screen to prevent me from using it further, so no need to worry just yet....

2018-08-31 · 5 min · 1059 words · Darren Kearney