Add JavaScript to WordPress Without a Plugin (3 Safe Ways)

Adding a little JavaScript to your WordPress site? The default suggestion is “install a plugin.” For a ten-line snippet, this is madness. Every plugin is another point of failure, another bit of bloat that can slow down your page, and another task to update.