Where to Put Custom Code for Your Website in WordPress

This post was originally published on this site
Whenever you need to add custom code to your WordPress site, the typical recommendation is to put it in the theme’s functions.php file. I don’t like doing that as it’s easy to forget to copy-paste that code to the new theme when it’s time to a refresh. Moreover, if done in that manner, you don’t have the ability to switch on or off certain functions. The solution for me has been the following plugins:.


Continue reading...

Leave a Reply

Your email address will not be published. Required fields are marked *