wordpress插件之Code Snippets

Code Snippets的作者是Code Snippets Pro,目前有200,000+个有效安装。已经Tested with 5.4.1版本的wordpress。

Code Snippets is an easy, clean and simple way to run PHP 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 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 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.

If you’d like to contribute to the plugin’s code or translate it into another language, you can fork the plugin on GitHub.


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

Danish – Finn Sommer Jensen
French – momo-fr and Shea Bunge
Belarusian – Hrank.com
Brazilian Portuguese – Bruno Borges
French (Canada) – Dominic Desbiens
Indonesian – Jordan Silaen from ChameleonJohn.com
German – Mario Siegmann, Joerg Knoerchen, and David Decker
Dutch – Sander Spies
Slovak – Ján Fajčák
Russian – Alexander Samsonov
Chinese – Jincheng Shan
Croatian – Borisa Djuraskovic from Web Hosting Hub
Japanese – mt8

微慕WordPress小程序商城 » wordpress插件之Code Snippets


立即查看 了解详情