wp/wp-content/themes/themeforest-2964855-scrn-responsive-single-page-portfolio/SCRN/includes/comments.php
author ymh <ymh.work@gmail.com>
Mon, 14 Oct 2019 17:39:30 +0200
changeset 7 cf61fcea0001
parent 0 d970ebf37754
permissions -rwxr-xr-x
resynchronize code repo with production

<?php if ( ! function_exists( 'vp_comment' ) ) :

function vp_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-body clearfix">

		<div class="avatar">

			<?php echo get_avatar($comment, 93); ?>

		</div>

				

		<div class="no-wrap">

	        <p class="meta">

	          	<span class="author">

	          		<?php comment_author_link();?>

	          	</span> / 

	            <?php echo(get_comment_date('F jS, Y G:i')) ?>

	        </p>

          	<p>

	          	<?php comment_text();

	          	$reply_link = get_comment_reply_link( array_merge( $args, array('reply_text' => esc_attr__('Reply','Tharsis'),'depth' => $depth, 'max_depth' => $args['max_depth'])) ); 

	          	if ( $reply_link ) echo $reply_link;

	          	edit_comment_link( __( '(Edit)', 'Tharsis' ), ' ' );?>

         	</p>

         	<?php if ($comment->comment_approved == '0') : ?>

				<p>

					<em class="moderation"><?php esc_html_e('Your comment is awaiting moderation.','Tharsis') ?></em>

				</p>

				<br />

			<?php endif; ?>

        </div>

			

	</div> <!-- end comment-body-->

<?php }

endif; ?>