I am starting a new Page template to add thumbnails of all child pages on a page with this template. I got the thumbnails showing up properly, but the Footer on the page is left-aligned and incorrect. I looked at it and it has colspan="1" instead of the usual colspan="2". Can someone tell me why it is doing this when I'm simply using the same <?php get_footer(); ?> at the end of the template that is identical to index.php's Footer?
Full template (Work in progress):
Quote:
<?php /* Template Name: Image Thumbs Template
*/ ?>
<?php get_header(); ?>
<h1>Title</h1>
<div class="maincontent">
<?php
query_posts('posts_per_page=5&post_type=page&post_ parent='.$parent);
while (have_posts()) : the_post();
?>
<?php echo get_the_post_thumbnail( $post_id, $size, $attr ); ?>
<?php endwhile; ?>
</div>
<?php get_footer(); ?>
|
I can't link to the site, as it's a client's dev environment - but it simply includes <td id="footer" colspan="1"> instead of "2". A manual fix would be ok too, as I can simply hardcode it into this one page.