Skip to content
wiki.fftac.org

Comments

**Site relevance:** Anti-Christ.net

**Memory type:** theme source memory

**Source path:** Anti-Christ.net/wp-content/themes/anti-christ-thin-veil/comments.php

**Size:** 1 KB

Summary

@package Anti Christ Thin Veil

Source Preview

This source file is short enough to preview directly on its source-memory page.

<?php
/**
 * Comments template.
 *
 * @package Anti_Christ_Thin_Veil
 */

if ( post_password_required() ) {
	return;
}
?>
<section id="comments" class="comments-area">
	<?php if ( have_comments() ) : ?>
		<h2 class="comments-title">
			<?php
			printf(
				esc_html( _nx( 'One response', '%1$s responses', get_comments_number(), 'comments title', 'anti-christ-thin-veil' ) ),
				number_format_i18n( get_comments_number() )
			);
			?>
		</h2>
		<ol class="comment-list">
			<?php
			wp_list_comments(
				array(
					'style'      => 'ol',
					'short_ping' => true,
				)
			);
			?>
		</ol>
		<?php the_comments_navigation(); ?>
	<?php endif; ?>

	<?php
	if ( ! comments_open() && get_comments_number() ) :
		?>
		<p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'anti-christ-thin-veil' ); ?></p>
		<?php
	endif;

	comment_form(
		array(
			'comment_notes_before' => '<p class="comment-notes">' . esc_html__( 'Keep it lawful, human, and specific. No threats, no doxxing, no harassment.', 'anti-christ-thin-veil' ) . '</p>',
		)
	);
	?>
</section>