Hi
I have a piece of code in a WordPress theme that I'd like some help with, please.
<?php if (is_page('ThisPage')) { include (TEMPLATEPATH . '/HeaderResults.php'); } else { wp_get_header(); } ?>
<div class="art-contentLayout">
<?php include (TEMPLATEPATH . '/sidebar1.php');?>
I would only like the last two lines executed if the page selected is not ThisPage. I've searched the web and tried all sorts of variations but I cannot get any to work. Help!
Also, how do I substring a page name to see if it starts with the string "STARTSWITHTHIS"?
Thanks
Mick