WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Insert PHP

Run PHP code inserted into WordPress posts and pages.

Run PHP code inserted into WordPress posts and pages.

The PHP code is between special tags ("[insert_php]" instead of "<?php" and "[/insert_php]" instead of "?>").

The PHP code runs as the page is sent to the browser. Output of the PHP code is published directly onto the post or page where the PHP code between the special tags is located.

The code between the tags must be complete in and of itself. References to variables or code blocks outside the area between the tags will fail. See the "more information" URL for an explanation of this.

Examples of use:

  • Publish local time (users' computer clock settings being unreliable).

  • Insert output of a PHP script, or just to run a script whether or not it generates output.

  • Check/manipulate cookies or other actions that JavaScript can accomplish when using JavaScript is undesirable.

More information about the Insert PHP plugin can be found here: http://www.willmaster.com/software/WPplugins/go/iphphome_iphplugin

Requires: 3.3.1 or higher
Compatible up to: 3.8.3
Last Updated: 2013-12-31
Downloads: 58,825

Ratings

5 stars
5 out of 5 stars

Support

2 of 8 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,2,2 67,3,2
0,2,0
100,1,1
100,1,1 100,1,1
100,4,4