Simpler WordPress gallery

Published February 25th, 2023 under Misc

Simplify WordPress gallery code with a snippet that converts it to an unordered list. Check it out at on my Simpler WordPress gallery code page.

More Gutenberg junk

Published January 29th, 2023 under Misc

It seems that every once in a while, I need to disable more Gutenberg rubbish messing with WordPress websites. Here is an updated Gutenberg junk removal script.

Disable Gutenberg junk in SVN trunk!

Published October 12th, 2022 under Misc

WordPress keeps adding more code junk, even when you aren’t using the WordPress block editor. Thankfully this is something which is trivial to fix.

str_contains()

Published January 16th, 2022 under Misc

A simple shim function to make the super useful str_contains() function from PHP 8 work in older versions of PHP.

Legal LSD

Published July 16th, 2021 under Misc

There has been a recent trend to buy “Legal LSD”. Many assume they are buying actual real LSD, but they are not.

Gutenberg junk revisited

Published February 13th, 2020 under Misc

Almost two years ago, I wrote a post called Disable Gutenberg junk about how to remove extraneous junk CSS added via the Gutenberg plugin.

Creating fake WordPress pages

Published August 2nd, 2018 under Misc

Sometimes you may need to create a fake page within WordPress, which doesn’t actually exist. You could make a real page, then add a shortcode into it for addition of dynamic content. But this could confuse the site owners, and it’s just generally a bit […]

Using WP CLI to run Cron jobs on multisite networks

Published January 29th, 2017 under Misc

I wrote a simple bash script which grabs all sites on a multisite network, then loops through and runs all the due WP Cron tasks for each individual site.

Cap cam

Published July 28th, 2016 under Misc

I am the hipster of helmet cams, but now I have “cap cam” 🙂 I just sticky taped my camera to my running cap to test out the Microsoft Hyperlapse software.