Initially some time in 2020 I was looking for a way to trigger some custom actions when I put my Macbook Pro to sleep. I found someone asked this same question in 2011 on Apple Stake Exchange The best answer,…
needed a way to restrict publishing & saving draft posts (of any type) without a title. A quick internet search brought me to some decent responses on Stack Overflow, and one good one on Kellen Mace's site.
Handling "Not Found" Errors in the WordPress REST API when querying by slug. Use this to change not found empty arrays to a 404 status with response code.
How to: SVN to GIT Migration with History!
With the performance gains of running Plex Media Server via a network share (on our Drobo FS). The main hurdle I ran into is mounting a network share, is auto mount. Mac OSX and Windows really makes this stupid easy, but in Ubuntu, there is some config needed to auto mount a network share.
Over the past few weeks I’ve been rewriting my most popular WordPress plugin; Custom Login. It’s been at version 3.x for a little over a year when I rewrote the plugin at the end of twenty fourteen. Version 4 will…
Modify the permalink slug and archive URL for the All in one Event Calendar WordPress plugin without hacking at it's core files. A simple ai1ec rewrite.
Messed up featured images? Here is a code snippet to update every WordPress featured image in your posts.
Remove the Jetpack menu page for users who can't "manage_options" or any WordPress role you would like to set.
List all Blogs (sites) in a WordPress Multisite and show them in the WordPress admin bar.
A small code snippet to extend the admin body class inside the WordPress. Great for WordPress plugin and theme developers!
My PHP code snippet for creating a Custom Post Type in WordPress 3.x or greater