WordPress.org

Plugin Directory

!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Code Snippet Library

Store a library of reusable code snippets that you can add to any post. Supports 61 programming languages.

Usage

Simply add your snippet, select its programming lanugage and then paste the supplied shortcode into any post where you want it to appear. You can also insert your shortcodes using the toolbar button in the editor.

Go to Code Snippets > Settings to modify the themes that your snippets will use - you can select different themes for the admin and front-end displays.

If you would like to execute the code in the snippet on the page (only works for PHP, HTML, CSS & Javascript) simply add 'execute="yes"' as a parameter to the shortcode. Be VERY careful with this as executing PHP script this way is not recommended.

Requires: 3.0 or higher
Compatible up to: 4.0.13
Last Updated: 2 years ago
Active Installs: 900+

Ratings

4.2 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
50,2,1
100,1,1
100,1,1