WordPress.org

Ready to get started?Download WordPress

Plugin Directory

PHP Snippets

Provides an interface for developers to easily add PHP code to posts and widgets via selectable shortcodes.

You can install this plugin in the standard way from the WordPress plugin admin screen, or you can download its files and upload the php-snippets folder to the /wp-content/plugins/ directory.

  1. Upload the php-snippets directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Create a new post or page
  4. Notice the new <?php button in the TinyMCE toolbar -- click it to get a list of available PHP Snippets, then select the one you want to insert it into your post.
  5. Optionally, configure your custom snippet directory under the Settings --> PHP Snippets directory and put in the /full/path/to/your/directory

Requires: 3.0 or higher
Compatible up to: 3.5.2
Last Updated: 2013-7-21
Downloads: 13,895

Ratings

4 stars
4.8 out of 5 stars

Support

1 of 3 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
0,1,0
100,2,2
100,2,2
100,1,1
100,1,1