WPDistro Code Snippets
Manage share and download code snippets with other people. Contribute to the community of WP developers and let them download the amazing hacks on your WordPress.
by WPDistro · github.com/mozkomor05/wpd-code-snippets · website
★ 3stars
340release downloads
≈20active sites
2forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/mozkomor05/wpd-code-snippets/releases/download/v1.2.0/wpd-code-snippets.zipFrom the readme
WPDistro Code Snippets
Based on: Amazing Code Snippets by Shea Bunge
Requires at least: PHP 7.0 or later
Stable version: 1.0.0
License: MIT
Table of Contents
1. Introduction
- Remote database
- Macros
2. Installation
5. Issues
6. Contributing
7. Copyright and attribution
Introduction
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 can be activated and deactivated, just like plugins. The snippet editor includes fields for a name, a visual editor-enabled descriptio
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v1.2.0 | Dec 7, 2021 | wpd-code-snippets.zip | 283 |
| v1.1.0 | Nov 24, 2021 | wpd-code-snippets.zip | 24 |
| v1.0.1 | Nov 10, 2021 | wpd-code-snippets.zip | 18 |
| v1.0.0 | Nov 7, 2021 | wpd-code-snippets.zip | 15 |
Active-site estimate ≈20 comes from the median of recent superseded releases. Method.