You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Shea Bunge ba07c937ad
Merge pull request #114 from nextdoorpanda/patch-2
1 week ago
css Merge branch 'v3' into develop 3 months ago
js Merge branch 'v3' into develop 3 months ago
languages Exclude translation template from repository 3 months ago
php Merge branch 'v3' into develop 3 months ago
screenshots Update banner 1 year ago
tests Properly call install bash script 2 years ago
.gitattributes Exclude generated files from diffs 3 months ago
.gitignore Add packaged pro plugin to gitignore 8 months ago
.travis.yml Merge branch 'v3' into develop 3 months ago
CHANGELOG.md Merge branch 'v3' into develop 3 months ago
MENTIONS.md Replace parser class with a code validation class 2 years ago
README.md Update README.md 1 week ago
code-snippets.php Merge branch 'v3' into develop 3 months ago
composer.json Merge branch 'v3' into develop 3 months ago
composer.lock Merge branch 'v3' into develop 3 months ago
gulpfile.babel.js Merge branch 'v3' into develop 3 months ago
license.txt Merge branch 'v3' into develop 3 months ago
package-lock.json Merge branch 'v3' into develop 3 months ago
package.json Merge branch 'v3' into develop 3 months ago
phpcs.xml Merge changes from v3 branch 1 year ago
phpunit.xml Attempt to allow PHPUnit testing to work on php5.6 and 7.0 1 year ago
readme.txt Merge branch 'v3' into develop 3 months ago
uninstall.php Merge changes from v3 branch 1 year ago
webpack.config.js Replace browserify with webpack 8 months ago

README.md

Code Snippets Build Status

Code Snippets is an easy, clean and simple way to run code snippets on your site. It removes the need to add custom snippets to your 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 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 site, either in JSON 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, or join the community on Facebook.

If you like this plugin, or it is useful to you in some way, please consider reviewing it on WordPress.org.

Translations

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