Plugin Directory

PHP Code Widget

Author: Otto

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.

Tags: , ,