You love code snippets.
Why wouldn’t you? They’re like mini plugins – all the functionality, none of the bloat. You can cherry pick the key features that you need and keep your site lean and mean.
However, code snippets aren’t perfect. Before long, your functions.php file can start to get rather packed and messy. It can be difficult to remember what snippets you have, and why.
It’s not quite as straightforward as your plugins list, is it? At least you can easily spot a no longer needed plugin and do away with it – it’s not so easy when it comes to code snippets.
But now it can be.
Introducing the Code Snippets Plugin
As the developer rather succinctly puts it, Code Snippets is a easy, clean and simple way to add code snippets to your site. It makes creating and managing code snippets a piece of cake.
You can add new code snippets by pasting them into the code box:
As you can see from the above screen shot, you can name the snippet, as well as give it a description.
All of the code snippets you add are easily managed in much the same way as you do with plugins:
If you’re a heavy (or even moderate) user of code snippets, this plugin is a must-have addition to your site.
To be quite honest, I think it would make a lot of sense for this to be added to WordPress by default. Code snippets are widely-used, and perhaps it is about time that a GUI such as that in Code Snippets was developed as part of a future WordPress update.