I would like to show a plugin in a specific page’s sidebar only.
For Example:
I have the pages like ..
- home
- about us
-
- sub page 1
-
- sub page 2
-
- sub page 3
-
- sub page 4
UPdate:
i want to show, plugin 1 in sub page 1 and sub page 4 only and not to all other pages.i tried is_page('sub page 1','sub page 4')
but not working :(.please help me.
The way to use is_page with multiple pages is as follows:
You have to use the
array
keywordYou may try Widget Logic plugin. It let you define via a simple expression like
is_page
oris_single
, if the widget has to be shown.Conditional Widgets and Widget Logic plugin work at the Widget level. If you are using the Genesis Framework, the Genesis Simple Sidebar plugin let’s you create additional sidebars, and designate which pages they appear on.