Home / Technology / CMS / Inline PHP – plugin that let you excute PHP code inside the post/page
24 April, 2010

Inline PHP – plugin that let you excute PHP code inside the post/page

Posted in : CMS, WordPress on by : admin

For future reference Inline PHP is the best one I have tested (on version 2.9 – even though currently it is not “approved” for 2.9).
However when switching to visual all of the <exec> and </exec> tags disappear and all that is left is the code raw and fragile.

I tested the following code:

<exec>
$test=’My big test<br />’;
echo $test;
echo ‘This is a test’;
</exec>

And this is what it shows:


$test=’My big test
‘;
echo $test;
echo ‘This is a test’;

I am really excited. This plugin has a lot of potential.