• Trying to have my header show on all pages instead of just the home page. What do I need to change the script to make that happen? Much thanks in advance!

    <div id="header">
        	<div id="branding" class="clearfix">
            <div class="logo clearfix">
            	<?php if ( is_home() || is_front_page() ) : ?>
                <h1 class="blog-name"><img src="logo.png" alt="description of the photo"></img>
    </a></h1>
                <h2 class="blog-description"><?php bloginfo('description'); ?></h2>
                <?php else: ?>
                <span class="blog-name"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></span>
                <span class="blog-description"><?php bloginfo('description'); ?></span>
                <?php endif ?>
            </div>
Viewing 1 replies (of 1 total)
  • Change it to:

    <div id="header">
        	<div id="branding" class="clearfix">
            <div class="logo clearfix">
    
                <h1 class="blog-name"><img src="logo.png" alt="description of the photo"></img>
    </a></h1>
                <h2 class="blog-description"><?php bloginfo('description'); ?></h2>
    
            </div>
Viewing 1 replies (of 1 total)
  • The topic ‘Header only on Home Page problem’ is closed to new replies.