Writing PHP, CSS, and HTML5 to modify a WordPress site can get pretty frustrating, but a good guide can make it easier. This is not that guide. This is just about how to add the code to your site once it’s already done. Don’t worry, though – that’s just as important. As there are quite a few ways to go about it, it helps to know the differences between the various options. But first, two warnings: Before you modify anything, back it up. In fact, keep backing up your work throughout the process. It also helps to have a separate file to paste discarded or soon-to-be-used code snippets into. If you installed someone else’s theme, never add code to your …

Originally posted here:

How to Add Custom Code to Your WordPress Site (It’s Easier Than You Think!)