= 27 comments.
if ($comments_by_type['pingback']||$comments_by_type['trackback']) {?>
0,type => 'pings'));?>
10,type => 'comment'));?>
$comment) {
/*
The following sets up the class attribute for the comments.
Adding author, approval, alternate and first post allowing me
to attach style to the comments as I see fit.
*/
$commentClass = array();
$commentType = $commentClass[] = get_comment_type();
if ($commentalt) {
array_push($commentClass,'even');
$commentalt = false;
} else {
array_push($commentClass,'odd');
$commentalt = true;
}
if ($comment->user_id == $post->post_author)
array_push($commentClass,'bypostauthor');
if ($comment->comment_approved == 0)
array_push($commentClass,'unapproved');
if ($count == 0)
array_push($commentClass,'first'); /* First post LOL!!!!!111 */
if (is_array($commentClass) && count($commentClass) >= 1)
$commentClass='class="'.implode(' ',$commentClass).' thread-even depth-1"';
else
unset ($commentClass)?>
0,type => 'pings'));?>
10,type => 'comment'));?>
$comment) { /* The following sets up the class attribute for the comments. Adding author, approval, alternate and first post allowing me to attach style to the comments as I see fit. */ $commentClass = array(); $commentType = $commentClass[] = get_comment_type(); if ($commentalt) { array_push($commentClass,'even'); $commentalt = false; } else { array_push($commentClass,'odd'); $commentalt = true; } if ($comment->user_id == $post->post_author) array_push($commentClass,'bypostauthor'); if ($comment->comment_approved == 0) array_push($commentClass,'unapproved'); if ($count == 0) array_push($commentClass,'first'); /* First post LOL!!!!!111 */ if (is_array($commentClass) && count($commentClass) >= 1) $commentClass='class="'.implode(' ',$commentClass).' thread-even depth-1"'; else unset ($commentClass)?>- >
'.get_avatar($comment, 32).''?>
echo ($comment->comment_approved == 0 ? ''.__('Your comment is not yet approved.').' ' : '')?>