As part of playing with the widget system in the newer versions of wordpress, I decided to take some of my sidebar content and widgetize it.
My first try is a widget that allows you to add the Lijit Search Wijit to your sidebar.
- Simply download the file below and unzip the plugin
- Upload the myLijit.php file to your /wp-content/plugins directory
- Login to your wordpress admin console and activate the plugin
- Go to Presentation management, click on the Widgets tab, and you can drag it to any location on your sidebar
- Edit the widget by clicking
, select the title for the widget block, and specify your Lijit username.
- Enjoy
If you want to learn how to build your own wordpress widget, I followed the code and the tutorial at Blue-Anvil .
UPDATE:
Something I should have mentioned about this plugin. This is built to work with WordPress 2.2.* automatically . The latest version of WP contains a built-in sidebar widget plugin.
For earlier 2.* versions, you need to install the WordPress Widgets plugin before your sidebar will be “widget” enabled.
A full tutorial and links to download the plugin, are available at http://automattic.com/code/widgets/use/ .
It should be fairly easy to install , if you have access to your wordpress installation, and use either the Classic, or Kubrick themes.
Some things to remember when following the tutorial:
- Backup your default theme files before copying the new theme files to your wp-content/themes folder.
- Activate the WordPress Widgets plugin
If you really want a widget enabled sidebar, you can also go the route of upgrading to 2.2.


