mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Better comments listing, props Matt
git-svn-id: https://develop.svn.wordpress.org/trunk@9413 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -279,30 +279,12 @@ if ( 1 == count($posts) && is_singular() ) :
|
||||
|
||||
<br class="clear" />
|
||||
|
||||
<table class="widefat" style="margin-top: .5em">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><?php _e('Comment') ?></th>
|
||||
<th scope="col"><?php _e('Author') ?></th>
|
||||
<th scope="col"><?php _e('Submitted') ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th scope="col"><?php _e('Comment') ?></th>
|
||||
<th scope="col"><?php _e('Author') ?></th>
|
||||
<th scope="col"><?php _e('Submitted') ?></th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
<tbody id="the-comment-list" class="list:comment">
|
||||
<ol id="the-comment-list" class="list:comment">
|
||||
<?php
|
||||
foreach ($comments as $comment)
|
||||
_wp_comment_row( $comment->comment_ID, 'single', false, false );
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</ol>
|
||||
|
||||
<?php
|
||||
wp_comment_reply();
|
||||
|
||||
Reference in New Issue
Block a user