Example #1
0
function edu7_comment($comment, $args, $depth)
{
    ?>
<div class="comment-img"><?php 
    echo get_avatar($comment, $size = '45');
    ?>
    </div>
    <div class="comments-box">
	<?php 
    comment_text();
    ?>
  	<?php 
    if ($comment->comment_approved == '0') {
        ?>
    	<em><?php 
        _e('Your comment is awaiting moderation.');
        ?>
</em>
    <?php 
    }
    ?>
	<br/><span class="comment-writer"> توسط <?php 
    comment_author();
    ?>
</span><span class="comment-date"><?php 
    comment_date();
    ?>
 - <?php 
    comment_time();
    ?>
    </span> <?php 
    comment_reply_link(array_merge($args, array('before' => '<span class="comment-replay">', 'reply_text' => 'پاسخ', 'after' => '</span>', 'depth' => $depth, 'max_depth' => $args['max_depth'])));
    ?>
    </div><br/><?php 
}
Example #2
0
function mydesign($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    $users = get_users();
    ?>
        <li id="comment-<?php 
    echo comment_id();
    ?>
" class="compost">
             <?php 
    // ユーザーIDを引っ張る
    foreach ($users as $user) {
        //echo $user->display_name.'<br />';
        //echo get_comment_author();
        if ($user->display_name == get_comment_author()) {
            break;
        }
    }
    ?>
                <span class="trick_rounded-img icon_image" style="background: url(<?php 
    echo ps_get_user_profile_image_src($user->ID, 'standard');
    ?>
) no-repeat center center; width: 50px; height: 50px;></span>
				<span class="trick_thumbnail_Image">
					<?php 
    ps_user_profile_image($user->ID, 'thumbnail');
    ?>
				</span>
                <?php 
    ?>
            <div class="commentarea">
            	<?php 
    //改行表示
    $commentstr = '<p>' . get_comment_text() . '</p>';
    $commentstr = preg_replace("/\n/", "<br />", $commentstr);
    echo $commentstr;
    //comment_text();
    ?>
            
            </div>
            
            <p class="cominfo">
                <?php 
    comment_date();
    ?>
                <?php 
    comment_time();
    ?>
                |
                <?php 
    comment_author_link();
    ?>
                <?php 
    comment_reply_link(array_merge($args, array('depth' => $depth, 'reply_text' => '返信', 'before' => ' | ', 'after' => '')));
    ?>
            </p> 
        </li>

<?php 
}
function zl_custom_comment($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    ?>
<li <?php 
    comment_class();
    ?>
 id="li-comment-<?php 
    comment_ID();
    ?>
">

		<div class="medium-1 column norightgap">
			<?php 
    echo get_avatar($comment->comment_author_email, 50);
    ?>
		</div>
		<div class="medium-11 column">
			<div id="comment-<?php 
    comment_ID();
    ?>
">
				<div class="comment-author"><strong><?php 
    printf(__('%s', 'zatolab'), get_comment_author_link());
    ?>
</strong> <?php 
    echo zl_option('lang_on', __('on', 'zatolab'));
    ?>
 <em class="zl_commenttime"><small><?php 
    comment_date();
    ?>
, <?php 
    comment_time('H:i:s');
    ?>
</small></em></div>
				<div class="clear"></div>
				<div class="zl_comment_content">
					<?php 
    comment_text();
    if ($comment->comment_approved == '0') {
        ?>
						<p><em><?php 
        echo zl_option('lang_commoderate', __('Your comment is awaiting moderation.', 'zatolab'));
        ?>
</em></p>
					<?php 
    }
    ?>
					<div class="clear"></div>
					<?php 
    comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'])));
    ?>
				</div>
			</div>
		</div>
		<div class="clear"></div>


<?php 
}
Example #4
0
function stormbringer_comments($comment, $args, $depth) {
  $GLOBALS['comment'] = $comment; ?>
	<li <?php comment_class('media'); ?>>
    <div class="pull-left">
      <div class="comment-avatar vcard">
        <?php echo get_avatar($comment,apply_filters('stormbringer_author_bio_avatar_size', 100) ); ?>
      </div>
    </div>
    <!-- /.comment-avatar -->
    <div class="media-body">
      <div class="comment-message">
        <?php printf(__('<h4 class="media-heading">%s</h4>','stormbringer'), get_comment_author_link()) ?>
        <?php edit_comment_link(__('Edit','stormbringer'),'<span class="edit-comment btn btn-info"><span class="glyphicon glyphicon-pencil"></span>','</span>') ?>

        <?php if ($comment->comment_approved == '0') : ?>
          <div class="alert-message success">
            <p><?php _e('Your comment is awaiting moderation.','stormbringer') ?></p>
          </div>
        <?php endif; ?>

        <?php comment_text() ?>

        <time datetime="<?php echo comment_time('c'); ?>"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php comment_time(esc_attr__( 'F j, Y', 'stormbringer' )); ?> <?php _e('at', 'stormbringer'); ?> <?php comment_time(esc_attr__( 'H:i', 'stormbringer' )); ?> </a></time>

      </div>
    </div>
    <!-- /.comment-message	-->

    <!-- </li> is added by wordpress automatically -->
<?php
}
Example #5
0
function efreetant_comments($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    ?>
  <div id="comment-<?php 
    comment_ID();
    ?>
" <?php 
    comment_class('comment');
    ?>
>
    <article  class="comment">
      <header class="comment-author">
        <?php 
    $bgauthemail = get_comment_author_email();
    ?>
        <img data-gravatar="http://www.gravatar.com/avatar/<?php 
    echo md5($bgauthemail);
    ?>
?s=40" class="avatar" height="40" width="40" src="<?php 
    echo get_template_directory_uri();
    ?>
/images/nothing.gif" />
        <?php 
    printf(__('<cite class="fn">%1$s</cite> %2$s', 'efreetanttheme'), get_comment_author_link(), edit_comment_link(__('(Edit)', 'efreetanttheme'), '  ', ''));
    ?>
        <time datetime="<?php 
    echo comment_time('Y-m-j');
    ?>
"><a href="<?php 
    echo htmlspecialchars(get_comment_link($comment->comment_ID));
    ?>
"><?php 
    comment_time(__('F jS, Y', 'efreetanttheme'));
    ?>
 </a></time>
     </header>
      <?php 
    if ($comment->comment_approved == '0') {
        ?>
        <div class="alert alert-info">
          <p><?php 
        _e('Your comment is awaiting moderation.', 'efreetanttheme');
        ?>
</p>
        </div>
      <?php 
    }
    ?>
      <section class="comment_content">
        <?php 
    comment_text();
    ?>
      </section>
      <?php 
    comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'])));
    ?>
    </article>
<?php 
}
Example #6
0
function mydesign($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    ?>
<li class="compost" id="comment-<?php 
    comment_ID();
    ?>
">
	<div class="combody">
		<?php 
    comment_text();
    ?>
	</div><!-- .combody -->
	<p class="cominfo">
		by <?php 
    comment_author_link();
    ?>
 €<?php 
    comment_date();
    ?>
  <?php 
    comment_time();
    ?>
	</p>
</li>
<?php 
}
Example #7
0
function mytheme_comment($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    ?>
<li <?php 
    comment_class();
    ?>
 id="li-comment-<?php 
    comment_ID();
    ?>
">
	<div id="comment-<?php 
    comment_ID();
    ?>
" class="comment-inner">
  	<figure class="vcard">
    	<?php 
    echo get_avatar($comment, 70);
    ?>
    </figure>
    <div class="comment-container">
	    <div class="commentmeta">
	        <strong><?php 
    comment_author_link();
    ?>
</strong>
	        <span class="authorname">
	            <?php 
    comment_date('M d, Y');
    ?>
 - <?php 
    comment_time('h:i A');
    ?>
 <?php 
    edit_comment_link("Edit", '');
    ?>
	        </span>
	    </div>
	    <div class="comment-text">
	        <?php 
    if ($comment->comment_approved == '0') {
        ?>
	            <em class="awaiting_moderation"><?php 
        _e('Your comment is awaiting moderation.', THB_THEME_NAME);
        ?>
</em>
	        <?php 
    }
    ?>
	        <?php 
    comment_text();
    ?>
	        <?php 
    comment_reply_link(array_merge($args, array('reply_text' => __('Reply', THB_THEME_NAME), 'depth' => $depth, 'max_depth' => $args['max_depth'])));
    ?>
	    </div>
    </div> 
	</div>
<?php 
}
Example #8
0
function webnus_comments($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    ?>
   	<li <?php 
    comment_class();
    ?>
 id="comment-<?php 
    comment_ID();
    ?>
">
<div class="comment-info">	
<?php 
    echo get_avatar($comment, 90);
    ?>
								<cite>
<?php 
    comment_author_link();
    ?>
 <?php 
    _e('Says', 'WEBNUS_TEXT_DOMAIN');
    ?>
: 
<span class="comment-data"><a href="#comment-<?php 
    comment_ID();
    ?>
" title=""><?php 
    comment_date('F j, Y');
    ?>
 at <?php 
    comment_time('g:i a');
    ?>
</a><?php 
    edit_comment_link('Edit', ' | ', '');
    ?>
</span>
								</cite>
							</div>
							<div class="comment-text">
				<?php 
    if ($comment->comment_approved == '0') {
        ?>
					<p><em><?php 
        _e('Your comment is awaiting moderation.', 'WEBNUS_TEXT_DOMAIN');
        ?>
</em></p>
				<?php 
    }
    ?>
				<?php 
    comment_text();
    ?>
								<div class="reply">
		<?php 
    comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'])));
    ?>
		 						</div>	
							</div>
<?php 
}
Example #9
0
function as_function_comments_better($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    ?>

    <li <?php 
    comment_class();
    ?>
 id="as-li-comment-<?php 
    comment_ID();
    ?>
">
        <div class="as-comment" id="as-comment-<?php 
    comment_ID();
    ?>
">

            <div class="as-comment-content">					
                <?php 
    echo get_avatar($comment, $size = '65');
    ?>
                <div class="as-comment-meta">
                    <h4><?php 
    comment_author_link();
    ?>
                        <span><?php 
    comment_date();
    ?>
 at <?php 
    comment_time();
    ?>
</span>
                    </h4> 		
                </div>	
                <div class="as-comment-text">
                    <?php 
    comment_text();
    ?>
                    <?php 
    if ($comment->comment_approved == '0') {
        ?>
                        <p style="font-style:italic;"><?php 
        _e('Your comment is awaiting moderation.', AS_DOMAIN);
        ?>
</p>
                        <br />
                    <?php 
    }
    ?>
                    <?php 
    edit_comment_link(__('[Edit]', AS_DOMAIN), '  ', '');
    ?>
                    <?php 
    comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'])));
    ?>
                </div> 
            </div>
        </div>
        <?php 
}
Example #10
0
function cutline_comment($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    ?>
	<li <?php 
    comment_class();
    ?>
 id="comment-<?php 
    comment_ID();
    ?>
">
			<?php 
    echo get_avatar($comment, 48);
    ?>
			<p class="comment_meta">
				<strong><?php 
    comment_author_link();
    ?>
 </strong>
				<span class="comment_time">// <a href="#comment-<?php 
    comment_ID();
    ?>
" title="<?php 
    echo attribute_escape(__('Permalink to this comment', 'cutline'));
    ?>
"><?php 
    comment_date();
    ?>
 <?php 
    _e('at');
    ?>
 <?php 
    comment_time();
    ?>
</a> <?php 
    echo comment_reply_link(array('depth' => $depth, 'max_depth' => $args['max_depth'], 'before' => ' | '));
    ?>
  <?php 
    edit_comment_link(__('edit', 'cutline'), '(', ')');
    ?>
</span> 			</p> 			<div class="entry">
				<?php 
    comment_text();
    ?>
 
				<?php 
    if ($comment->comment_approved == '0') {
        ?>
				<p><strong><?php 
        _e('Your comment is awaiting moderation.', 'cutline');
        ?>
</strong></p>
				<?php 
    }
    ?>
			</div>
		</li>
<?php 
}
    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 
    }
Example #12
0
function joints_comments($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    ?>
	<li <?php 
    comment_class('panel');
    ?>
>
		<article id="comment-<?php 
    comment_ID();
    ?>
" class="clearfix large-12 columns">
			<header class="comment-author">
				<?php 
    // create variable
    $bgauthemail = get_comment_author_email();
    ?>
				<?php 
    printf(__('<cite class="fn">%s</cite>', 'jointstheme'), get_comment_author_link());
    ?>
 on
				<time datetime="<?php 
    echo comment_time('Y-m-j');
    ?>
"><a href="<?php 
    echo htmlspecialchars(get_comment_link($comment->comment_ID));
    ?>
"><?php 
    comment_time(__(' F jS, Y - g:ia', 'jointstheme'));
    ?>
 </a></time>
				<?php 
    edit_comment_link(__('(Edit)', 'jointstheme'), '  ', '');
    ?>
			</header>
			<?php 
    if ($comment->comment_approved == '0') {
        ?>
				<div class="alert alert-info">
					<p><?php 
        _e('Your comment is awaiting moderation.', 'jointstheme');
        ?>
</p>
				</div>
			<?php 
    }
    ?>
			<section class="comment_content clearfix">
				<?php 
    comment_text();
    ?>
			</section>
			<?php 
    comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'])));
    ?>
		</article>
	<!-- </li> is added by WordPress automatically -->
<?php 
}
Example #13
0
function print_comment($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    ?>
	<li <?php 
    comment_class('comment');
    ?>
>
		<div class="comment-body" id="comment-<?php 
    comment_ID();
    ?>
">
			<?php 
    echo get_avatar($comment, 70, get_bloginfo('stylesheet_directory') . '/images/avatar.gif');
    ?>
			<p class="author">
				<?php 
    comment_author_link();
    ?>
			</p>
			<p class="comment-meta">
				<?php 
    comment_date();
    ?>
 at <?php 
    comment_time();
    ?>
			</p>
			<div class="comment-content">
				<?php 
    if ($comment->comment_approved == '0') {
        ?>
			        <em><?php 
        _e('Your comment is awaiting moderation.');
        ?>
</em><br />
			    <?php 
    }
    ?>
			    
				<?php 
    comment_text();
    ?>
				<div class="alignleft"><?php 
    edit_comment_link(__('(Edit)'), '  ', '');
    ?>
</div>
				
			</div>
			<div class="reply">
		        <?php 
    comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'])));
    ?>
		    </div>
			<div class="cl">&nbsp;</div>
		</div>
	<?php 
}
Example #14
0
function andreas04_comment($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    extract($args, EXTR_SKIP);
    ?>
<li <?php 
    comment_class(empty($args['has_children']) ? '' : 'parent');
    ?>
 id="comment-<?php 
    comment_ID();
    ?>
">
	<div id="div-comment-<?php 
    comment_ID();
    ?>
">
	<?php 
    comment_text();
    ?>
	<p class="vcard"><cite>
	<?php 
    if ($args['avatar_size'] != 0) {
        echo get_avatar($comment, $args['avatar_size']);
    }
    ?>
	<?php 
    comment_type(__('Comment', 'andreas04'), __('Trackback', 'andreas04'), __('Pingback', 'andreas04'));
    ?>
 
	<?php 
    _e('by', 'andreas04');
    ?>
 
	<span class="fn"><?php 
    comment_author_link();
    ?>
</span> | 
	<?php 
    comment_date();
    ?>
 <!-- @ <a href="#comment-<?php 
    comment_ID();
    ?>
"><?php 
    comment_time();
    ?>
</a> --> 
	<?php 
    edit_comment_link(__('Edit', 'andreas04'), ' | ');
    ?>
	<?php 
    comment_reply_link(array_merge($args, array('add_below' => 'div-comment', 'before' => ' | ', 'depth' => $depth, 'max_depth' => $args['max_depth'])));
    ?>
 
	</cite></p>
	</div>
<?php 
}
    function quality_comment($comment, $args, $depth)
    {
        $GLOBALS['comment'] = $comment;
        //get theme data
        global $comment_data;
        //translations
        $leave_reply = $comment_data['translation_reply_to_coment'] ? $comment_data['translation_reply_to_coment'] : __('Reply', 'quality');
        ?>
	
          <div class="media qua_comment_box">
			<a class="pull_left_comment">
            <?php 
        echo get_avatar($comment, $size = '60');
        ?>
            </a>
           <div class="media-body">
			   <div class="qua_comment_detail">
				<h4 class="qua_comment_detail_title"><?php 
        comment_author($comment);
        ?>
</h4>
				<span class="qua_comment_date"><?php 
        comment_date('F j, Y');
        ?>
&nbsp;<?php 
        _e('at', 'quality');
        ?>
&nbsp;<?php 
        comment_time('g:i a');
        ?>
</span>
				<?php 
        comment_text();
        ?>
				
				<div class="reply">				
				<i class="fa fa-mail-reply"></i>&nbsp;<?php 
        comment_reply_link(array_merge($args, array('reply_text' => $leave_reply, 'depth' => $depth, 'max_depth' => $args['max_depth'])));
        ?>
				</div>
				
				<?php 
        if ($comment->comment_approved == '0') {
            ?>
				<em class="comment-awaiting-moderation"><?php 
            _e('Your comment is awaiting moderation.', 'quality');
            ?>
</em>
				<br/>
				<?php 
        }
        ?>
				
				</div>
			</div>
		  </div>
<?php 
    }
Example #16
0
function chaoticsoul_comment($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    ?>
	<li <?php 
    comment_class();
    ?>
 id="comment-<?php 
    comment_ID();
    ?>
">
			<?php 
    comment_text();
    ?>
			<p class="commentmetadata">
				<?php 
    echo get_avatar($comment, 32);
    ?>
				<small>
				<cite><?php 
    comment_author_link();
    ?>
</cite> <?php 
    _e('said this on', 'chaoticsoul');
    ?>
				<?php 
    if ($comment->comment_approved == '0') {
        ?>
				<em><?php 
        _e('Your comment is awaiting moderation.', 'chaoticsoul');
        ?>
</em>
				<?php 
    }
    ?>
				<a href="#comment-<?php 
    comment_ID();
    ?>
" title=""><?php 
    comment_date(get_option('date_format'));
    ?>
 <?php 
    _e('at', 'chaoticsoul');
    ?>
 <?php 
    comment_time(get_option('time_format'));
    ?>
</a><?php 
    echo comment_reply_link(array('depth' => $depth, 'max_depth' => $args['max_depth'], 'before' => ' | '));
    ?>
 <?php 
    edit_comment_link(__('edit', 'chaoticsoul'), '(', ')');
    ?>
				</small>
			</p>
		</li>
<?php 
}
Example #17
0
function quentin_comment($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    extract($args, EXTR_SKIP);
    ?>
<li <?php 
    comment_class(empty($args['has_children']) ? '' : 'parent');
    ?>
 id="comment-<?php 
    comment_ID();
    ?>
">
	<div id="div-comment-<?php 
    comment_ID();
    ?>
">
	<div class="comment-author vcard">
		<?php 
    if ($args['avatar_size'] != 0) {
        echo get_avatar($comment, $args['avatar_size']);
    }
    ?>
		<cite class="comment-meta commentmetadata">On <?php 
    comment_date();
    ?>
 at <?php 
    comment_time();
    ?>
		<span class="fn"><?php 
    comment_author_link();
    ?>
</span> Said: 
		<?php 
    edit_comment_link(__("Edit This"), ' |');
    ?>
	 </cite>
	 </div>
	 <?php 
    if ($comment->comment_approved == '0') {
        ?>
		<em>Your comment is awaiting moderation.</em>
	<?php 
    }
    ?>

	<?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 commentTime($comment)
 {
     $comment_time = '<small class="comment-time"><strong>';
     $comment_time .= comment_date('M d, Y');
     $comment_time .= '</strong>';
     $comment_time .= comment_time('H:i:s');
     $comment_time .= '</small>';
     return $comment_time;
 }
function bones_comments($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    ?>
	<li <?php 
    comment_class();
    ?>
>
		<article id="comment-<?php 
    comment_ID();
    ?>
" class="clearfix">
			<header class="comment-author vcard">
				<?php 
    echo get_avatar($comment, $size = '32', $default = '<path_to_url>');
    ?>
				<?php 
    printf(__('<cite class="fn">%s</cite>'), get_comment_author_link());
    ?>
				<time datetime="<?php 
    echo comment_time('Y-m-j');
    ?>
"><a href="<?php 
    echo htmlspecialchars(get_comment_link($comment->comment_ID));
    ?>
"><?php 
    comment_time('F jS, Y');
    ?>
 </a></time>
				<?php 
    edit_comment_link(__('(Edit)'), '  ', '');
    ?>
			</header>
			<?php 
    if ($comment->comment_approved == '0') {
        ?>
       			<div class="help">
          			<p><?php 
        _e('Your comment is awaiting moderation.');
        ?>
</p>
          		</div>
			<?php 
    }
    ?>
			<section class="comment_content clearfix">
				<?php 
    comment_text();
    ?>
			</section>
			<?php 
    comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'])));
    ?>
		</article>
    <!-- </li> is added by wordpress automatically -->
<?php 
}
Example #20
0
function sdac_comment($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    ?>
     <div class="commentBox <?php 
    comment_class();
    ?>
" id="li-comment-<?php 
    comment_ID();
    ?>
">
       <div id="comment-<?php 
    comment_ID();
    ?>
">
       <?php 
    if (function_exists('get_avatar')) {
        echo get_avatar($comment, '40');
    }
    ?>
  	<?php 
    comment_text();
    ?>

      <i><?php 
    comment_type(__('Comment'), __('Trackback'), __('Pingback'));
    ?>
 <?php 
    _e('by');
    ?>
 <?php 
    comment_author_link();
    ?>
      <?php 
    comment_date('m.d.y');
    ?>
 @ <a href="#comment-<?php 
    comment_ID();
    ?>
"><?php 
    comment_time();
    ?>
</a> <?php 
    edit_comment_link(__("Edit This"), ' |');
    ?>
</i>
  	<p class="reply"> <?php 
    comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'])));
    ?>
</p>

  </div>
  </div>
  <br />
<?php 
}
function motiontheme_comment($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    ?>
	<li <?php 
    comment_class();
    ?>
 id="li-comment-<?php 
    comment_ID();
    ?>
">
	<div id="comment-<?php 
    comment_ID();
    ?>
" class="comment-wrap">
		<?php 
    echo get_avatar($comment, $size = '50');
    ?>
		<div class="commentbody">
			<div class="author"><?php 
    comment_author_link();
    ?>
</div>
			<?php 
    if ($comment->comment_approved == '0') {
        ?>
				<em>(Your comment is awaiting moderation...)</em>
			<?php 
    }
    ?>
			<div class="commentmetadata"><a href="#comment-<?php 
    comment_ID();
    ?>
" title=""><?php 
    comment_date('F jS, Y');
    ?>
 at <?php 
    comment_time();
    ?>
</a> <?php 
    edit_comment_link('edit', '&nbsp;&nbsp;', '');
    ?>
</div>
			<?php 
    comment_text();
    ?>
		</div><!-- /commentbody -->

		<div class="reply">
		<?php 
    comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'])));
    ?>
		</div>
	</div><!-- /comment -->
<?php 
}
function mytheme_comment($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    ?>
	<li <?php 
    comment_class();
    ?>
 id="li-comment-<?php 
    comment_ID();
    ?>
">
		<article id="comment-<?php 
    comment_ID();
    ?>
" class="comment-body">
			<footer class="comment-author vcard">
				<?php 
    echo get_avatar($comment->comment_author_email, 60);
    ?>
				<p class='commentauthor'><?php 
    comment_author_link();
    ?>
</p>
				<p class='comment-time'><?php 
    comment_date();
    ?>
, <?php 
    comment_time();
    ?>
</p>							
			</footer>
			<div class="comments-body">				
				<?php 
    comment_text();
    ?>
				<div class="reply">
					<?php 
    comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'])));
    ?>
 | <?php 
    edit_comment_link('Edit', '  ', '');
    ?>
 				</div>
				<?php 
    if ($comment->comment_approved == '0') {
        ?>
					<em>Your comment is awaiting moderation.</em>			
				<?php 
    }
    ?>
			</div>
			<div class="clear"></div>
		</article>
	</li>
	<?php 
}
function theme_render_comment($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    ?>
	<li <?php 
    comment_class();
    ?>
 id="li-comment-<?php 
    comment_ID();
    ?>
">
		<div id="comment-<?php 
    comment_ID();
    ?>
" class="commentinside">
		    <div class="image">
		     <?php 
    echo get_avatar($comment, 48);
    ?>
		    </div>
		    <div class="info">
		    	<span class="name">
		        <?php 
    comment_author_link();
    ?>
		        schreibt am  
		        <a href="<?php 
    echo htmlspecialchars(get_comment_link($comment->comment_ID));
    ?>
">
		    		<?php 
    comment_date();
    ?>
 <?php 
    comment_time();
    ?>
		    	</a>
		        </span>
		        <?php 
    comment_text();
    ?>
		        <?php 
    comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'])));
    ?>
		    </div>
		
		    <div class="comment-meta">

		    	<?php 
    edit_comment_link(__('(Edit)'), '  ', '');
    ?>
	    	</div>
		</div>
	<?php 
}
Example #24
0
function basspress_comment($comment, $args, $depth) {

$tag = ( 'div' === $args['style'] ) ? 'div' : 'li'; ?>
   <<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class(); ?>>
<article id="div-comment-<?php comment_ID(); ?>" class="comment-body">
<div class="row flex border-bottom">
  <div class="col-1">
      <div class="gravatar-container">
          <?php if ( 0 != $args['avatar_size'] ) echo get_avatar( $comment, $args['avatar_size'] ); ?>
      </div><!-- .comment-meta -->
  </div>
  <div class="col-11">    
  	<div class="comment-meta mb2">
	                 
		    <div class="comment-author bold">
		        
		        <?php printf( __( '%s' ), sprintf( '<span class="commenter h2 m0 ">%s</span>', get_comment_author_link() ) ); ?>
		    </div><!-- .comment-author -->

		    <div class="comment-metadata h5 italic">
		        <a href="<?php echo esc_url( get_comment_link( $comment->comment_ID, $args ) ); ?>">
		            <time datetime="<?php comment_time( 'c' ); ?>">
		                <?php printf( _x( '%1$s at %2$s', '1: date, 2: time' ), get_comment_date(), get_comment_time() ); ?>
		            </time>
		        </a>
		     </div><!-- .comment-metadata -->

	    <?php if ( '0' == $comment->comment_approved ) : ?>
	    <div class="border rounded p2 mt2 mb2"><p class="comment-awaiting-moderation m0"><?php _e( 'Your comment is awaiting moderation.' ); ?></p></div>
	    <?php endif; ?>
		</footer><!-- .comment-meta -->
		<!-- .comment-content -->
  </div>
  <div class="regular h4 sans-serif">
	    <?php comment_text(); ?>
	</div>
 
</div>

  <div class="small-12 columns">
 
                <?php
                comment_reply_link( array_merge( $args, array(
                    'add_below' => 'div-comment',
                    'depth'     => $depth,
                    'max_depth' => $args['max_depth'],
                    'before'    => '<div class="reply">',
                    'after'     => '</div>'
                ) ) );
                ?>
      
      </div>
            </article><!-- .comment-body -->
<?php
    }
Example #25
0
function supposedly_clean_comment($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    extract($args, EXTR_SKIP);
    ?>
<li <?php 
    comment_class(empty($args['has_children']) ? '' : 'parent');
    ?>
 id="comment-<?php 
    comment_ID();
    ?>
">
	<div id="div-comment-<?php 
    comment_ID();
    ?>
" class="comment-author vcard">
	<?php 
    if ($args['avatar_size'] != 0) {
        echo get_avatar($comment, $args['avatar_size']);
    }
    ?>
	<?php 
    comment_text();
    ?>
	<p><cite><?php 
    comment_type(__('Comment'), __('Trackback'), __('Pingback'));
    ?>
 <?php 
    _e('by');
    ?>
 <span class="fn"><?php 
    comment_author_link();
    ?>
</span> &#8212; <?php 
    comment_date();
    ?>
 @ <a href="#comment-<?php 
    comment_ID();
    ?>
"><?php 
    comment_time();
    ?>
</a></cite> <?php 
    edit_comment_link(__("Edit This"), ' |');
    ?>
</p>
	<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 
}
Example #26
0
function sunburn_comment($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    extract($args, EXTR_SKIP);
    ?>
<li <?php 
    comment_class(empty($args['has_children']) ? '' : 'parent');
    ?>
 id="comment-<?php 
    comment_ID();
    ?>
">
	<div id="div-comment-<?php 
    comment_ID();
    ?>
" class="vcard">
		<?php 
    if ($args['avatar_size'] != 0) {
        echo get_avatar($comment, $args['avatar_size']);
    }
    ?>
		<?php 
    if ($comment->comment_approved == '0') {
        ?>
			<p style = "color: red;">Your comment is awaiting moderation.</p>
			<?php 
    }
    ?>
			
			<?php 
    comment_text();
    ?>
			
			<p class="comment-meta commentmetadata"><span class="fn"><?php 
    comment_author_link();
    ?>
</span> - <a href="<?php 
    echo htmlspecialchars(get_comment_link($comment->comment_ID));
    ?>
" title=""><?php 
    comment_date();
    ?>
 at <?php 
    comment_time();
    ?>
</a></p>
	<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 
}
function wpyaml_comments($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    ?>
	<li <?php 
    comment_class();
    ?>
>
		<article id="comment-<?php 
    comment_ID();
    ?>
">
			<header>
				<?php 
    echo get_avatar($comment, 32);
    ?>
				<?php 
    printf(__('<cite>%s</cite>', 'wpyaml'), get_comment_author_link());
    ?>
				<time datetime="<?php 
    echo comment_time('Y-m-j');
    ?>
"><a href="<?php 
    echo htmlspecialchars(get_comment_link($comment->comment_ID));
    ?>
"><?php 
    comment_time(__('F jS, Y', 'wpyaml'));
    ?>
 </a></time>
				<?php 
    edit_comment_link(__('(Edit)', 'wpyaml'), '  ', '');
    ?>
			</header>
			<?php 
    if ($comment->comment_approved == '0') {
        ?>
				<p class="box info"><?php 
        _e('Your comment is awaiting moderation.', 'wpyaml');
        ?>
</p>
			<?php 
    }
    ?>
			<section>
				<?php 
    comment_text();
    ?>
			</section>
			<?php 
    comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'])));
    ?>
		</article>
<?php 
}
Example #28
0
function neo_sapien_05_comment($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    extract($args, EXTR_SKIP);
    ?>
<li <?php 
    comment_class(empty($args['has_children']) ? '' : 'parent');
    ?>
 id="comment-<?php 
    comment_ID();
    ?>
">
	<div id="div-comment-<?php 
    comment_ID();
    ?>
">
	<div class="comment-author vcard comment-meta commentmetadata">
	<?php 
    if ($args['avatar_size'] != 0) {
        echo get_avatar($comment, $args['avatar_size']);
    }
    ?>
	<cite><?php 
    comment_type(__('Comment'), __('Trackback'), __('Pingback'));
    ?>
 <?php 
    _e('by');
    ?>
 <span class="fn"><?php 
    comment_author_link();
    ?>
</span> on <?php 
    comment_date();
    ?>
 <a href="#comment-<?php 
    comment_ID();
    ?>
"><?php 
    comment_time();
    ?>
</a></cite>
	</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 
}
    function seasonal_comment($comment, $args, $depth)
    {
        $GLOBALS['comment'] = $comment;
        ?>

<li>                        
	<div class="comment">
		<div class="avatar"> <?php 
        echo get_avatar($comment, 60);
        ?>
 </div>
		<div class="comment-text">
			<div class="comment-info">
				<h3 class="name"><?php 
        echo get_comment_author_link();
        ?>
</h3>
				<span class="comment_date">
				<?php 
        comment_time(get_option('date_format'));
        ?>
 <?php 
        _e('at', 'seasonal');
        ?>
 <?php 
        comment_time(get_option('time_format'));
        ?>
</span>
				<?php 
        comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'])));
        ?>
			</div>
			<div id="comment-<?php 
        echo comment_ID();
        ?>
">
				<?php 
        comment_text();
        ?>
			</div>
		</div>
	</div>                          
                
<?php 
        if ($comment->comment_approved == '0') {
            ?>
<p><em><?php 
            esc_html_e('Your comment is awaiting moderation.', 'seasonal');
            ?>
</em></p>
<?php 
        }
    }
Example #30
-1
function my_theme_comment($comment, $args, $depth)
{
    $GLOBALS['comment'] = $comment;
    switch ($comment->comment_type) {
        default:
            ?>
            <li <?php 
            comment_class();
            ?>
 id="comment-<?php 
            comment_ID();
            ?>
">
				<p class="meta-comment">
				 <?php 
            echo get_avatar($comment, 30);
            ?>
				 <span class="author-name"><?php 
            comment_author();
            ?>
</span>
					<time <?php 
            comment_time('c');
            ?>
 class="comment-time">
					<span class="date">
						<?php 
            comment_date();
            ?>
					</span>
					<span class="time">
						<?php 
            comment_time();
            ?>
					</span>
					</time>
				 
				</p>
				<div class="comment-content">
					<?php 
            comment_text();
            ?>
				</div>
				<div class="comment-actions">
					<div class="reply"><?php 
            comment_reply_link(array_merge($args, array('reply_text' => 'Reply', 'after' => '', 'depth' => $depth, 'max_depth' => $args['max_depth'])));
            ?>
					</div><!-- .reply -->
				</div>
 
 
            <!-- #comment-<?php 
            comment_ID();
            ?>
 -->
        <?php 
            // End the default styling of comment
            break;
    }
}