Shortcode Exec PHP
Using this plugin you can execute arbitrary PHP code using shortcodes in your posts, pages and optionally in your widgets, just like manually defined shortcodes. The shortcodes and associated PHP code snippets 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:
- Your posts, pages and widgets do not have to contain PHP
- PHP code snippets can be reused
- All PHP code is organized at one place
Please report any issue you have with this plugin on the support page, so I can at least try to fix it.