WordPress version 2.2 now has support for ‘widgets’ built in, and no longer requires a separate plugin. Unfortunately it doesn’t work with the current version of the ExecPHP plugin, as it only allows the first PHP widget to work, anymore than one and they all display the same content.

Fortunately, this is easily fixed by downloading a revised widgets.php direct from Wordpress. Download this file and then overwrite the widgets.php file in the wp-includes directory. Your php widgets should then display correctly: I’ve tried it and it works fine.

In case you’re wondering, the ExecPHP widget is a really easy way to include PHP code in your sidebar without having to edit your template: simply paste the code into a widget and drag and drop into place. The ordinary text widget supplied by default will not execute PHP code.