joa, also der Titel beschreibt mein problem ja schon... die Kommentare werden nicht am Ende vom eigentlichen Post angezeigt, sondern sitzen darüber und überschreiben ihn... Hoffe auf schnelle Hilfe :)
comments.php:
PHP
<input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
<label for="email">Email <small>(wird nicht veröffentlicht)</small></label>
</p>
<p>
<input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
<label for="url">Webseite</label>
</p>
<p>
Kommentar
<textarea name="comment" id="comment" style="width: 100%;" rows="10" tabindex="4"></textarea>
</p>
<p>
<input name="submit" type="submit" id="submit" tabindex="5" value="Kommentar abschicken" />
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
</p>
<?php do_action('comment_form', $post->ID); ?>
</form>
</div> <!-- kommentar_formular -->
<div id="kommentare">
<?php foreach ($comments as $comment) : ?>
<div class="comment" id="comment-<?php comment_ID() ?>"></div>
<small class="commentmetadata"><?php comment_author_link() ?> <strong>|</strong> am <?php comment_date('j. F Y') ?> um <?php comment_time('H:i') ?> Uhr</small>
<?php comment_text() ?>
<?php if ($comment->comment_approved == '0') : ?>
<strong>Achtung: Dein Kommentar muss erst noch freigegeben werden.</strong><br />
<?php endif; ?>
</div>
<?php endforeach; /* end for each comment */ ?>
</div><!-- kommentare -->
Alles anzeigen
single.php:
PHP
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>"
<?php get_header(); ?>
<div id="main">
<h3><a class="Überschrift" href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?><div id="thumbnail">
<?php if(has_post_thumbnail()){
the_post_thumbnail();} ?>
<div class="entry">
<?php the_content(); ?></div><div id="meta"></div><div id="erstellt_am">
<p>erstellt am: <?php the_date('d.m.Y'); ?>-<a class ="comments" <a href="<?php the_permalink(); ?>#comments" title="Kommentare zu '<?php the_title(); ?>'"><?php comments_number('Keine Kommentare','1 Kommentar','%Kommentare'); ?></a>
</div></div>
<?php endwhile; endif; ?></div>
</div><!-- main -->
<div id="sidebar">
<?php get_sidebar(); ?>
</div><!-- sidebar -->
<div id="comments">
<?php comments_template(); ?>
</div><!--comments-->
<div id="footer">
<?php get_footer(); ?>
</div><!-- footer -->
Alles anzeigen