Are you struggling with how to add code snippets to WordPress?
Code snippets unlock a whole heap of helpful functionality…but sometimes it seems like developers just magically expect you to know where to put each code snippet, right?
And because digging into source code is a serious thing, you definitely don’t want to trip up and accidentally make a mistake…
To help you avoid that unfortunate circumstance, I’m going to cover two things in this post:
- Where to add those code snippets you see flying around the WordPress community
- How to safely add those code snippets so that they don’t mess up your site and you won’t accidentally lose them if you update your theme (or switch themes)