Posts about WordPress plugin
How to ensure that you don’t lose content or functionality when switching to a new WordPress Theme.
I provide a free public Github repository containing example code for starting work on a WordPress plugin, which uses PHP namespaces.
I occasionally have a need to divert file requests on a website to a PHP script. By doing so, I can determine whether the visitor may access it, see whether an image should have a watermark automatically applied, or notify an administrator that a PDF has been viewed or downloaded. The easiest way to do…
There are many copy-and-paste examples of how to write your own functions and apply them through WordPress’ hooks and actions. But with a little simple knowledge of PHP’s namespace syntax, developers who regularly work on WordPress projects can make their lives a lot easier, whilst making their code much more robust, portable and secure. The first thing to…
“Comment spam” is a term which relates to automatically-generated website comments. People with too much time on their hands make software to submit to websites like mine. It’s then down to me to ensure that the nonsensical or downright abusive comments don’t appear on my website, and that my email inbox doesn’t get swamped with…
In an effort to share more of my work with the open source community, I’m gradually starting to submit more plugins to the WordPress Plugin Directory. The latest addition, approved recently and made public today, is a plugin which extends the backend list view with a small thumbnail-sized preview of the post thumbnail (where one is…
A technical goal for 2016 is to make more WordPress plugins, and to submit them to the official WordPress plugin repository, so that other users can benefit from them. The next addition to the set of plugins I’ve contributed is a simple one to add fields to the Settings » Media screen in the WordPress backend for Flickr…