Ready to get started?Download WordPress

Plugin Directory

Code Snippets

An easy, clean and simple way to add code snippets to your site.

Code Snippets is an easy, clean and simple way to add code snippets to your site. No need to edit to your theme's functions.php file again!

A snippet is a small chunk of PHP code that you can use to extend the functionality of a WordPress-powered website; essentially a mini-plugin with a lot less load on your site. Most snippet-hosting sites tell you to add snippet code to your active theme's functions.php file, which can get rather long and messy after a while. Code Snippets changes that by providing a GUI interface for adding snippets and actually running them on your site as if they were in your theme's functions.php file.

You can use a graphical interface, similar to the Plugins menu, to manage, activate, deactivate, edit and delete your snippets. Easily organize your snippets by adding a name and description using the visual editor. Code Snippets includes built-in syntax highlighting and other features to help you write your code. Snippets can be exported for transfer to another side, either in XML for later importing by the Code Snippets plugin, or in PHP for creating your own plugin or theme.

Although Code Snippets is designed to be easy-to-use and its interface looks, feels and acts as if it was a native part of WordPress, each screen includes a help tab, just in case you get stuck.

Further information, documentation and updates are available on the plugin homepage. You can also contribute to the code at GitHub.

If you have any feedback, issues, or suggestions for improvements please leave a topic in the Support Forum. If you like the plugin, or it is useful to you in any way, please review it on WordPress.org.

Requires: 3.3 or higher
Compatible up to: 4.1.1
Last Updated: 2015-2-25
Downloads: 57,604


4.8 out of 5 stars


4 of 7 support threads in the last two months have been resolved.

Got something to say? Need help?


Not enough data

1 person says it works.
0 people say it's broken.

100,1,1 100,1,1
100,2,2 100,2,2
100,1,1 67,3,2 100,1,1 100,3,3 100,3,3 100,6,6 100,1,1
25,4,1 100,1,1 100,2,2
75,4,3 67,3,2 100,1,1
100,1,1 100,1,1 100,1,1