Hi,
und zwar hab ich grad mit Hilfe von WordPress 2.7: Kommentare und Pingbacks separat anzeigen - I am Jeriko Trackbacks und Kommentare erfolgreich getrennt.
Allerdings hab ich das Problem, dass ich nicht verstehe, nach welchem "Schema" meine Kommentare nun dargestellt werden.
Oder anders formuliert: Wo & Wie kann ich:
formatieren?
Finden könnt ihr einen "Test"-Kommentar hier: Neue Single von Mando Diao: Dance With Somebody | Sebastian Ehrhardts Blog
Das Gravatar ist zu klein, und das Datum soll auch noch rechts neben das Gravatar.
Vorher (bevor ich trackbacks + kommentare getrennt habe) ging das ja auch, mit folgendem schnippsel:
<?php $comments_counter = 1; ?>
<?php foreach ($comments as $comment) : ?>
<li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
<img align="left" src="<?php gravatar("G", 50); ?>" hspace="5" alt="<?php comment_author(); ?>" />
<cite><?php comment_author_link() ?></cite><br />
<small class="commentmetadata">#<?php echo $comments_counter ?> | <?php comment_date('d. F Y') ?> um <?php comment_time() ?> Uhr</small>
<?php if ($comment->comment_approved == '0') : ?>
<em>Dein Kommentar muss noch freigeschaltet werden!</em>
<?php endif; ?>
<br />
<?php comment_text() ?>
</li>
<?php /* Changes every other comment to a different class */
if ('alt' == $oddcomment) $oddcomment = '';
else $oddcomment = 'alt';
?>
<?php $comments_counter++; ?>
<?php endforeach; /* end for each comment */ ?>
Alles anzeigen
Wenn ich diesen Code aber mit dem obigen ersetze, dann tauchen in der Kommentarliste wieder auch die Trackbacks auf.
Wer kann helfen?