Footer not footing
-
I’ve removed the footer completely, but see the homepage for how it’s supposed to act. It’s pretty simple (I would think), and it will go anywhere I put it except the very bottom. It’s as if it’s not recognizing the content.
In footer.php, this is my code:
`<link href=”CSS/Stylesheet.css” rel=”stylesheet” type=”text/css”>
<body>
<hr />
<div align=”center” class=”footerStyle”>
<p align=”center”>www.DviantImage.com</p>
</div>
<div align=”center” class=”footerStyle”> ?2008 Dviant Image. All Rights Reserved. </div>
<div align=”center” class=”footerStyle”>Home | Gallery: Moto People Other | About | Contact | Blog | Calendar | Services | Purchase </div></body>
</html>As an example, the index.php for the blog looks like this:
<?php get_header(); ?>
<div id=”content-container”><div id=”content” >
<div id=”body” style=”position:absolute; left: 200px; “>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<div class=”date”>
<span class=”month”><?php the_time(‘M’) ?></span>
<span class=”day”><?php the_time(‘j’) ?></span>
<span class=”year”><?php the_time(‘Y’) ?></span>
</div><?php if ( get_option(“show_author”) ) : ?>
<div class=”author”><?php the_author() ?></div>
<?php endif ;?><!– <div class=”info”>by <?php the_author() ?></div> –>
<div class=”entry”>
<?php the_content(__(‘› Continue reading’, ‘elegant-grunge’)); ?>
</div><div class=”clear”></div>
<p class=”metadata”>
<?php comments_popup_link(__(‘no comments’, ‘elegant-grunge’), __(‘1 comment’, ‘elegant-grunge’), __(‘% comments’, ‘elegant-grunge’)); ?>
<?php the_tags(‘ | ‘.__(‘tags:’, ‘elegant-grunge’).’ ‘, ‘, ‘, ”); ?>
<?php if ( count(($categories=get_the_category())) > 1 || $categories[0]->cat_ID != 1 ) : ?>
| <?php _e(‘posted in’, ‘elegant-grunge’)?> <?php the_category(‘, ‘) ?>
<?php endif; ?>
</p></div>
<div class=”hr”><hr /></div>
<?php endwhile; ?>
<div class=”navigation”>
<div class=”next”><?php next_posts_link(__(‘« Older Entries’, ‘elegant-grunge’)) ?></div>
<div class=”previous”><?php previous_posts_link(__(‘Newer Entries »’, ‘elegant-grunge’)) ?></div>
</div><?php else : ?>
<h2 class=”center”><?php _e(‘Not Found’, ‘elegant-grunge’) ?></h2>
<p class=”center”><?php _e(‘Sorry, but you are looking for something that isn\’t here.’, ‘elegant-grunge’) ?></p>
<?php include (TEMPLATEPATH . “/searchform.php”); ?><?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
<div class=”clear”></div>
</div><?php get_footer(); ?>`
With a call to the footer function at the bottom, would one not expect that the footer get loaded AFTER everything above it?
There is nothing in the stylesheet for WP about the footer, either. Suggestions?
Thanks!
- The topic ‘Footer not footing’ is closed to new replies.