As a WordPress developer it is a painful (and all too familiar) feeling of angst, when I find a plugin that does almost exactly what I want but the author has left no way for me to modify the behavior without changing their code. Don’t Hack Core (or plugins) A popular refrain in WordPress developer […]
Templates
Overridable Templates in Your WordPress Plugin
There are many WordPress plugins that allows you to provide your own template in your theme that overrides the default template (e.g. WooCommerce). I’d like to look at how you can add this functionality to your own plugin. Default Template For demonstration purposes I’ve created a WordPress plugin called the Raptor Button plugin. This plugin […]