WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Shortcode Exec PHP

Execute arbitrary, reusable PHP code in posts, pages, comments, widgets and RSS feeds using shortcodes in a safe and easy way

This plugin is not supported anymore

Using this plugin you can execute arbitrary PHP code using shortcodes in your posts, pages, comments, widgets and RSS feeds, just like manually defined shortcodes. The shortcodes and associated PHP code are defined using the settings of this plugin. It is possible to parse and use shortcode parameters and to use shortcode content. Defined shortcodes can be deleted and disabled.

Advantages over other solutions:

  1. Your texts do not have to contain PHP code
  2. PHP code can be reused (by reusing the shortcode)
  3. All PHP code is organized at one place
  4. Syntax highlighting
  5. You can test your PHP code before using it
  6. Import/export of shortcode definitions

For those concerned about security (hopefully everybody): only administrators can define shortcodes and associated PHP code (see also the FAQ).

See my other plugins.

Requires: 3.1 or higher
Compatible up to: 3.8.3
Last Updated: 2014-4-18
Downloads: 214,538

Ratings

4 stars
4.7 out of 5 stars

Support

2 of 4 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 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 100,3,3
100,1,1
100,1,1 83,6,5 100,4,4 100,1,1 100,1,1 100,1,1 100,1,1 50,2,1 100,2,2
100,2,2
100,2,2
0,1,0
100,2,2 0,1,0 67,3,2 50,2,1 100,1,1
100,3,3 100,1,1
100,2,2 100,1,1
100,4,4 100,2,2
100,1,1
100,3,3
100,2,2 93,14,13 100,3,3 100,1,1 100,5,5 100,1,1 100,1,1
100,4,4 100,2,2
100,8,8 90,10,9 100,1,1 100,1,1
100,1,1 100,11,11
100,5,5 100,3,3
83,6,5
100,1,1
100,1,1
100,3,3
100,2,2
100,1,1
100,5,5
100,5,5