Plugin Directory

Fun with Theme Widgets

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.

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data

Average Rating

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