Hi..
We are using Widget Logic on one of our client site and we want to show widgets on multiple specific pages.
We tried,
is_page('10') && is_page('13')
and
is_page( 10 ) && is_page( 13 )
But nothing is working. Why is that ?
Hi..
We are using Widget Logic on one of our client site and we want to show widgets on multiple specific pages.
We tried,
is_page('10') && is_page('13')
and
is_page( 10 ) && is_page( 13 )
But nothing is working. Why is that ?
brush up on your boolean algebra -
this condition can never be true:
is_page('10') && is_page('13')
try to work with:
is_page('10') || is_page('13')
You must log in to post.