is_page confusion – can you help?
-
Hi all,
I am trying to serve the same sidebar content using the code below but I think I am doing something wrong. Content is served for ‘weddings-meetings’ & ‘attractions’ but not ‘accommodation’. Am I missing anything?
‘<?php if(is_page(“attractions”) || (is_page(“weddings-meetings”) || (is_page(“accommodation”)))) { ?>’
content here…
‘<?php } ?>’
Thanks
- The topic ‘is_page confusion – can you help?’ is closed to new replies.