Comments cant break page/arrange by newest
-
<!– Begin Comments List –>
<?php if ($comments) : ?>
<h2 id=”comments”><?php comments_number(‘No Comments’, ‘One Comment’, ‘% Comments’ );?> on “<?php the_title(); ?>”</h2>
<?php paginate_comments_links(); ?>
<ul class=”commentlist”>
<?php foreach ($comments as $comment) : ?>
<?php $comment_type = get_comment_type(); ?>
<?php if($comment_type == ‘comment’) { ?>
<li <?php echo $oddcomment; ?>id=”comment-<?php comment_ID() ?>”><div class=”avatar”><?php echo get_avatar( $comment, 50 ); ?></div>
<div class=”commentinfo”>
<span class=”cauthor”><?php comment_author_link() ?></span> <span class=”cdate”>wrote on <?php comment_date(‘j F, Y, G:i’); ?></span><?php edit_comment_link(‘edit’,’ ‘,”); ?>
<span class=”ctext”><?php comment_text() ?></span>
<?php if ($comment->comment_approved == ‘0’) : ?><span class=”approve”>Your comment is awaiting approval.</span><?php endif; ?>
</div><div class=”clear”></div><?php $oddcomment = ( empty( $oddcomment ) ) ? ‘class=”alt” ‘ : ”; ?>
<?php } else { $trackback = true; } /* End of is_comment statement */ ?>
<?php endforeach; ?><!– End Comments List –>
My comment system has its own code which make it not configurable by discussions, is there a way to make it connect with my admin??
- The topic ‘Comments cant break page/arrange by newest’ is closed to new replies.