WordPress.org

Ready to get started?Download WordPress

Plugin Directory

PHP Code for posts

Add PHP code to your WordPress posts, pages, custom post types and even sidebars using shortcodes

You mentioned a variable array to assign variables to for use between snippets, how do I do this?

To assign variables to the array, use the following code:

global $PHPPC;
  $PHPPC->$_vars["myvaridentifier"] = $myvar;

and to read a variable from the array use this code:

global $PHPPC;
    $myvar = $PHPPC->$_vars["myvaridentifer"];

Simples!

AJAX update keeps failing

One of the main causes of a failed AJAX update is because nothing has actually changed in any of the fields.

My snippet doesn't work

One common error is an error in the eval'ed code, this is more down to a syntax / parse error in the php snippet, rather than the plugin it self.

No other questions yet!

:)

Requires: 3.3.1 or higher
Compatible up to: 3.8.3
Last Updated: 2014-2-8
Downloads: 54,131

Ratings

5 stars
5 out of 5 stars

Support

0 of 3 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,2,2
100,3,3
100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
86,7,6
100,1,1
100,1,1