Skip to content
wiki.fftac.org

Single

**Site relevance:** Antichrist.net

**Memory type:** theme source memory

**Source path:** Antichrist.net/wp-content/themes/antichrist-net/single.php

**Size:** 1.1 KB

Summary

labels- singular name ); ?

Source Preview

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

<?php
/**
 * Single post template.
 *
 * @package AntichristNet
 */
get_header();
?>
<main id="primary" class="site-main container single-layout">
	<?php acn_breadcrumbs(); ?>
	<?php while ( have_posts() ) : the_post(); ?>
		<article <?php post_class( 'entry-shell' ); ?>>
			<header class="page-header narrow">
				<p class="kicker"><?php echo esc_html( get_post_type_object( get_post_type() )->labels->singular_name ); ?></p>
				<h1><?php the_title(); ?></h1>
				<?php acn_entry_meta(); ?>
			</header>
			<?php if ( has_post_thumbnail() ) : ?>
				<figure class="featured-media"><?php the_post_thumbnail( 'acn-hero' ); ?></figure>
			<?php endif; ?>
			<div class="entry-content narrow">
				<?php the_content(); ?>
				<?php wp_link_pages(); ?>
			</div>
			<footer class="entry-footer narrow">
				<?php the_tags( '<div class="tag-list"><span>' . esc_html__( 'Tagged:', 'antichrist-net' ) . '</span> ', ' ', '</div>' ); ?>
			</footer>
		</article>
		<?php if ( comments_open() || get_comments_number() ) : ?>
			<div class="narrow comments-wrap">
				<?php comments_template(); ?>
			</div>
		<?php endif; ?>
	<?php endwhile; ?>
</main>
<?php get_footer(); ?>