Header Not Changing
-
First of all, I love option tree. It’s great.
I’m having an interesting problem.
My header is not changing on my main page, but it is changing on individual posts and pages. I’ve looked over all of my code and it all looks good, so I’m confused as to why it is not changing on my main page.
Here is the code for the header of the main index page.
<?php get_header(); ?> <div id="content-wrapper"> <div id="main-wrapper"> <div id="header-wrapper"> <div id="header" class="header section"> <div id="Header1" class="widget Header"> <div id="header-inner"> <?php if ($headerimage != NULL) : ?> <a href="<?php bloginfo('url'); ?>"><center><img src="<?php echo $headerimage; ?>" /></center></a> <?php else : ?> <div><h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1></div> <div class="description"><?php bloginfo('description'); ?></div> <?php endif ?> </div> </div> </div> </div> <div style="clear: both;"></div> <div id="main" class="main section"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3> <h2 class="date-header"><?php the_time('l, F j, Y') ?></h2> <div class="post-body entry-content"> <?php the_content(); ?> </div> <div class="post-footer"><div class="comment-link1"><?php comments_popup_link('0 comments', '1 comment', '% comments'); ?></div><br /> <span class="post-labels">categories: <?php the_category(', ') ?></span> <!-- AddThis Button BEGIN --> <span class='addthis_toolbox addthis_default_style '> <a class='addthis_button' href='https://www.addthis.com/bookmark.php'> <p>share this post</p></a> </span> <script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4f5e34fc6406810b"></script> <!-- AddThis Button END --> </div> <div class="clear"></div> </div> <?php endwhile; ?> <?php include (TEMPLATEPATH . '/navigation.php'); ?> <?php else : ?> <h3 class="page_header center">Not Found</h3> <div class="post-body"> <p class="center">Sorry, but you are looking for something that isn't here.</p> <?php get_search_form(); ?> </div> <?php endif; ?> </div> </div> <?php get_footer(); ?>
Does anyone see why the header would change when I update it through theme options?
megfee.com
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Header Not Changing’ is closed to new replies.