Showing widgets on different pages based on logic

A few days back i had this project where i had to show a couple of widgets on the sidebar only if it were certain pages. At first i thought i should do this using conditional logic in my sidebar file. But then i got really lazy and thought of finding a plugin that would do thiss job for me. 

And like so many other days, a plugin saves the day. You can always count on WordPress and its wonderful communtiy to have a plugin solution available for you. That’s how i found Widget Logic.

Widget Logic lets you control on which pages widgets appear using WP’s conditional tags. It also adds a ‘widget_content’ filter. 

This plugin provides you a box in widget configuration where you  can put your wordpress conditional tags like is_page(), is_category(). There are a whole lot of them :).  Which shows how powerful this plugin is for controlloing widget behaviour!

Widget Logic

Plugin Link : http://wordpress.org/plugins/widget-logic/

alexey

alexey

Application developer, movie buff, occasional reader and a huge Manchester United fan.
alexey
Share

Application developer, movie buff, occasional reader and a huge Manchester United fan.