Das liegt daran, das noch 3mal das div "content" nach dem div "footerwrapper" aufgerufen wird.
Danke - jetzt weiß ich aber leider immer noch nicht, wo ich das div "content" dann aus dem Code löschen kann.
Ist die Archives.php überhaupt die richtige Datei? Die sieht so aus:
<?php get_header();?>
<!-- Content -->
<div id="content">
<?php include (TEMPLATEPATH.'/leftbar.php');?>
<!-- Main Content -->
<div id="maincontent" class="grid_10">
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php /* If this is a category archive */ if (is_category()) { ?>
<h3><?php echo __('Archive for the ','ezine');?>‘<?php single_cat_title(); ?>’ Category</h3>
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
<h3><?php echo __('Posts Tagged ','ezine');?>‘<?php single_tag_title(); ?>’</h3>
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
<h3><?php echo __('Archive for ','ezine');?><?php the_time('F jS, Y'); ?></h3>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<h3><?php echo __('Archive for ','ezine');?><?php the_time('F, Y'); ?></h3>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<h3><?php echo __('Archive for','ezine');?> <?php the_time('Y'); ?></h3>
<?php /* If this is an author archive */ } elseif (is_author()) { ?>
<h3><?php echo __('Author Archive','ezine');?></h3>
<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h3><?php echo __('Blog Archives','ezine');?></h3>
<?php } ?>
<div class="clear"></div>
<!-- News List -->
<div id="newslist">
<?php
global $post;
$counter = 0;
if (have_posts()) :
while (have_posts()) : the_post();
$counter++;
$image_thumbnail = get_post_meta($post->ID, '_image_thumbnail', true );
if ($counter == 1) :
?>
<div class="newspost">
<?php
$img_height = 345;
$img_width = 576;
filter_imgvid_source($image_thumbnail,$img_width,$img_height);
?>
<div class="topmeta">
<span class="datepost"><?php echo __('Posted at','ezine');?> <?php the_time( get_option('date_format') ); ?> <?php echo __('by ','ezine');?><?php the_author_posts_link();?></span>
<span class="commentpost"><?php comments_popup_link(__('0 Comment','ezine'), __('1 Comment','ezine'), __('% Comments','ezine')); ?></span>
<div class="clear"></div>
</div>
<div class="post">
<h3><a href="<?php the_permalink();?>"><?php the_title();?></a></h3>
<p><?php excerpt(40);?></p>
</div>
<div class="bottommeta">
<span class="categorypost"><?php echo __('Category','ezine');?> : <?php the_category(',');?></span>
<div class="bookmarkpost">
<?php if (function_exists('social_bookmarks')) social_bookmarks();?>
<div class="clear"></div>
</div>
</div>
</div>
<?php else : ?>
<div class="newspost-alt">
<?php
//$resize_thumb = resize_image($image_thumbnail,182,139,"alignleft");
filter_imgvid_source($image_thumbnail,182,139,"alignleft");
?>
<div class="post-alt">
<h3><a href="<?php the_permalink();?>"><?php the_title();?></a></h3>
<p><?php excerpt(50);?></p>
</div>
<div class="topmeta">
<span class="datepost"><?php echo __('Posted at','ezine');?> <?php the_time('F d, Y');?> <?php echo __('by ','ezine');?><?php the_author_posts_link();?></span>
<span class="commentpost"><?php comments_popup_link(__('0 Comment','ezine'), __('1 Comment','ezine'), __('% Comments','ezine')); ?></span>
<div class="clear"></div>
</div>
<div class="bottommeta-alt">
<span class="categorypost"><?php echo __('Category','ezine');?> : <?php the_category(',');?></span>
<div class="bookmarkpost">
<?php if (function_exists('social_bookmarks')) social_bookmarks();?>
<div class="clear"></div>
</div>
</div>
</div>
<?php endif;?>
<?php endwhile;?>
<?php endif;?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link(__('« Previous Entries','ezine')) ?></div>
<div class="alignright"><?php previous_posts_link(__('Next Entries »','ezine')) ?></div>
<div class="clear"></div>
</div>
</div>
<!-- News List End -->
</div>
<!-- Main Content -->
<?php get_sidebar();?>
</div>
<!-- Content End -->
</div>
<!-- Wrapper End -->
<div class="clear"></div>
<?php get_footer();?>
Alles anzeigen
Hab jetzt schon viel rumprobiert und komme irgendwie zu keinem Ergebnis :-(