WidgetWorks - A Widgeting System

Latest Version 0.2

Works with WordPress 2.0+

Must have Widgets Installed

I created WidgetWorks primarily because the developers of the current Widget system (automattic.com) didn’t replicate the default functionality that many people used regarding Pages and Meta.

The WidgetWorks system will read and activate any Widget placed in the WidgetWorks directory with a filename that is prefixed by the wg_ characters.  This, of course, is mainly for developers.

If you are currently a Widget user, or would like to become one, you may want to install this plugin so that you once again have control of your Pages navigation and your Meta navigation.

This plugin containes widgets that override the default Meta and Pages widgets adding the following options:

  • Pages
    • Sort - Allows you to sort pages by database column name.  Right now you have to look at and type in the database column name directly.  Perhaps in a future version I, or someone else, will set up a select list.
    • Order - A select list containg Asc for ascending or Desc for descending order.
    • Depth - A numerical value indicating to what depth you want to display for your page hierarchy.  Leave this blank for infinite.
    • Show Date - A select list that allows you to choose no date to display, the Post Date, or the Modified Date.
  • Meta
    • Include Register Link - When checked displays the register link, not checked hides it.
    • Include Login Link - When checked displays the login/logout link, not checked hides it.
    • Include RSS - When checked displays the main post RSS link, not checked hides it.
    • Include Comment RSS - When checked displays the comments RSS link, not checked hides it.
    • Include WordPress Link - When checked displays the WordPress link, not checked hides it.

You can see these options in effect by going to my sandbox blog and logging in with the username and password of testadmin.  Just log in with the user name and password, click on Presentation=>Sidebar Widgets, and finally click on the control box on the right of the Meta and Pages widgets.

Installation

  1. Make certain you have the Widgets plugin from Automattic.com and that it is activated.
  2. Make certain you have a Widget enabled theme or make your current theme sidebar widget enabled.
  3. Download and install WidgetWorks
  4. Activate it.

Use: 

  1. Now if you navigate to Presentation=>Sidebar Widgets (this only shows up if you have the automattic.com widget plugin activated and have a Widget enabled theme) you can drag the Pages, Meta, and anything else up to your Sidbar.
  2. You’ll notice a little icon to the right of those Widgets you can customize, click on the icon on the Pages and Meta widgets and you’ll see the new options.

For those that wish to develop widgets, look at the documentation contained in widget-works.php.

This framework will most likely be made obsolete by new frame-works coming into existence, but for now, you can regain control of your Pages and Meta navigation.

Frankly I’m shocked that nobody has done this (or am I missing something), maybe I’m the only one that wants to regain control of his navigation….nah.

Let me know your thoughts.