Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Code Snippets WordPress Plugin
PHP JavaScript CSS

Don't run composer self-update

(it is causing errors)
latest commit 3b8fa9d6d2
@sheabunge authored

README.md

Code Snippets Build Status

  • Requires at least: WordPress 3.6 or later
  • Tested up to: WordPress 4.2.2
  • Stable version: 2.3.0
  • License: MIT

Code Snippets is an easy, clean and simple way to add code snippets to your site. It removes the need to add custom snippets to your theme theme's functions.php file.

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 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 just as if they were in your theme's functions.php file.

Code Snippets provides graphical interface, similar to the Plugins menu, for managing snippets. Snippets can can be activated and deactivated, just like plugins. The snippet editor includes fields for a name, a visual editor-enabled description, tags to allow you to categorize snippets, and a full-featured code editor. 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

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

Translations

Code Snippets can be used in these different languages thanks to the following translators:

Something went wrong with that request. Please try again.