Allow PHP in posts and pages allows you to add php functionality to WordPress Posts and Pages
Allow PHP in posts and pages adds the functionality to include PHP in your WordPress posts and pages by adding a shortcode [php] your code [/php]
This plugin attempts to strip away the automatically generated wordpress <p> and <br/> tags but still allows the addition of your own <p> and <br/> tags using a form of BBcode items such [p][/p] and [br /]
You can also save your most used bits of code as snippets for use across multiple pages.
With Version 2.2, the older tag replacement system has been revamped, hopefully reducing the need to escape some characters for example: [ and ] that shouldnt be changed < and >
With Version 2.3 comes an experimental advanced filter feature which allows you to use standard php code while taking advantange of variables thoughout the entire post content, and functions, as well as no pesky tag replacement.
With Version 3 comes entirely re-written code with support for code snippets being used in conjunction with the advanced filter feature as well as a class variable to share variables between saved snippets and code blocks. This version also comes with UI updates.
Requires: 2.5 or higher
Compatible up to: 3.5.2
Last Updated: 3 years ago
Active Installs: 30,000+
0 of 1 support threads in the last two months have been marked resolved.
Got something to say? Need help?