Plugin Directory

PHP Code Widget

Like the Text widget, but also allows working PHP code to be inserted.

The normal Text widget allows you to insert arbitrary Text and/or HTML code. This allows that too, but also parses any inserted PHP code and executes it. This makes it easier to migrate to a widget-based theme.

All PHP code must be enclosed in the standard tags for it to be recognized.

WARNING: Upgrading to 2.0 from 1.2 may cause loss of your existing widgets. Copy the code you have in them elsewhere first, then recreate your widgets afterwards.

Want regular updates? Become a fan of my sites on Facebook! http://www.facebook.com/apps/application.php?id=116002660893 http://www.facebook.com/ottopress

Or follow my sites on Twitter! http://twitter.com/ottodestruct

Tags: , ,

Requires: 2.8 or higher
Compatible up to: 3.3.2
Last Updated: 2012-4-30
Downloads: 207,705

Average Rating

4 stars
(144 ratings)

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

100,3,3 67,3,2 100,2,2
64,11,7
100,4,4
100,10,10
82,17,14
100,1,1 100,8,8
79,33,26
100,1,1
100,1,1
85,13,11
100,2,2
100,4,4
100,4,4
100,1,1
75,4,3
100,17,17
75,4,3
89,18,16
100,3,3