WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the Widget Logic plugin to display a widget only on certain pages.

I use the condition


to specify the pages I want the widget to display on.

However, the widget does not display on these pages.

I have double checked the page ID is correct, and I have cleared my browser cache, yet the widget isn't being displayed.

share|improve this question
up vote 2 down vote accepted

Refer to the is_page() Codex entry. You need to pass multiple Page IDs as an array:

is_page( array( 10,16,19 ) )
share|improve this answer
Thank you Chip! – Steve Feb 5 '13 at 3:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.