PureNews

PureNews is an amazingly sleek and powerful news theme with unlimited color variations.

View full feature list Check out the live demo Buy this theme today

Taking WordPress Widgets To The Next Level

Posted by on 26th Dec 2008 WordPress Plugins 9 comments

konstruktorslogoOn November 6th 2008, I published a review on Performancing.com about a cool WordPress plugin called Slayer’s Custom Widgets. This plugin was cool because it was one of the first I’ve seen that enabled users to assign Widgets to certain locations on a WordPress powered blog. Fast forward to today and there is another plugin with the same idea but improves upon usability, accessibility, and overall UI. It’s called Widget Context and was developed by Kaspars Dambis who currently resides in Latvia.

Installation:

To install Widget Context, download the files from here and upload the folder to your plugin directory. Next, login to your WordPress administration panel and activate the plugin. The plugin doesn’t have a dedicated settings page so don’t bother looking.

Usage:

To use Widget Context, login to your WordPress administration page and browse to the Widget management page. Add a widget from the left-hand side of the page to the right. Then, click on the EDIT link to edit the widgets settings. At the bottom of the widget, you should see an extended area of options. This is Widget Context in action.

widget-context-demo-screenshot

There are initially two options to choose from. Either displaying a widget on selected or displaying a widget on every page except selected. The check boxes correspond to the various page templates found within a typical WordPress theme. I’m not going to go into detail here with regards to which template files correspond to which options but if you pay attention to themes and notice how they have single.php, archive.php etc. you should be able to connect the dots to figure out which is what.

Ok, now we need an example. Lets say I want to display the default recent comments widget only on the homepage since that is the only place where it makes sense to display it. I would simply add the recent comments widget to the sidebar, click the edit link, select “Display Only On Selected“, check mark the Homepage box and then, click done. The recent comments will now only show up on the homepage.

Conclusion:

While that was a simple example, I think it’s clear how many doors this type of widget granularity opens up. For the longest time, typical end users of WordPress were forced to display widgets in the sidebar which would show up in every single page within WordPress where that sidebar displayed. While I love using widgets, having them show up on every single page in WordPress is cumbersome. Kaspar’s plugin enables you to maximize the use of a themes sidebar/sidebars so that you can place relevant widgets on relevant pages.

For those of you who display 125X125 ads in your sidebar, think about how cool it would be to have multiple ad containers that displayed relevant ads alongside relevant content. For example, I could have a widget that displays ads from WordPress theme developers and then assign that widget to only show up in the sidebar when a post is made in the WordPress themes category.

Mark my words, the functionality provided by Widget Context will somehow find it’s way into a future version of WordPress for all to enjoy.

9 comments - Leave a reply
  • Posted by Kevin on 26th Dec 2008

    We developed this plugin a few months ago. It's called Widget Locationizer and you can find it here: http://tomuse.com/wordpress/widget-locationizer

    Our plugin goes beyond those listed and permits you to assign tags and categories for which a given widget will appear. It also allows you the ability to display the widget and its content on all posts/pages except for those defined. The ability to assign a dofollow or nofollow attribute for the ads/content that the widget contains is also available.

    Thus our plugin allows you to reduce content duplication by creating post/page specific sidebars (thereby helping SEO), enrich the overall viewer experience by keeping sidebars fresh and interesting (through variety and specificity), as well as let you assign content specific advertisements that lead to great CTR and sales (via targeting specific posts/pages, categories, tags).

  • Posted by Follow Me On Twitter on 27th Dec 2008

    Hey this is great!!

    Am installing it on my blog now!

  • Posted by SEO Tool on 27th Dec 2008

    Good post!I also have something about SEO to share. Check out my website.641

  • Posted by SEO on 27th Dec 2008

    Great post. Thanks for sharing!

    I also have something about SEO to share. Check out at my website please.291

  • Posted by Dennis Edell on 27th Dec 2008

    Just too cool. WP 2.7 compatible?

  • Posted by Wesley on 29th Dec 2008

    Excellent plugin, will check it out. Thanks.

  • Posted by LoSasso on 29th Dec 2008

    Advertisers must use caution with this type of widget and monitor blogs carefully. They don't want to be showing up where they shouldn't be!

    Very cool widget for bloggers, that's for sure.

  • Posted by Sarah on 3rd Jan 2009

    Any idesa on how to do this with blogger?