// Do this for every trackback / pingpack if ($bfa_ata['separate_trackbacks'] == "Yes") { foreach ($comments as $comment) { if (get_comment_type() != 'comment') { ?> <li <?php echo $oddcomment; ?> id="comment-<?php comment_ID(); ?> "> <div class="comment-number"><a href="<?php echo paged_comments_url('comment-' . get_comment_ID()); ?> " title=""><?php echo $comment_number; $comment_number += $comment_delta; ?> </a></div> <?php // Comment Author comment_author_link(); ?> : <br />
function paged_comments_print_pages() { global $paged_comments, $post; // URLs may contain the % symbol which will cause problems later when sprintf() is called // $url = paged_comments_url('comments', '%u'); $url = paged_comments_url('comments', '=placeholder='); $url = str_replace('%', '%%', $url); $url = str_replace('=placeholder=', '%u', $url); $allurl = paged_comments_url('comments', 'all'); $printer =& new PagePrinter($paged_comments->pager, $url, $paged_comments->page_range); $left = '«'; $right = '»'; $older = __('Older Comments', 'paged-comments'); $newer = __('Newer Comments', 'paged-comments'); $sep = ' '; $link_left = $paged_comments->ordering == 'ASC' ? $printer->get_prev_link($left, $older) : $printer->get_next_link($left, $newer); // left arrow link if (!empty($link_left)) { echo $link_left, $sep; } // page number links echo $printer->get_links($sep); // right arrow link $link_right = $paged_comments->ordering == 'ASC' ? $printer->get_next_link($right, $newer) : $printer->get_prev_link($right, $older); if (!empty($link_right)) { echo $sep, $link_right; } if ($paged_comments->show_all_option) { echo $sep, '<a href="' . $allurl . '">' . __('Show All', 'paged-comments') . '</a>'; } }
?> " class="<?php sandbox_comment_class(); ?> "> <div class="comment-number"><?php echo $comment_number; $comment_number += $comment_delta; ?> </div> <div class="comment-author vcard"><?php sandbox_commenter_link(); ?> </div> <div class="comment-meta"><?php printf(__('Posted %1$s at %2$s <span class="meta-sep">|</span> <a href="%3$s" title="Permalink to this comment">Permalink</a>', 'sandbox'), get_comment_date(), get_comment_time(), paged_comments_url('comment-' . get_comment_ID())); edit_comment_link(__('Edit', 'sandbox'), ' <span class="meta-sep">|</span> <span class="edit-link">', '</span>'); ?> </div> <?php if ($comment->comment_approved == '0') { _e("\t\t\t\t\t<span class='unapproved'>Your comment is awaiting moderation.</span>\n", 'sandbox'); } ?> <?php comment_text(); ?> </li> <?php // endif; /* if ( get_comment_type() == "comment" ) */ }
?> " title="<?php _e('Permanent Link to this Comment', 'k2_domain'); ?> " class="counter"><?php echo $comment_number; $comment_number += $comment_delta; ?> </a> <span class="commentauthor"><?php comment_author_link(); ?> </span> <small class="comment-meta"> <?php printf(__('%1$s on %2$s', 'k2_domain'), '<span class="pingtype">' . get_k2_ping_type(__('Trackback', 'k2_domain'), __('Pingback', 'k2_domain')) . '</span>', sprintf('<a href="%1$s" title="%2$s">%3$s</a>', paged_comments_url('comment-' . get_comment_ID()), function_exists('time_since') ? sprintf(__('%s ago.', 'k2_domain'), time_since(abs(strtotime($comment->comment_date_gmt . " GMT")), time())) : __('Permanent Link to this Comment', 'k2_domain'), sprintf(__('%1$s at %2$s', 'k2_domain'), get_comment_date(__('M jS, Y', 'k2_domain')), get_comment_time()))); ?> <?php if ($user_ID) { edit_comment_link(__('Edit', 'k2_domain'), '<span class="comment-edit">', '</span>'); } ?> </small> </li> <?php } /* end foreach ping */ ?> </ol> <!-- END #pinglist --> <?php