Try this here…
if it is pages
where 1,2 are the page ID#’s
!is_page(1,2)
if it is posts
where 1,2 are the post ID#’s
!is_single(1,2)
I have read through several posts on the forum and have tried everything suggested and nothing seems to work. I am trying to exclude the widget from 6 pages. I already tried !is_page(‘welcome’) $$ “is_page(‘about us’) I also tried it with || instead of $$ Can someone help?
We figured it out and now it is working. This is what we did
!is_page(array(12,32,35,46,187,’Welcome’)) Note: Welcome is the name of the home page).