Plugin Directory

PHP Code Widget

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

Download Version 2.1

2.1

  • Fixed broken wpautop filter. Checkbox on widget works now.

2.0

  • Changed widget to use new Class methods for creating widget. This simplifies the widget and should eliminate any problems with it losing code or disappearing from sidebars and so forth.
  • WARNING: Version 2.0 REQUIRES WordPress 2.8 and up. It will not work with older versions.
  • WARNING: Upgrading this widget from 1.x might cause the widget to LOSE YOUR EXISTING SIDEBAR CODE. Copy and paste the existing code somewhere else before upgrading (just in case), then recreate the widgets afterwards.

Requires: 2.8 or higher
Compatible up to: 3.3.1
Last Updated: 2012-1-10 Downloads: 187,742

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(130 ratings)

Compatibility

+
=
Works!

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

Log in to vote.

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
90,10,9