Widget Logic

So you want that widget on the home page, but not on any other pages? Done. The Widget Logic plugin lets you choose where you want what when. The field uses the WordPress Conditional Tags so you can tell it to be on this page, but not these, on the home page, but nowhere else, only on this category page. Basically wherever you want it–as much as you can handle your fancy conditional tags.

The plugin just adds a little field to the bottom of every widget so any widget you have you can control the placement. In the screenshot below, it’s only showing up when the page “is home” or is the home page. Another nifty trick, that only took me hours to figure out, was that if you put an exclamation point in front of the tag, it’ll do “not” that. So below, if I had “!is_home()” it would show that widget on every page except the home page.

email

About Bradley Charbonneau

I've done the big corporate thing. I've done the creative writer thing. Now I'm happily in the middle. I like to help small businesses who are interested in "working their website before their website works them." I'm also interested in creating beautiful sites with powerful WordPress themes.

Want More?

Want to get the latest on WordPress design, development, and deliciousness? Sorry, needed a "d" word. Enter your email and you'll be updated with news as it happens.

One Response to Widget Logic

  1. The Watermark Group February 15, 2011 at 3:04 pm #

    I love this plugin! Thanks for making such a good post about it. The link to the conditional tags is super helpful.

Leave a Reply

CommentLuv badge