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

Development version

  • You can download the development version here

1.51

  • Made pro feature free

1.50

  • Tested with WordPress 3.8.1

1.49

  • Tested with WordPress 3.8

1.48

  • Tested with WordPress 3.7.x

1.47

  • Fixed a PHP warning

1.46

  • Updated SimpleModal to version 1.4.4
  • Added clarification
  • Updated Dutch (nl_NL) and Flemish (nl_BE) translations

1.45

  • Added Slovak (sk_SK) translation

1.44

  • Bugfix: html entities (by Joe Pruett, thanks!)
  • Added Lithuanian (lt_LT) by Host1Free

1.43

  • Bugfix: added missing file

1.42

1.41

  • Bugfix: require manage_options capability when site activated on a multisite network
  • Note: PHP4 support will be dropped from the next release

1.39

  • Bugfix: require manage_options capability when site activated on a multisite network

1.38

  • New feature: option to disable wpautop
  • Updated support page
  • Updated Chinese (zh_CN) translation by Jie
  • Updated Dutch (nl_NL) and Flemish (nl_BE) translations
  • Updated Norwegian (nb_NO) translation by Stein Ivar Johnsen

1.37

1.36

  • Bugfix: PHP 4 compatibility

1.35

  • Bugfix: no EditArea on network sites

1.34

  • New feature: import/export (requires SimpleXML)
  • Updated Dutch (nl_NL) and Flemish (nl_BE) translations
  • Updated Norwegian (nb_NO) translation by Stein Ivar Johnsen
  • Tested with WordPress 3.3

1.33

  • Improvement: removed dependency on PLUGINDIR
  • Changed to minimum WordPress version 3.1
  • Updated Norwegian (nb_NO) translation by Stein Ivar Johnsen

1.32

  • Added Sustainable Plugins Sponsorship Network again
  • Updated Dutch (nl_NL) and Flemish (nl_BE) translations

1.31

  • Removed Sustainable Plugins Sponsorship Network

1.30

  • Bugfix: solved a few warnings

1.29

  • Bugfix: jQuery compatibility WordPress version 3.2

1.28

  • Improvement: added title to description field
  • Updated Dutch (nl_NL) and Flemish (nl_BE) translations

1.27

  • Improvement: added description field for TinyMCE

1.26

  • Bugfix: remove old shortcode definition when renaming
  • Bugfix: added stripslashes for shortcode name
  • Improvement: better example

1.25

  • Bugfix: menu when network activated

1.24

  • Bugfix: suppressing PHP warnings if ini_set disabled
  • Improvement: fixed some PHP notices
  • Improvement: trimming text input

1.23

1.22

  • Bugfix: compatibility with PHP 4

1.21

  • Bugfix: make sure required capability for authors is set
  • Fixed some PHP warnings

1.20

  • Bugfix: support for WordPress 3.1, tested and working now

1.19

  • Support for WordPress 3.1 network of sites (multisite)

1.18

  • Enhancement: case insensitive sorting of shortcodes
  • Better compatiblity with other TinyMCE buttons
  • New feature: shortcuts for jumping to shortcode definitions
  • New feature: required capability for authors to use shortcodes, see FAQ
  • Bugfix: shortcode processing in RSS feeds can be turned off now
  • Updated Dutch (nl_NL) and Flemish (nl_BE) translations
  • More donate buttons ...

1.17

  • Bugfix: made EditArea working on tools page
  • Bugfix: display toggle editor for new shortcode when not displaying initially
  • Bugfix: no scroll to top when enabling editor for new shortcode the first time
  • Extra security check for TinyMCE editor shortcode button popup
  • New feature: display last used shortcode attributes
  • Updated Dutch (nl_NL) and Flemish (nl_BE) translations

1.16

  • Added option to select required capability for TinyMCE button
  • Added tools menu entry for non-network sites
  • Updated Dutch (nl_NL) and Flemish (nl_BE) translations

1.15

  • TinyMCE editor button by default disabled for security reasons
  • Updated Dutch (nl_NL) and Flemish (nl_BE) translations

1.14

  • New feature: TinyMCE editor insert shortcode button
  • Updated Dutch (nl_NL) and Flemish (nl_BE) translations
  • Tested with WordPress version 3.1 RC 3

1.13

  • Added option to turn off code editor initially
  • Updated Dutch (nl_NL) and Flemish (nl_BE) translations
  • Fixed JavaScript error: initializing code editor on options page only
  • Tested with WordPress version 3.1 beta 1

1.12

  • Added separators between shortcode definitions
  • Fixed index after deleting shortcodes

1.11

  • Added option to make shortcodes global for multi user sites
  • Updated Dutch (nl_NL) and Flemish (nl_BE) translations

1.10

  • Support for multi user sites

1.9

  • Replaced ajax gets by posts

1.8

  • Using default PCRE configuration as minimum

1.7

  • Buffer output by default for new shortcodes
  • Minimum value of 100,000 for PCRE configurations

1.6.1

  • Added Farsi (fa_IR) translation by Hamid

1.6

  • Added options to configure PCRE

1.5

  • Using https transport when needed

1.4

  • 'I have donated' removes donate button

1.3.1

  • Added an option to disable html entitiy encoding
  • Updated Dutch (nl_NL) and Flemish (nl_BE) translations

1.3

  • Removed decoding/encoding of html entities

1.2.2

  • Added option to store css in upload folder

1.2.1

  • Constructor compatibility with PHP 5.3.3+

1.2

  • Added option to handle echoed output
  • Updated Dutch (nl_NL) and Flemish (nl_BE) translations

1.1

  • Using character encoding of menu Settings > Reading, normally UTF-8.

1.0

  • Added Dutch (nl_NL) and Flemish (nl_BE) translations
  • No complaints so far, updating to version 1.0

0.6

  • Added Revert button, which will undo unsaved/untested changes
  • Better error handling

0.5

  • Scrolling to top after loading EditArea´s
  • Disabling EditArea´s on test, save, etc.

0.4.1

  • More compatible ajax handling

0.4

  • Syntax highlighting
  • In-place add, update and delete of shortcodes (using AJAX)
  • Shortcodes can be tested in the administration backend

0.3

  • Only administrators can see options and shortcode definitions now
  • Shortcodes are sorted alphabetically in the administration backend

0.2

  • Added options to enable shortcodes in excerps, comments and RSS feeds
  • Added options to change width and height of PHP code textarea
  • Improved layout of options

0.1

  • Initial version

0.0

  • Development version

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

Ratings

4 stars
4.7 out of 5 stars

Support

2 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 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