Provides an interface for developers to easily add PHP code to posts and widgets via selectable shortcodes.
This plugin is officially retired, and it is not recommended for new installs.
This plugin allows developers to easily add PHP code to their posts and widgets. All .snippet.php files contained in the configured directory will be executable via a corresponding [shortcode]. For example, a file named my-code.snippet.php can be executed by adding a [my-code] shortcode to your post content. The source directory is configurable: you can put it anywhere on your server that you wish, e.g. you can enhance the security of your code by storing it outside your server's document root.
By keeping all the PHP code in PHP files, you ensure that your WordPress posts and pages remain clean. All available shortcodes are listed when the user clicks a custom TinyMCE button.
See the Project Home Page for more information. This plugin requires PHP 5.2.6 or greater.
This plugin can save you from writing lots of other plugins because you can easily tie into PHP files without having to register your own plugins.
WARNING: this has not been tested on Windows servers. Sorry, but I don't have access to one, so I've been unable to tune the permissions checks.
Requires: 3.0 or higher
Compatible up to: 4.1.0
Last Updated: 8 months ago
Active Installs: 2,000+
Got something to say? Need help?