Title: widget logic
Last modified: August 19, 2016

---

# widget logic

 *  [caprizzosa](https://wordpress.org/support/users/caprizzosa/)
 * (@caprizzosa)
 * [16 years ago](https://wordpress.org/support/topic/widget-logic-1/)
 * I have installed widget-logic plug in as I want to have different sidebars in
   different pages but I don not seem to be able to make it work
    I want to have
   products only in shop page, links in contact page and several/usual widgets in
   blog page. If I wanted to have say links in two pages, how would I put it?
 * thanks!!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [mkuehlhorn](https://wordpress.org/support/users/mkuehlhorn/)
 * (@mkuehlhorn)
 * [16 years ago](https://wordpress.org/support/topic/widget-logic-1/#post-1496344)
 * On you widget bar in the admin page you will have a section at the very bottom
   of each widget–this is where you place your pages tag–
 * For example, you may say is_home_page() and this would have the widget only display
   on the home page (your blog) versus is_front_page() for only the front page.
 * You will need to find the label for each page and send the widget to those pages
   by name.
 * You can also say !is_front_page() and the widget will show everywhere but the
   front page.
 * Hope this helps.
 *  Thread Starter [caprizzosa](https://wordpress.org/support/users/caprizzosa/)
 * (@caprizzosa)
 * [16 years ago](https://wordpress.org/support/topic/widget-logic-1/#post-1496356)
 * when I open widget there is a box at the top where it says widget logic and it
   is there where i have to put the code but every time i try it gives me a fatal
   error. i want to put links widget in the contact page and i am sayin is_contact()
   but it is not working, I ha ve also tried putting is_page(‘contact’) but it does
   not work.
 * Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘widget logic’ is closed to new replies.

## Tags

 * [Themes](https://wordpress.org/support/topic-tag/themes/)
 * [widgets](https://wordpress.org/support/topic-tag/widgets/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [caprizzosa](https://wordpress.org/support/users/caprizzosa/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/widget-logic-1/#post-1496356)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
