Widget Logic Plugin

The Widget Logic plugin allows you to display each widget based on a conditional expression.

It has had over 400,000 downloads and has a rating of 4.2 out of 5.

All you need to do is type the expression into the Widget Logic box beneath the widget.

Examples are:

  • is_front_page() – display only on the fromt page of the site
  • is_page() – display only on pages
  • is_single() – display only on single posts
  • in_category(‘faq’) – display only on posts in the FAQ category
  • is_category(‘faq’) – display only on the FAQ category page
  • in_category(‘faq’)||is_category(‘faq’) – display only on posts in the FAQ category or on the FAQ category page

Speak Your Mind

*