Plugin Directory

Fun with Theme Widgets

Provides a quick and easy way to add widgets as part of a theme without any additional PHP code.

Download Version 1

Usage

To create a new widget, with the plugin activated, follow these steps:

Step 1 - Create a new file in your theme called {something}.widget.php

Step 2 - Add a PHP comment at the top of the file. For example:

<?php
/*
Widget Name: 3 Random Posts
Widget Description: Outputs 3 random posts in a list
*/
?>

Step 3 - Add the theme tags and code you want in your widget.

Step 4 - Open the WordPress admin and use widgets in the normal way.

Requires: 2.5 or higher
Compatible up to: 2.7
Last Updated: 2008-12-7 Downloads: 601

Average Rating

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

Compatibility

+
=
Not enough data

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

Log in to vote.