/home/coolpkct/public_html/websites/1.sanso.co/wp-content/themes/hoshi/comments.php
<?php

if ( post_password_required() ) {
	return;
}

if ( comments_open() || get_comments_number()) : ?>
	<div class="mkd-comment-holder clearfix" id="comments">
		<div class="mkd-comment-number">
			<div class="mkd-comment-number-inner">
				<h4><?php comments_number(esc_html__('No Comments', 'hoshi'), esc_html__(' Comments', 'hoshi') . ':', esc_html__(' Comments', 'hoshi') . ':'); ?></h4>
			</div>
		</div>
		<div class="mkd-comments">
			<?php if ( have_comments() ) : ?>
				<ul class="mkd-comment-list">
					<?php wp_list_comments(array( 'callback' => 'hoshi_mikado_comment')); ?>
				</ul>
			<?php endif; ?>
			<?php if( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' )) : ?>
				<p><?php esc_html_e('Sorry, the comment form is closed at this time.', 'hoshi'); ?></p>
			<?php endif; ?>
		</div>
	</div>

	<?php
	$commenter = wp_get_current_commenter();
	$req = get_option('require_name_email');
	$aria_req = ($req ? " aria-required='true'" : '');
	$consent  = empty( $commenter['comment_author_email'] ) ? '' : ' checked="checked"';


	$args = array(
		'id_form' => 'commentform',
		'id_submit' => 'submit_comment',
		'title_reply' => esc_html__('Leave a reply', 'hoshi'),
		'title_reply_to' => esc_html__('Reply to %s', 'hoshi'),
		'cancel_reply_link' => esc_html__('Cancel Reply', 'hoshi'),
		'label_submit' => esc_html__('Submit', 'hoshi'),
		'comment_field' => '<textarea id="comment" placeholder="' . esc_attr__('Your comment...', 'hoshi') . '" name="comment" cols="45" rows="8" aria-required="true"></textarea>',
		'comment_notes_before' => '',
		'comment_notes_after' => '',
		'fields' => apply_filters('comment_form_default_fields', array(
			'author' => '<div class="mkd-two-columns"><div class="mkd-two-columns-inner clearfix"><div class="mkd-column"><div class="mkd-column-inner"><input id="author" name="author" placeholder="' . esc_attr__('Name', 'hoshi') . '" type="text" value="' . esc_attr($commenter['comment_author']) . '"' . $aria_req . ' /></div></div>',
			'url' => '<div class="mkd-column"><div class="mkd-column-inner"><input id="email" name="email" placeholder="' . esc_attr__('E-mail', 'hoshi') . '" type="text" value="' . esc_attr($commenter['comment_author_email']) . '"' . $aria_req . ' /></div></div></div></div>',
			'cookies' => '<p class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes" ' . $consent . ' />' .
				'<label for="wp-comment-cookies-consent">' . esc_html__( 'Save my name, email, and website in this browser for the next time I comment.', 'hoshi' ) . '</label></p>'

		)));
	?>
	<?php if (get_comment_pages_count() > 1) {
		?>
		<div class="mkd-comment-pager">
			<p><?php paginate_comments_links(); ?></p>
		</div>
	<?php } ?>
	<div class="mkd-comment-form">
		<?php comment_form($args); ?>
	</div>
<?php endif; ?>