Hi
Ich brauche Hilfe beim Einbau des Official Comments PlugIns bein Mandigo Theme.
Wir reden über:
Die Beiträge werden zwar richtig erkannt aber die Sache mit der Darstellung funktioniert gar nicht und ich finde keine Einbaumöglichkeit die nicht das ganze Design verschiebt:
Das:
Official Comments
Muss da rein:
Comments.php
PHP
<?php if ($comments) : ?>
<h3 id="comments"><?php comments_number(__('No Responses to ','mandigo'), __('One Response to ','mandigo'), __('% Responses to ','mandigo')); ?> “<?php the_title(); ?>”</h3>
<ol class="commentlist">
<?php foreach ($comments as $comment) : ?>
<li class="<?php echo $oddcomment; ?><?php echo ($authorcomments && get_comment_author() == $the_author ? ' authorcomment' : ''); ?>" id="comment-<?php comment_ID() ?>">
<cite><?php printf(__('%s says:','mandigo'),comment_author_link()); ?></cite>
<?php if ($comment->comment_approved == '0') : ?>
<em><?php _e('Your comment is awaiting moderation.','mandigo'); ?></em>
<?php endif; ?>
<br />
<small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php printf(__('%s at %s','mandigo'),get_comment_date('F jS, Y'),get_comment_time()); ?></a> <?php edit_comment_link(__('Edit','mandigo'),' - ',''); ?></small>
<?php comment_text() ?>
</li>
<?php /* Changes every other comment to a different class */
if ('alt' == $oddcomment) $oddcomment = '';
else $oddcomment = 'alt';
?>
<?php endforeach; /* end for each comment */ ?>
</ol>
<?php else : // this is displayed if there are no comments so far ?>
Alles anzeigen