# Widget Logic!

- Link: https://www.thepiratescove.us/2008/07/27/widget-logic/
- Published: 2008-07-27T16:52:37-04:00
- Author: William Teach

Hey, a very interesting plugin for those of you who use WordPress Widgets. It is
called [Widget Logic](http://wordpress.org/extend/plugins/widget-logic/), and what
it allows you to do is specify where your widgets will show up.

I was considering using Widgets instead of HTML’ing the sidebar stuff everytime 
I change a theme, but, if you notice, there is some stuff which shows on every page/
post, some stuff only the “home” page, and some stuff only for single posts. How
do you do that with widgets? You cannot embed php code to do that in a text widget,
and how could you do that with other type widgets even if the php code worked?

Well, [Widget Logic](http://wordpress.org/extend/plugins/widget-logic/).

I am not using it here on Pirate’s Cove at the moment, but, may start one day when
I am bored. Testing at my backup/development site.

The benefit of widgets is that you really only have to do it once, and the stuff
will show up in every widgetized theme. However, remember one thing: if you are 
switching between themes with different amounts of sidebars, you will need to move
the widgets. This means if you like to use a theme switcher (which people have almost
stopped using nowadays), it will not work well going between a 2, 3, and or 4 column
theme.

### Share this:

 * [Tweet](https://twitter.com/share)
 * [  Email ](https://www.thepiratescove.us/2008/07/27/widget-logic/?subject=%5BShared%20Post%5D%20Widget%20Logic%21&body=https%3A%2F%2Fwww.thepiratescove.us%2F2008%2F07%2F27%2Fwidget-logic%2F&share=email)
 * [  Bluesky ](https://www.thepiratescove.us/2008/07/27/widget-logic/?share=bluesky)
