It didnt quite work, heres my code:
<!-- Start Show/Hide banner section --!>
<?php if( !is_page( array( 6,25,38,31,42 ) ) ) :?>
<? else { ?>
<div class="Main">
<div class="Sheet">
<div class="Sheet-tl"></div>
<div class="Sheet-tr"><div></div></div>
<div class="Sheet-bl"><div></div></div>
<div class="Sheet-br"><div></div></div>
<div class="Sheet-tc"><div></div></div>
<div class="Sheet-bc"><div></div></div>
<div class="Sheet-cl"><div></div></div>
<div class="Sheet-cr"><div></div></div>
<div class="Sheet-cc"></div>
<div class="Sheet-body">
<div class="Header">
<div class="logo">
<h1 id="name-text" class="logo-name">
</h1>
<div id="slogan-text" class="logo-text">
</div>
</div>
<div class="Header-jpeg"></div>
</div>
<?php
}
endif;?>
<!-- End Show/Hide Banner --!>
I tried a few things but it didnt work.
I also tired adding the { } to else
Any ideas?
Forgot to post the error..
Parse error: syntax error, unexpected '{', expecting ':' in /home/deandesi/public_html/bcwizards.co.uk/gemzproductions.co.uk/wp-content/themes/time_to_dance_eve052/time_to_dance_eve052/header.php on line 28
Without the { and } I get:
Parse error: syntax error, unexpected ';', expecting ':' in /home/deandesi/public_html/bcwizards.co.uk/gemzproductions.co.uk/wp-content/themes/time_to_dance_eve052/time_to_dance_eve052/header.php on line 28