function dsq_render_single_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?> <li id="dsq-comment-<?php echo (int) get_comment_ID(); ?> "> <div id="dsq-comment-header-<?php echo (int) get_comment_ID(); ?> " class="dsq-comment-header"> <cite id="dsq-cite-<?php echo (int) get_comment_ID(); ?> "> <?php if (comment_author_url()) { ?> <a id="dsq-author-user-<?php echo (int) get_comment_ID(); ?> " href="<?php echo esc_url(get_comment_author_url()); ?> " target="_blank" rel="nofollow"><?php echo esc_html(get_comment_author()); ?> </a> <?php } else { ?> <span id="dsq-author-user-<?php echo (int) get_comment_ID(); ?> "><?php echo esc_html(get_comment_author()); ?> </span> <?php } ?> </cite> </div> <div id="dsq-comment-body-<?php echo (int) get_comment_ID(); ?> " class="dsq-comment-body"> <div id="dsq-comment-message-<?php echo (int) get_comment_ID(); ?> " class="dsq-comment-message"><?php wp_filter_kses(comment_text()); ?> </div> </div> </li> <?php }
function format_comment($comment, $args, $depth) { echo '<div '; comment_class(); echo ' id="li-comment-'; comment_ID(); echo '"> <div class="row-fluid"> <div class="span9"> <p>'; comment_text(); echo '</p> </div> <div class="span3">'; echo get_avatar($comment->comment_author_email, 60); echo '<h6> <a href="'; comment_author_url(); echo '">'; comment_author(); echo '</a> </h6> <small>'; printf(__('%1$s', DOMAIN), get_comment_date(), get_comment_time()); echo '</small> </div> </div> </div>'; }
public function start_el(&$output, $comment, $depth = 0, $args = array(), $id = 0) { $depth++; $GLOBALS['comment_depth'] = $depth; $GLOBALS['comment'] = $comment; $parent_class = empty($args['has_children']) ? '' : 'parent'; ?> <li id="comment-<?php comment_ID(); ?> " <?php comment_class($parent_class); ?> > <div class="comment-header"> <div class="left"> <ul class="c"> <li class="author"> <a href="<?php comment_author_url(); ?> "> <?php comment_author(); ?> </a> </li> <li class="date"> <?php comment_time(get_option('n/j/Y g:i A')); ?> </li> </ul> </div> <div class="right"> <ul class="c"> <li class="reply"> <?php $reply_args = array('depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => '<span data-icon="reply"></span>'); comment_reply_link(array_merge($args, $reply_args)); ?> </li> <li class="edit"> <?php edit_comment_link('<span data-icon="edit"></span>'); ?> </li> </ul> </div> </div> <section class="comment-body"> <?php comment_text(); ?> </section> <?php }
function advanced_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?> <div class="comment-container" id="comment-<?php comment_ID(); ?> "> <div class="gravatar"> <?php echo get_avatar($comment); ?> </div> <span class="comment-author"> <?php echo get_comment_author_link(); ?> 说道: </span> <div class="comment-time"> <?php echo get_comment_date(); echo get_comment_time(); ?> <span class="edit-comment"><?php edit_comment_link('修改'); ?> </span> </div> <div class="comment-content"> <?php echo comment_text(); ?> </div> <div class="comment-reply" onclick="replyComment(<?php echo $comment->comment_post_ID; ?> ,<?php echo $comment->comment_ID; ?> ,'<?php echo get_option('siteurl'); ?> '+'/wp-comments-post.php','<?php echo comment_author(); ?> ','<?php echo comment_author_email(); ?> ','<?php echo comment_author_url(); ?> ')"> 回复 </div> </div> <?php }
function gt_comments($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?> <li class="comment"> <div> <?php echo get_avatar($comment, $size = '50'); ?> <div class="comment-meta"> <h5 class="author"><a href="<?php comment_author_url(); ?> " target="about_blank"><?php comment_author(); ?> </a> - <?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth']))); ?> </h5> <p class="date"><?php printf(__('%1$s at %2$s', 'velocityslide'), get_comment_date(), get_comment_time()); ?> </p> </div> <div class="comment-entry"> <?php comment_text(); ?> </div> </div> <?php if ($comment->comment_approved == '0') { ?> <em class="comment-moderate"><?php _e('Your comment is awaiting moderation.', 'velocityslide'); ?> </em> <br /> <?php } ?> <?php edit_comment_link(__('(Edit)', 'velocityslide'), ' ', ''); ?> <?php }
function fjords_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; extract($args, EXTR_SKIP); ?> <div <?php comment_class(empty($args['has_children']) ? '' : 'parent'); ?> id="comment-<?php comment_ID(); ?> "> <div id="div-comment-<?php comment_ID(); ?> "> <div class="comentarios"> <span class="comment-author vcard"><?php if ($args['avatar_size'] != 0) { echo get_avatar($comment, $args['avatar_size']); } ?> <span class="fn"><a href="<?php comment_author_url(); ?> "> <?php comment_author(); ?> </a></span> wrote @ <span class="comment-meta commentmetadata"><?php comment_date(); ?> at <?php comment_time(); ?> </span> </span> </div> <?php comment_text(); ?> <div class="reply"> <?php comment_reply_link(array_merge($args, array('add_below' => 'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth']))); ?> </div> </div> <?php }
private function confirm($action) { global $comment; $comment_id = intval($_GET['c']); $formaction = $action . 'comment'; $nonce_action = 'approve' == $action ? 'approve-comment_' : 'delete-comment_'; $nonce_action .= $comment_id; if (!($comment = get_comment_to_edit($comment_id))) { $this->base->ks_die(__('Oops, no comment with this ID.') . sprintf(' <a href="%s">' . __('Go back') . '</a>', 'edit-comments.php'), '', false); } if (!current_user_can('edit_post', $comment->comment_post_ID)) { $this->base->ks_die('delete' == $action ? __('You are not allowed to delete comments on this post.') : __('You are not allowed to edit comments on this post, so you cannot approve this comment.')); } include dirname(__FILE__) . '/admin-header.php'; switch ($action) { case 'spam': $message = __('You are about to mark the following comment as spam:'); break; case 'trash': $message = __('You are about to move the following comment to the Trash:', 'ktai_style'); break; case 'delete': $message = __('You are about to delete the following comment:'); break; default: $message = __('You are about to approve the following comment:'); break; } echo '<p><img localsrc="1" alt="" /><font color="red">' . $message . '</font><br />' . __('Are you sure you want to do this?') . '</p>'; ?> <form action="edit-comments.php" method="get"> <?php $this->admin->sid_field(); ?> <div><input type="submit" value="<?php _e('No'); ?> " /></div></form> <form action="comment.php" method="get"> <?php $this->admin->sid_field(); wp_nonce_field($nonce_action); ?> <input type="hidden" name="action" value="<?php echo esc_attr($formaction); ?> " /> <input type="hidden" name="p" value="<?php echo intval($comment->comment_post_ID); ?> " /> <input type="hidden" name="c" value="<?php echo intval($comment->comment_ID); ?> " /> <input type="hidden" name="noredir" value="1" /> <div><input type="submit" value="<?php _e('Yes'); ?> " /></div> </form> <dl><dt><img localsrc="<?php comment_type(68, 112, 112); ?> " alt="[<?php comment_type(__('Comment', 'ktai_style'), __('Trackback'), __('Pingback')); ?> ] " /><?php comment_author(); ?> <img localsrc="46" alt=" @ " /><font color="<?php echo ks_option('ks_date_color'); ?> "><?php ks_comment_datetime(); ?> </font></dt><dd><?php if ($comment->comment_author_email) { ?> <img localsrc="108" alt="" /><font color="olive"><?php comment_author_email(); ?> </font><br /><?php } if ($comment->comment_author_url && 'http://' != $comment->comment_author_url) { ?> <img localsrc="112" alt="" /><font color="olive"><?php comment_author_url(); ?> </font><br /><?php } comment_excerpt(); ?> </dd></dl><?php include dirname(__FILE__) . '/admin-footer.php'; }
function frank_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?> <li id="comment-<?php comment_ID(); ?> " class="comment"> <div class="row"> <div class="comment-content"> <?php if ($comment->comment_approved == '0') { $moderation_pending = __('Your comment is awaiting moderation', 'frank_theme'); echo '<span class="comment-moderation">' . $moderation_pending . '</span>'; } comment_text(); ?> <div class="comment-reply"> <?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth']))); ?> </div> </div> <div class="comment-info"> <ul class='metadata vertical'> <li class="date"><time datetime="<?php the_time('Y-m-d'); ?> "><span class="date-date"><?php comment_date('F d, Y'); ?> </span> <span class="date-time"><?php comment_date('g:i A'); ?> </span></time></li> <li class='author' id="vcard-<?php comment_ID(); ?> "> <?php echo _x('By', 'comment_author_attribution', 'frank_theme'); echo ' '; ?> <a class="url fn" href="<?php comment_author_url(); ?> "><?php comment_author(); ?> </a></li> <li> <?php edit_comment_link(_x('edit', 'edit-comment', 'frank_theme')); ?> </li> </ul> </div> </div> <?php }
function arjuna_get_trackback($comment, $args, $depth) { global $trackbackCount; $arjunaOptions = arjuna_get_options(); $GLOBALS['comment'] = $comment; $commentClass = 'comment'; ?> <li <?php comment_class(); ?> id="comment-<?php comment_ID(); ?> "> <?php if (function_exists('get_avatar')) { echo get_avatar($comment, 40); } ?> <div class="message"> <div class="t"><div></div></div> <div class="i"><div class="i2"> <span class="title"><a href="#comment-<?php comment_ID(); ?> ">#<?php print ++$trackbackCount; ?> </a> | <?php _e('Pinged by', 'Arjuna'); ?> <?php if (!get_comment_author_url()) { print get_comment_author_link(); } else { ?> <a href="<?php comment_author_url(); ?> " class="authorLink"><?php comment_author(); ?> </a><?php } ?> <?php if ($arjunaOptions['commentDateFormat'] == 'timePassed') { printf(__('about %s ago', 'Arjuna'), arjuna_get_time_passed(strtotime($comment->comment_date_gmt))); } else { print __('on', 'Arjuna') . ' ' . get_comment_time(get_option('date_format')); } ?> .</span> <span class="links"> <?php edit_comment_link(__('Edit', 'Arjuna'), '', ''); ?> </span> <?php if ($comment->comment_approved == '0') { ?> <p><?php _e('Your trackback is awaiting moderation.', 'Arjuna'); ?> </p> <?php } ?> <div id="commentbody-<?php comment_ID(); ?> "> <?php comment_text(); ?> </div> </div></div> <div class="b"><div></div></div> </div> <?php //</li> , WP, as strange as this is, adds it automatically }
function onemozilla_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; $comment_type = get_comment_type(); $date_format = get_option("date_format"); $time_format = get_option("time_format"); ?> <li id="comment-<?php comment_ID(); ?> " <?php comment_class('hentry'); ?> > <?php if ($comment_type == 'trackback') { ?> <h3 class="entry-title"><?php _e('Trackback from ', 'onemozilla'); ?> <cite><?php esc_html(comment_author_link()); ?> </cite> <?php /* L10N: Trackback headings read "Trackback from <Site> on <Date> at <Time>:" */ ?> <span class="comment-meta"><?php _e('on', 'onemozilla'); ?> <a href="<?php echo htmlspecialchars(get_comment_link($comment->comment_ID)); ?> " rel="bookmark" title=" <?php _e('Permanent link to this comment by ', 'onemozilla'); comment_author(); ?> "> <time class="published" datetime="<?php comment_date('Y-m-d'); ?> " title="<?php comment_date('Y-m-d'); ?> "> <?php /* L10N: Trackback headings read "Trackback from <Site> on <Date> at <Time>:" */ ?> <?php printf(__('%1$s at %2$s', 'onemozilla'), get_comment_date($date_format), get_comment_time($time_format)); ?> </time></a>:</span></time></a>:</span> </h3> <?php } elseif ($comment_type == 'pingback') { ?> <h3 class="entry-title"><?php _e('Pingback from ', 'onemozilla'); ?> <cite><?php esc_html(comment_author_link()); ?> </cite> <?php /* L10N: Pingback headings read "Pingback from <Site> on <Date> at <Time>:" */ ?> <span class="comment-meta"><?php _e('on', 'onemozilla'); ?> <a href="<?php echo htmlspecialchars(get_comment_link($comment->comment_ID)); ?> " rel="bookmark" title="<?php _e('Permanent link to this comment by ', 'onemozilla'); comment_author(); ?> "> <time class="published" datetime="<?php comment_date('Y-m-d'); ?> " title="<?php comment_date('Y-m-d'); ?> "> <?php /* L10N: Pingback headings read "Pingback from <Site> on <Date> at <Time>:" */ ?> <?php printf(__('%1$s at %2$s', 'onemozilla'), get_comment_date($date_format), get_comment_time($time_format)); ?> </time></a>:</span></time></a>:</span> </h3> <?php } else { ?> <?php if ($comment->comment_author_url != "http://" && $comment->comment_author_url != "") { // if author has a link ?> <h3 class="entry-title vcard"> <a href="<?php comment_author_url(); ?> " class="url" rel="nofollow external" title="<?php esc_html(comment_author_url()); ?> "> <cite class="author fn"><?php esc_html(comment_author()); ?> </cite> <?php if (function_exists('get_avatar')) { echo '<span class="photo">' . get_avatar($comment, 48) . '</span>'; } ?> </a> <span class="comment-meta"> <?php /* L10N: Comment headings read "<Name> wrote on <Date> at <Time>:" */ ?> <?php _e('wrote on', 'onemozilla'); ?> <a href="<?php echo htmlspecialchars(get_comment_link($comment->comment_ID)); ?> " rel="bookmark" title="<?php _e('Permanent link to this comment by ', 'onemozilla'); comment_author(); ?> "> <time class="published" datetime="<?php comment_date('Y-m-d'); ?> " title="<?php comment_date('Y-m-d'); ?> "> <?php /* L10N: Comment headings read "<Name> wrote on <Date> at <Time>:" */ ?> <?php printf(__('%1$s at %2$s', 'onemozilla'), get_comment_date($date_format), get_comment_time($time_format)); ?> </time></a>:</span></time></a>:</span> </h3> <?php } else { // author has no link ?> <h3 class="entry-title vcard"> <cite class="author fn"><?php esc_html(comment_author()); ?> </cite> <?php if (function_exists('get_avatar')) { echo '<span class="photo">' . get_avatar($comment, 48) . '</span>'; } ?> <span class="comment-meta"><?php _e('wrote on', 'onemozilla'); ?> <a href="<?php echo htmlspecialchars(get_comment_link($comment->comment_ID)); ?> " rel="bookmark" title="<?php _e('Permanent link to this comment by ', 'onemozilla'); comment_author(); ?> "> <time class="published" datetime="<?php comment_date('Y-m-d'); ?> " title="<?php comment_date('Y-m-d'); ?> "> <?php /* L10N: Comment headings read "<Name> wrote on <Date> at <Time>:" */ ?> <?php printf(__('%1$s at %2$s', 'onemozilla'), get_comment_date($date_format), get_comment_time($time_format)); ?> </time></a>:</span> </h3> <?php } ?> <?php } ?> <?php if ($comment->comment_approved == '0') { ?> <p class="mod"><strong><?php _e('Your comment is awaiting moderation.', 'onemozilla'); ?> </strong></p> <?php } ?> <blockquote class="entry-content"> <?php esc_html(comment_text()); ?> </blockquote> <?php if (get_option('thread_comments') == true || current_user_can('edit_post', $comment->comment_post_ID)) { ?> <p class="comment-util"><?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth']))); ?> <?php if (current_user_can('edit_post', $comment->comment_post_ID)) { ?> <span class="edit"><?php edit_comment_link(__('Edit Comment', 'onemozilla'), '', ''); ?> </span><?php } ?> </p> <?php } }
function kite_comment_format($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?> <li <?php comment_class(); ?> class="comment" id="comment-<?php echo esc_attr(comment_ID()); ?> "> <div class="commentinfo"> <div class="left profile"> <a target="_blank" href="<?php comment_author_url(); ?> "><img src="//0.gravatar.com/avatar/<?php echo esc_attr(md5($comment->comment_author_email)); ?> ?s=96" class="gravatar" alt="<?php comment_author(); ?> "></a> </div> <div class="left"> <span><?php esc_html_e('Posted at', 'kite'); ?> <?php comment_time(); ?> <?php comment_date(); ?> </span> <h5><a target="_blank" href="<?php comment_author_url(); ?> "><?php comment_author(); ?> </a></h5> </div> <div class="buttons right"> <?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth']))); ?> <div class="smallrounded tall blue isauthor"><?php esc_html_e('Author', 'kite'); ?> </div> </div> </div> <div class="body"> <?php comment_text(); ?> <?php if ($comment->comment_approved == '0') { ?> <p><i class="fa fa-info-circle"></i><em> <?php esc_html_e('Your comment is awaiting moderation.', 'kite'); ?> .</em></p> <?php } ?> </div> <?php }
/** START_EL */ function start_el(&$output, $comment, $depth, $args, $id = 0) { $depth++; $GLOBALS['comment_depth'] = $depth; $GLOBALS['comment'] = $comment; $ocommentmail = get_comment_author_email(); ?> <div class="media well"> <a class="pull-left" href="<?php comment_author_url(); ?> " target="_blank"> <?php echo origines_get_avatar($ocommentmail, $args['avatar_size']); ?> </a> <div class="media-body"> <?php if ($comment->comment_approved == '0') { ?> <em class="comment-awaiting-moderation"><?php _e('Your comment is awaiting moderation.', 'origines'); ?> </em> <br /> <?php } ?> <h4 class="comment-heading media-heading pull-left"><?php comment_author_link(); ?> </h4> <div class="muted comment-meta commentmetadata pull-right"> <small><em><?php /* translators: 1: date, 2: time */ printf(__('%1$s - %2$s', 'origines'), get_comment_date(), get_comment_time()); edit_comment_link(__('(Edit)', 'origines'), ' '); ?> </em></small> </div><!-- .comment-meta .commentmetadata --> <div class="clearfix"></div> <div class="comment-body"><?php comment_text(); ?> </div> <div class="reply"> <?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth']))); ?> </div><!-- .reply --> <?php }
function custom_comments($comment, $args, $depth) { $GLOBALS['comment'] = $comment; global $commentcount; if (!$commentcount) { $commentcount = 0; } ?> <li class="comment <?php if ($comment->comment_author_email == get_the_author_email()) { echo 'admincomment'; } else { echo 'regularcomment'; } ?> " id="comment-<?php comment_ID(); ?> "> <div class="author"> <div class="pic"> <?php echo get_avatar($comment, 32); ?> </div> <div class="name"> <?php if (get_comment_author_url()) { ?> <a id="commentauthor-<?php comment_ID(); ?> " class="url" href="<?php comment_author_url(); ?> " rel="external nofollow"><?php comment_author(); ?> </a> <?php } else { ?> <span id="commentauthor-<?php comment_ID(); ?> "><?php comment_author(); ?> </span> <?php } ?> </div> </div> <div class="info"> <div class="date"> <?php printf(__('%1$s at %2$s', 'inove'), get_comment_time(get_option('date_format')), get_comment_time(get_option('time_format'))); ?> | <a href="#comment-<?php comment_ID(); ?> "><?php printf('#%1$s', ++$commentcount); ?> </a> </div> <div class="act"> <?php echo comment_reply_link(array('depth' => $depth, 'max_depth' => $args['max_depth'], 'after' => ' | ')); ?> <a href="javascript:void(0);" onclick="MGJS_CMT.quote('commentauthor-<?php comment_ID(); ?> ', 'comment-<?php comment_ID(); ?> ', 'commentbody-<?php comment_ID(); ?> ', 'comment');"><?php _e('Quote', 'inove'); ?> </a> <?php edit_comment_link(__('Edit', 'inove'), ' | ', ''); ?> </div> <div class="fixed"></div> <div class="content"> <?php if ($comment->comment_approved == '0') { ?> <p><small><?php _e('Your comment is awaiting moderation.', 'inove'); ?> </small></p> <?php } ?> <div id="commentbody-<?php comment_ID(); ?> "> <?php comment_text(); ?> </div> </div> </div> <div class="fixed"></div> </li> <?php }
?> "> <?php add_filter('get_comment_author_link', 'cfct_hcard_ping_author_link'); printf(__('<cite class="vcard author entry-title">%s <span class="linked-to-this-post">linked to this post</span></cite>', 'carrington-mobile'), get_comment_author_link()); remove_filter('get_comment_author_link', 'cfct_hcard_ping_author_link'); ?> <span class="date"> <span class="on"><?php _e('on'); ?> </span> <abbr class="published" title="<?php comment_date('Y-m-d\\TH:i:sO'); ?> "><?php comment_date(); ?> </abbr> </span> <blockquote class="entry-summary" cite="<?php comment_author_url(); ?> "><?php comment_text(); ?> </blockquote> <?php edit_comment_link(__('Edit This', 'carrington-mobile'), '<div class="comment-editlink">', '</div>'); ?> </div><!--.ping-->
function dsq_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; switch ($comment->comment_type) { case '': ?> <li <?php comment_class(); ?> id="dsq-comment-<?php echo comment_ID(); ?> "> <div id="dsq-comment-header-<?php echo comment_ID(); ?> " class="dsq-comment-header"> <cite id="dsq-cite-<?php echo comment_ID(); ?> "> <?php if (comment_author_url()) { ?> <a id="dsq-author-user-<?php echo comment_ID(); ?> " href="<?php echo comment_author_url(); ?> " target="_blank" rel="nofollow"><?php echo comment_author(); ?> </a> <?php } else { ?> <span id="dsq-author-user-<?php echo comment_ID(); ?> "><?php echo comment_author(); ?> </span> <?php } ?> </cite> </div> <div id="dsq-comment-body-<?php echo comment_ID(); ?> " class="dsq-comment-body"> <div id="dsq-comment-message-<?php echo comment_ID(); ?> " class="dsq-comment-message"><?php echo wp_filter_kses(comment_text()); ?> </div> </div> <?php break; case 'pingback': case 'trackback': ?> <li class="post pingback"> <p><?php echo dsq_i('Pingback:'); ?> <?php comment_author_link(); ?> (<?php edit_comment_link(dsq_i('Edit'), ' '); ?> )</p> </li> <?php break; } }
/** * * TEMPLATE COMMENT FOR SINGLE POST * @param array $comments , $args , int $depth * @author ThaiNT * @since 1.0 * **/ function qa_comment_post_template($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?> <li class="et-comment" id="comment-<?php echo $comment->comment_ID; ?> "> <div class="et-comment-left"> <div class="et-comment-thumbnail"> <?php echo et_get_avatar($comment->user_id); ?> </div> </div> <div class="et-comment-right"> <div class="et-comment-header"> <a href="<?php comment_author_url(); ?> "><strong class="et-comment-author"><?php comment_author(); ?> </strong></a> <span class="et-comment-time icon" data-icon="t"><?php comment_date(); ?> </span> </div> <div class="et-comment-content"> <?php echo esc_attr(get_comment_text($comment->comment_ID)); ?> <p class="et-comment-reply"><?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth']))); ?> </p> </div> </div> <div class="clearfix"></div> <?php }
function frank_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?> <li <?php comment_class('row'); ?> id="li-comment-<?php comment_ID(); ?> "> <div class="content nine columns push-three"> <?php if ($comment->comment_approved == '0') { echo "<span id='comment_moderation'>Your comment is awaiting moderation.</span>"; } ?> <?php comment_text(); ?> <div class="reply"> <?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth']))); ?> </div> </div> <div class="comment-info three columns pull-nine"> <ul class='metadata vertical'> <li class="date"><time datetime="<?php the_time('Y-m-d'); ?> "><?php comment_date('F d, Y g:i A'); ?> </time></li> <li class='author' id="vcard-<?php comment_ID(); ?> ">By <a class="url fn" href="<?php comment_author_url(); ?> "><?php comment_author(); ?> </a></li> <li><?php edit_comment_link('edit'); ?> </li> </ul> </div> <?php }
/** * Comments */ function grve_comments($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?> <li class="grve-comment-item"> <!-- Comment --> <article id="comment-<?php comment_ID(); ?> " <?php comment_class(); ?> > <?php echo get_avatar($comment, 50); ?> <div class="grve-comment-content"> <h6 class="grve-author"> <a href="<?php comment_author_url($comment->comment_ID); ?> "><?php comment_author(); ?> </a> </h6> <div class="grve-comment-date"> <a href="<?php echo htmlspecialchars(get_comment_link($comment->comment_ID)); ?> "><?php printf(' %1$s ' . __('at', GRVE_THEME_TRANSLATE) . ' %2$s', get_comment_date(), get_comment_time()); ?> </a> </div> <?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => __('REPLY', GRVE_THEME_TRANSLATE)))); ?> <?php edit_comment_link(__('EDIT', GRVE_THEME_TRANSLATE), ' ', ''); ?> <?php if ($comment->comment_approved == '0') { ?> <p><?php _e('Your comment is awaiting moderation.', GRVE_THEME_TRANSLATE); ?> </p> <?php } ?> <?php comment_text(); ?> </div> </article> <!-- </li> is added by WordPress automatically --> <?php }
/** * File Name: theme_comment.php * * Theme Custom Comment Template * */ function theme_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; switch ($comment->comment_type) { case 'pingback': case 'trackback': ?> <li class="pingback"> <p><?php _e('Pingback:', 'framework'); ?> <?php comment_author_link(); edit_comment_link(__('(Edit)', 'framework'), ' '); ?> </p> </li> <?php break; default: ?> <li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?> "> <article id="comment-<?php comment_ID(); ?> "> <a href="<?php comment_author_url(); ?> "><?php echo get_avatar($comment, 94); ?> </a> <div class="comment-detail-wrap"> <div class="comment-meta"> <h5 class="author"><cite class="fn"><?php printf(__('%s', 'framework'), sprintf('<cite class="fn">%s</cite>', get_comment_author_link())); ?> </cite></h5> <a href="<?php echo esc_url(get_comment_link($comment->comment_ID)); ?> "> <time datetime="<?php comment_time('c'); ?> "> <?php printf(__('%1$s at %2$s', 'framework'), get_comment_date(), get_comment_time()); ?> </time> </a> <!--<p> <?php /*_e('on','framework'); */ ?> <a href="<?php /*echo esc_url( get_comment_link( $comment->comment_ID ) ); */ ?> "> <time datetime="<?php /*comment_time( 'c' ); */ ?> "> <?php /*printf( __( '%1$s at %2$s', 'framework' ), get_comment_date(), get_comment_time() ); */ ?> </time> </a> <?php /*_e('said','framework'); */ ?> </p>--> </div> <div class="comment-body"> <?php comment_text(); ?> <?php comment_reply_link(array_merge(array('before' => ''), array('depth' => $depth, 'max_depth' => $args['max_depth']))); ?> </div> </div> </article><!-- end of comment --> <?php break; } }
function start_el(&$output, $comment, $depth = 0, $args = array(), $id = 0) { $depth++; $GLOBALS['comment_depth'] = $depth; $GLOBALS['comment'] = $comment; $parent_class = empty($args['has_children']) ? '' : 'parent'; if ('article' == $args['style']) { $tag = 'article'; $add_below = 'comment'; } else { $tag = 'article'; $add_below = 'comment'; } ?> <article <?php comment_class(empty($args['has_children']) ? '' : 'parent'); ?> id="comment-<?php comment_ID(); ?> " itemscope itemtype="http://schema.org/Comment"> <figure class="gravatar"><?php echo get_avatar($comment, 65, '', 'Author’s gravatar'); ?> </figure> <div class="comment-meta post-meta" role="complementary"> <h2 class="comment-author"> <a class="comment-author-link" href="<?php comment_author_url(); ?> " itemprop="author"><?php comment_author(); ?> </a> </h2> <time class="comment-meta-item" datetime="<?php comment_date('Y-m-d'); ?> T<?php comment_time('H:iP'); ?> " itemprop="datePublished"><?php comment_date('jS F Y'); ?> , <a href="#comment-<?php comment_ID(); ?> " itemprop="url"><?php comment_time(); ?> </a></time> <?php edit_comment_link('<p class="comment-meta-item">Edit this comment</p>', '', ''); ?> <?php if ($comment->comment_approved == '0') { ?> <p class="comment-meta-item">Your comment is awaiting moderation.</p> <?php } ?> </div> <div class="comment-content post-content" itemprop="text"> <?php comment_text(); ?> <?php comment_reply_link(array_merge($args, array('add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth']))); ?> </div> <?php }
function mystique_list_pings($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?> <li class="ping" id="comment-<?php comment_ID(); ?> "><a class="websnapr" href="<?php comment_author_url(); ?> " rel="nofollow"><?php comment_author(); ?> </a> <?php }
function custom_comments($comment, $args, $depth) { $GLOBALS['comment'] = $comment; global $commentcount; if (!$commentcount) { $commentcount = 0; } ?> <li class="comment <?php if ($comment->comment_author_email == get_the_author_email()) { echo 'admincomment'; } else { echo 'regularcomment'; } ?> " id="comment-<?php comment_ID(); ?> "> <div class="author"> <div class="pic"> <?php if (function_exists('get_avatar') && get_option('show_avatars')) { echo get_avatar($comment, 32); } ?> </div> <div class="name"> <?php if (get_comment_author_url()) { ?> <a id="commentauthor-<?php comment_ID(); ?> " class="url" href="<?php comment_author_url(); ?> " rel="external nofollow"> <?php } else { ?> <span id="commentauthor-<?php comment_ID(); ?> "> <?php } ?> <?php comment_author(); ?> <?php if (get_comment_author_url()) { ?> </a> <?php } else { ?> </span> <?php } ?> </div> </div> <div class="info"> <div class="date"> <?php printf(__('%1$s at %2$s', 'inove'), get_comment_time(__('F jS, Y', 'inove')), get_comment_time(__('H:i', 'inove'))); ?> | <a href="#comment-<?php comment_ID(); ?> "><?php printf('#%1$s', ++$commentcount); ?> </a> </div> <div class="act"> <a href="javascript:void(0);" onclick="MGJS_CMT.reply('commentauthor-<?php comment_ID(); ?> ', 'comment-<?php comment_ID(); ?> ', 'comment');"><?php _e('Reply', 'inove'); ?> </a> | <a href="javascript:void(0);" onclick="MGJS_CMT.quote('commentauthor-<?php comment_ID(); ?> ', 'comment-<?php comment_ID(); ?> ', 'commentbody-<?php comment_ID(); ?> ', 'comment');"><?php _e('Quote', 'inove'); ?> </a> <?php if (function_exists("qc_comment_edit_link")) { qc_comment_edit_link('', ' | ', '', __('Edit', 'inove')); } edit_comment_link(__('Advanced edit', 'inove'), ' | ', ''); ?> </div> <div class="fixed"></div> <div class="content"> <?php if ($comment->comment_approved == '0') { ?> <p><small><?php _e('Your comment is awaiting moderation.', 'inove'); ?> </small></p> <?php } ?> <div id="commentbody-<?php comment_ID(); ?> "> <?php comment_text(); ?> </div> </div> </div> <div class="fixed"></div> </li> <?php }
function fullcircle_bootstrap_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; extract($args, EXTR_SKIP); if ('article' == $args['style']) { $tag = 'article'; $add_below = 'comment'; } else { $tag = 'article'; $add_below = 'comment'; } ?> <<?php echo $tag; ?> <?php comment_class(empty($args['has_children']) ? '' : 'parent'); ?> id="comment-<?php comment_ID(); ?> " itemscope itemtype="http://schema.org/Comment"> <div class="panel panel-default"> <div class="comment-meta post-meta panel-heading" role="complementary"> <figure class="gravatar circle"><?php echo get_avatar($comment, 38, '', 'Author’s gravatar'); ?> </figure> <h3 class="comment-author panel-title"> <a class="comment-author-link" href="<?php comment_author_url(); ?> " itemprop="author"><?php comment_author(); ?> </a> </h3> <time class="comment-meta-item" datetime="<?php comment_date('Y-m-d'); ?> T<?php comment_time('H:iP'); ?> " itemprop="datePublished"><?php comment_date('jS F Y'); ?> , <a href="#comment-<?php comment_ID(); ?> " itemprop="url"><?php comment_time(); ?> </a></time> <?php edit_comment_link('<p class="comment-meta-item">Edit this comment</p>', '', ''); ?> <?php if ($comment->comment_approved == '0') { ?> <p class="comment-meta-item">Your comment is awaiting moderation.</p> <?php } ?> </div> </div> <div class="comment-content post-content panel-body" itemprop="text"> <?php comment_text(); ?> <div class="comment-reply"> <?php comment_reply_link(array_merge($args, array('add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth']))); ?> </div> </div> <?php }
function custom_comments($comment, $args, $depth) { $GLOBALS['comment'] = $comment; global $commentcount; if (!$commentcount) { $commentcount = 0; } ?> <li id="comment-<?php comment_ID(); ?> " class="comment<?php if ($comment->comment_type == 'pingback' || $comment->comment_type == 'trackback') { echo ' pingcomment'; } else { if ($comment->comment_author_email == get_the_author_email()) { echo ' admincomment'; } else { echo ' regularcomment'; } } ?> "> <div class="info<?php if ($comment->comment_type == 'pingback' || $comment->comment_type == 'trackback') { echo ' pinginfo'; } else { if ($comment->comment_author_email == get_the_author_email()) { echo ' admininfo'; } else { echo ' regularinfo'; } } ?> "> <?php if ($comment->comment_type != 'pingback' && $comment->comment_type != 'trackback') { // Support avatar for WordPress 2.5 or higher if (function_exists('get_avatar') && get_option('show_avatars')) { echo '<div class="pic">'; echo get_avatar($comment, 24); echo '</div>'; // Support Gravatar for WordPress 2.3.3 or lower } else { if (function_exists('gravatar')) { echo '<div class="pic"><img class="avatar" src="'; gravatar("G", 24); echo '" alt="avatar" /></div>'; } } } ?> <div class="author"> <?php if (get_comment_author_url()) { ?> <a class="authorname" id="commentauthor-<?php comment_ID(); ?> " href="<?php comment_author_url(); ?> " rel="external nofollow"> <?php } else { ?> <span class="authorname" id="commentauthor-<?php comment_ID(); ?> "> <?php } ?> <?php comment_author(); ?> <?php if (get_comment_author_url()) { ?> </a> <?php } else { ?> </span> <?php } ?> <div class="date"><?php printf(__('%1$s at %2$s', 'blocks2'), get_comment_time(__('M jS, Y', 'blocks2')), get_comment_time(__('H:i', 'blocks2'))); ?> </div> </div> <div class="count"> <?php if ($comment->comment_type != 'pingback' && $comment->comment_type != 'trackback') { ?> <?php if (!get_option('thread_comments')) { ?> <a href="javascript:void(0);" onclick="MGJS_CMT.reply('commentauthor-<?php comment_ID(); ?> ', 'comment-<?php comment_ID(); ?> ', 'comment');"><?php _e('Reply', 'blocks2'); ?> </a> | <?php } else { ?> <?php comment_reply_link(array('depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => __('Reply', 'blocks2'), 'after' => ' | ')); ?> <?php } ?> <a href="javascript:void(0);" onclick="MGJS_CMT.quote('commentauthor-<?php comment_ID(); ?> ', 'comment-<?php comment_ID(); ?> ', 'commentbody-<?php comment_ID(); ?> ', 'comment');"><?php _e('Quote', 'blocks2'); ?> </a> | <?php } ?> <?php edit_comment_link(__('Edit', 'blocks2'), '', ' | '); ?> <a href="#comment-<?php comment_ID(); ?> "><?php printf('#%1$s', ++$commentcount); ?> </a> </div> <div class="fixed"></div> </div> <?php if ($comment->comment_type != 'pingback' && $comment->comment_type != 'trackback') { ?> <div class="content"> <?php if ($comment->comment_approved == '0') { ?> <p><small>Your comment is awaiting moderation.</small></p> <?php } ?> <div id="commentbody-<?php comment_ID(); ?> "> <?php comment_text(); ?> </div> </div> <?php } ?> <div class="fixed"></div> <?php }
function ocmx_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?> <li class="comment clearfix" id="comment-<?php echo $comment->comment_ID; ?> "> <div class="comment-author comment-avatar vcard"> <?php echo get_avatar($comment, $size = '80'); ?> </div> <div class="comment-post commentmetadata clearfix"> <h4 class="comment-name"><a href="<?php comment_author_url(); ?> " class="commentor_url" rel="nofollow"><?php comment_author(); ?> </a></h4> <h5 class="date"> <?php printf(__('%1$s at %2$s'), get_comment_date(), get_comment_time()); ?> </h5> <?php if ($comment->comment_approved == '0') { ?> <em><?php _e('Your comment is awaiting moderation.', 'ocmx'); ?> </em> <br /> <?php } ?> <?php comment_text(); ?> <?php edit_comment_link(__('(Edit)', 'ocmx'), ' ', ''); ?> <span class="reply-to-comment"><?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth']))); ?> </span> </div> <div id="new-reply-<?php echo $comment->comment_ID; ?> " style="display: none;" class="threaded-comments reply"></div> </li> <?php }
function custom_comments($comment, $args, $depth) { $GLOBALS['comment'] = $comment; global $commentcount; if (!$commentcount) { $commentcount = 0; } ?> <li id="comment-<?php comment_ID(); ?> " class="comment"> <div class="cheader <?php if ($comment->comment_author_email == get_the_author_email()) { echo 'adminheader'; } else { echo 'regularheader'; } ?> "> <?php $author_class = ''; if (function_exists('get_avatar') && get_option('show_avatars')) { $author_class = 'with_avatar'; echo get_avatar($comment, 32); } ?> <div class="item"> <span class="lou"><a href="#comment-<?php comment_ID(); ?> "><?php printf('#%1$s', ++$commentcount); ?> </a></span> <span class="cauthor <?php echo $author_class; ?> "> <?php if (get_comment_author_url()) { ?> <a id="commentauthor-<?php comment_ID(); ?> " href="http://www.liangwei.cc/go/?url=<?php comment_author_url(); ?> " rel="external nofollow" title="<?php comment_author(); ?> " target="_blank"> <?php } else { ?> <span id="commentauthor-<?php comment_ID(); ?> " title="<?php comment_author(); ?> "> <?php } ?> <?php comment_author(); ?> <?php if (get_comment_author_url()) { ?> </a> <?php } else { ?> </span> <?php } ?> </span> <span class="items"> <?php if (!get_option('thread_comments')) { ?> <a href="javascript:void(0);" onclick="MGJS_CMT.reply('commentauthor-<?php comment_ID(); ?> ', 'comment-<?php comment_ID(); ?> ', 'comment');"><?php _e('Reply', 'xiaohan'); ?> </a> | <?php } else { ?> <?php comment_reply_link(array('depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => __('Reply', 'xiaohan'), 'after' => ' | ')); ?> <?php } ?> <a href="javascript:void(0);" onclick="MGJS_CMT.quote('commentauthor-<?php comment_ID(); ?> ', 'comment-<?php comment_ID(); ?> ', 'commentbody-<?php comment_ID(); ?> ', 'comment');"><?php _e('Quote', 'xiaohan'); ?> </a> <?php edit_comment_link(__('Edit', 'xiaohan'), ' | ', ''); ?> </span> <span class="cdate"> 评论时间 : <?php printf(__('%1$s at %2$s', 'xiaohan'), get_comment_date(__('Y-m-d', 'xiaohan')), get_comment_time(__(' H:i', 'xiaohan'))); ?> <!-- // if ( $is_admin){ // $city = ' 来自管理员的回复' ; // } else { // // $city = get_comment_meta( $comment->comment_ID, 'city_name', true ); // if( !$city ) { // $city = wpgo_get_city ( $comment->comment_author_IP ); // // if ( $city ) { // update_comment_meta( $comment->comment_ID, 'city_name', $city ); // } else { // // $city = '火星'; // } // } // $city = " 欢迎来自{$city}的网友"; //} // //echo $city ; // --> </span> <div class="clear"></div> </div> </div> <div class="cbody" id="commentbody-<?php comment_ID(); ?> "> <?php comment_text(); ?> </div> <div class="clear"></div> <?php }
function smittenkitchen_custom_comments($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?> <li <?php comment_class(); ?> id="comment-<?php comment_ID(); ?> "> <article id="div-comment-<?php comment_ID(); ?> " class="comment-body"> <div class="comment-author vcard"> <b class="fn author-name"> <?php if (get_comment_author_url()) { ?> <a href="<?php comment_author_url(); ?> "><?php comment_author(); ?> </a> <?php } else { ?> <?php comment_author(); ?> <?php } ?> </b> </div><!-- .vcard --> <div class="comment-content"> <?php comment_text(); ?> </div> <footer class="comment-footer comment-metadata"> <time <?php comment_time('c'); ?> class="comment-time"> <a href=" <?php comment_link(); ?> "> <span class="date"><?php comment_date(); ?> </span> <?php echo esc_html_x('at', 'smittenkitchen', 'used between date and time'); ?> <span class="time"><?php comment_time(); ?> </span> </a> </time> <span class="edit-link"> <?php edit_comment_link(esc_html__('Edit', 'smittenkitchen')); ?> </span> <span class="reply-link"> <?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth']))); ?> </span><!-- .reply --> </footer><!-- .comment-footer --> </article><!-- #comment-<?php comment_ID(); ?> --> </li> <?php // End the default styling of comment }
function bordeaux_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?> <li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?> "> <div class="comments-item" id="comment-<?php comment_ID(); ?> "> <div class="comments-header"> <div class="user"><a href="<?php if (comment_author_url()) { echo comment_author_url(); } else { echo "#"; } ?> " class="user"><?php echo get_avatar($comment, 36); ?> </a><?php printf(__('%1$s', 'bordeaux'), get_comment_author_link()); ?> </div> <h2 class="time"><?php printf(__('%1$s<span>•</span>%2$s', 'bordeaux'), get_comment_date("n / j / Y"), get_comment_time()); ?> </h2> </div> <?php if ($comment->comment_approved == '0') { ?> <em style="padding-left:50px;"><?php printf(__('Your comment is awaiting moderation.', 'bordeaux')); ?> </em> <br /> <?php } ?> <?php comment_text(); ?> <p class="reply"><?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => '<b>Reply</b>'))); ?> <?php edit_comment_link(__('(Edit)'), ' ', ''); ?> </p> </div> <?php }
function custom_comments($comment, $args, $depth) { $GLOBALS['comment'] = $comment; global $commentcount; if (!$commentcount) { $commentcount = 0; } ?> <li class="comment <?php if ($comment->comment_author_email == get_the_author_meta('email')) { echo 'admin-comment'; } else { echo 'guest-comment'; } ?> " id="comment-<?php comment_ID(); ?> "> <div class="comment-meta"> <div class="comment-meta-left"> <?php if (function_exists('get_avatar') && get_option('show_avatars')) { echo get_avatar($comment, 35); } ?> <ul class="comment-name-date"> <li class="comment-name"> <?php if (get_comment_author_url()) { ?> <a id="commentauthor-<?php comment_ID(); ?> " class="url <?php if ($comment->comment_author_email == get_the_author_meta('email')) { echo 'admin-url'; } else { echo 'guest-url'; } ?> " href="<?php comment_author_url(); ?> " rel="external nofollow"> <?php } else { ?> <span id="commentauthor-<?php comment_ID(); ?> "> <?php } ?> <?php comment_author(); ?> <?php if (get_comment_author_url()) { ?> </a> <?php } else { ?> </span> <?php } $options = get_option('flat_options'); ?> </li> <li class="comment-date"><?php echo get_comment_time(__('F jS, Y', 'flat')); if ($options['time_stamp']) { echo get_comment_time(__(' g:ia', 'flat')); } ?> </li> </ul> </div> <ul class="comment-act"> <?php if (function_exists('comment_reply_link')) { if (get_option('thread_comments') == '1') { ?> <li class="comment-reply"><?php comment_reply_link(array_merge($args, array('add_below' => 'comment-content', 'depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => '<span><span>' . __('REPLY', 'flat') . '</span></span>'))); ?> </li> <?php } else { ?> <li class="comment-reply"><a href="javascript:void(0);" onclick="MGJS_CMT.reply('commentauthor-<?php comment_ID(); ?> ', 'comment-<?php comment_ID(); ?> ', 'comment');"><?php _e('REPLY', 'flat'); ?> </a></li> <?php } } else { ?> <li class="comment-reply"><a href="javascript:void(0);" onclick="MGJS_CMT.reply('commentauthor-<?php comment_ID(); ?> ', 'comment-<?php comment_ID(); ?> ', 'comment');"><?php _e('REPLY', 'flat'); ?> </a></li> <?php } ?> <li class="comment-quote"><a href="javascript:void(0);" onclick="MGJS_CMT.quote('commentauthor-<?php comment_ID(); ?> ', 'comment-<?php comment_ID(); ?> ', 'comment-content-<?php comment_ID(); ?> ', 'comment');"><?php _e('QUOTE', 'flat'); ?> </a></li> <?php edit_comment_link(__('EDIT', 'flat'), '<li class="comment-edit">', '</li>'); ?> </ul> </div> <div class="comment-content" id="comment-content-<?php comment_ID(); ?> "> <?php if ($comment->comment_approved == '0') { ?> <span class="comment-note"><?php _e('Your comment is awaiting moderation.', 'flat'); ?> </span> <?php } ?> <?php comment_text(); ?> </div> <?php }
function start_el(&$output, $comment, $depth = 0, $args = array(), $id = 0) { $depth++; $GLOBALS['comment_depth'] = $depth; $GLOBALS['comment'] = $comment; $parent_class = empty($args['has_children']) ? '' : 'parent'; if ('article' == $args['style']) { $tag = 'article'; $add_below = 'comment'; } else { $tag = 'article'; $add_below = 'comment'; } ?> <li> <div <?php comment_class((empty($args['has_children']) ? '' : 'parent') . ' comment-box clearfix'); ?> itemprop="comment" itemscope itemtype="http://schema.org/Comment" id="comment-<?php comment_ID(); ?> "> <div class="avatar"><?php echo get_avatar($comment, 65); ?> </div> <div class="comment-content" role="complementary"> <div class="comment-meta" datetime="<?php comment_date('Y-m-d'); ?> T<?php comment_time('H:iP'); ?> " itemprop="datePublished"> <span class="comment-by"><a class="comment-author-link" href="<?php echo comment_author_url(); ?> " itemprop="author"><?php comment_author(); ?> </a></span> <span class="comment-date"><?php echo sprintf(__('%s at %s', 'the-margo'), get_comment_date('jS F Y'), get_comment_time()); ?> </span> <span class="reply-link"><?php comment_reply_link(array_merge($args, array('add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth']))); ?> </span> <!-- <a href="#comment-<?php comment_ID(); ?> " itemprop="url">Reply</a> --> <?php edit_comment_link(__('Edit this comment', 'the-margo'), '', ''); ?> </div> <?php if ($comment->comment_approved == '0') { ?> <p class="comment-meta-item">Your comment is awaiting moderation.</p> <?php } ?> <p><?php comment_text(); ?> </p> </div> </div> <?php }