Editing Source Code in WordPress

You don’t want to edit core WordPress code. You don’t need to edit core WordPress code to do what you need to implement.

First, you need to study the WordPress templating (i.e. Theme) functionality. Then, you need to study Plugins and the WordPress Hooks API, including its Action Hooks and its Filter Hooks.

To do what you’re describing, you definitely don’t need to modify core files. You just need to enqueue the appropriate script library, and then execute the script in your template.

Leave a Comment