I'm working on some PHP for a Wordpress site i'm working on. I built some sidebar content that I'd like to hide on certain pages. I would need to specify the page id's in an IF statement of some kind. I'm sure I could build it with a bunch of || (or) declarations but is there a way to do it nice in an array of some kind? I would put the id's in the array and then create an IF statement that cycled through the array to discover whether the current page was the ID of one of the IDs in the array?
If you could send me the general code for me to get started it would be great.
Thanks