Header in Static Pages
-
Hi, I recently started using WordPress and I am starting to understand it yet. I am creating an ecommerce site and need some advice.
The index is an static page, I managed to put the header image on static pages using this code.
<?php if ( $woo_options[ 'woo_homepage_banner' ] == "true" ) { ?> <div class="homepage-banner"> <?php if ( $woo_options[ 'woo_homepage_banner' ] == "true" ) { $banner = $woo_options['woo_homepage_banner_path']; } if ( $woo_options[ 'woo_homepage_banner' ] == "true" && is_ssl() ) { $banner = preg_replace("/^http:/", "https:", $woo_options['woo_homepage_banner_path']); } ?> <img src="<?php echo $banner; ?>" alt="" /> <h1><span><?php echo $woo_options['woo_homepage_banner_headline']; ?></span></h1> <div class="description"><?php echo wpautop($woo_options['woo_homepage_banner_standfirst']); ?></div> </div> <?php } ?>
However I would like to remove this header in other static pages. How could I do this without removing it on the index page, which is an static page?
Thanks in advance!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Header in Static Pages’ is closed to new replies.