-1

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

I use the condition

is_page(10,16,19)

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.

2

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

is_page( array( 10,16,19 ) )

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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