Hello there,
I got one exception to work using:
!is_page(‘Selling’)
but how do I get two exceptions to work…. I tried
!is_page(‘Selling’, ‘Buying’)… but I am not a programmer so it didn’t work.
@alanft – is that something that works for posts too? I’m trying to make a widget show for everything except a specific post now…and it doesn’t seem to be working.
I could have sworn on an old site of mine (now deleted) that I was able to put:
!is_page(‘427′,’785′,’532’)
and this would work for the pages that matched the ID #, however, it is not working and I too am looking for a way to do this.
Hey, I figured it out by viewing: http://codex.wordpress.org/Conditional_Tags
is_page( array( 42, ‘about-me’, ‘About Me And Joe’ ) )
Returns true when the Pages displayed is either post ID = 42, or post_name is “about-me”, or post_title is “About Me And Joe”.
is_page( array( 42, 54, 6 ) )
Returns true when the Pages displayed is either post ID = 42, or post ID = 54, or post ID = 6.
Just make sure you put the ! before the “is_page” otherwise it won’t work
So, for you, you should be able to put:
!is_page( array( ‘buying’, ‘selling’ ) )