• Skip to primary navigation
  • Skip to main content
Sal Ferrarello
  • About Sal Ferrarello
  • Speaking
  • Connect
    Mastodon GitHub Twitter (inactive)
You are here: Home / Archives for Templates

Templates

Building block car with extra pieces nearby

Make Your WordPress Plugin Easy to Extend

Last updated on October 14, 2017 by Sal Ferrarello

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 […]

Filed Under: Dev Tips, Programming Tagged With: Templates, WordPress Filter, WordPress Plugin

Wall of Masks

Overridable Templates in Your WordPress Plugin

Last updated on October 14, 2017 by Sal Ferrarello

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 […]

Filed Under: Dev Tips, Programming Tagged With: Templates, WordPress Plugin

Copyright © 2023 · Bootstrap4 Genesis on Genesis Framework · WordPress · Log in