Displaying widgets on individual pages
Updated: February 13, 2013, 3:07 pm
We recommend you to install Widget Logic plugin in order to be able to control which widget can be shown on which page.
After the plug-in is installed, a new “Widget Logic” input box is displayed in the options box of every widget you use. In this box, you can type a series of WordPress conditional tags to control where exactly the widget is displayed.
Some common conditions:
- Display only on the front page:
is_front_page() - Display on all pages except front page:
!is_front_page() - Display only on the home page:
is_home() - Display only on individual posts:
is_single() - Display only on pages:
is_page() - Display on archive pages (category, tag, etc.):
is_archive() - Display on search results pages:
is_search() - Display on all pages except the home page:
!is_home() - Display on “Advertise” or “Contact” page:
is_page('advertise') || is_page('contact') - no value : widget will be visible on all pages
For more info visit plugin homepage: plugin site

