WordPress.org

Ready to get started?Download WordPress

Plugin Reviews

PHP Snippets

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

Average Rating
4 stars
4.8 out of 5 stars
5 stars
Excellent plugin
By ,

Works like charm on WP 3.8.3.

Thx for this very good plugin !

5 stars
simple, and it works for javascript too!
By , for WP 3.5.1

This plugin includes and executes the code you put in your snippets. I tried putting javascript in a snippet instead of php, and that worked fine, too! You still name the snippet file yoursnippetname.snippet.php; just don't use any php tags, instead, put your js in there with script tags and all.

Love how I, as the webmaster, have full control over the snippets (which are stored outside the website directory), while making it possible for my less web-savvy coworkers put the snippet they want where they want it on a page. See, this plugin provides a button in the visual editor to show you the list of snippet shortcodes, then choose and insert one.

In other words, this lets me protect my code from the bumbling of my coworkers, while giving them maximum flexibility in using that code wherever they want. I think this is going to be a mainstay on the site I'm building.

5 stars
Works like a breeze...
By , for WP 3.5

Smart and clean. Works flawlessly.

You must log in to submit a review. You can also log in or register using the form near the top of this page.