Provided example code:
global $PHPPC; $PHPPC->$_vars["myvaridentifier"] = $myvar;
When page is opened with shortcode, it crashes the site:
Fatal error: Cannot access empty property in .../wp-content/plugins/php-code-for-posts/PHPPostCode.php(85) : eval()'d code on line 3
That plugin works perfectly. I used it on many projects and it always do the job.
Thanks a lot for that great job.
Our webmaster normally adds this kind of functionality to our site. The plug in we were using before is no longer compatible with this version of WordPress so we were having some problems.
Took me all of 5 minutes to install and configure. It's a no-brainer and works perfectly!
Brilliant plugin! Thank you very much. This plugin helps me a lot to insert PHP code in posts and pages.
It works perfect, thanks for this great Plugin.
It saved me a lot of times with the execution of shortcodes having variable parameter values, nice!
Great plugin !
It really works! I always needed to insert PHP code in WordPress pages and this plugin helped me a lot. Thanks!
[php] is an unfavorable BBCode, because it is already used by many syntax highlighters.
Beautiful would be
[phpcode snippet=x] or
Or is it maybe so?
You must log in to submit a review. You can also log in or register using the form near the top of this page.