Content Single
**Site relevance:** Anti-Christ.org
**Memory type:** theme source memory
**Source path:** Anti-Christ.org/wp-content/themes/antichrist-engine/template-parts/content-single.php
**Size:** 2.4 KB
Summary
Single content template.
Source Preview
This source file is short enough to preview directly on its source-memory page.
<?php
/**
* Single content template.
*
* @package Antichrist_Engine
*/
$record_id = antichrist_engine_post_record_id();
$classification = antichrist_engine_post_classification();
$topic = antichrist_engine_post_primary_topic();
$series = antichrist_engine_post_series();
$release_profile = antichrist_engine_post_release_profile();
$publication_copy = antichrist_engine_foundation_publication_interface_copy();
?>
<article id="post-<?php the_ID(); ?>" <?php post_class('card foundation-panel single-article foundation-prose'); ?>>
<header class="entry-header">
<p class="eyebrow"><?php echo esc_html($series ? $series['eyebrow'] : __('Document Body', 'antichrist-engine')); ?></p>
<h2 class="entry-title"><?php echo esc_html($publication_copy['content_title']); ?></h2>
<p class="publication-kicker"><?php echo esc_html($record_id); ?> / <?php echo esc_html($classification); ?></p>
<?php antichrist_engine_posted_on(); ?>
<div class="publication-meta">
<div class="publication-meta__item">
<span><?php esc_html_e('Record ID', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html($record_id); ?></strong>
</div>
<div class="publication-meta__item">
<span><?php echo esc_html($publication_copy['topic_label']); ?></span>
<strong><?php echo esc_html($topic); ?></strong>
</div>
<div class="publication-meta__item">
<span><?php echo esc_html($publication_copy['role_label']); ?></span>
<strong><?php echo esc_html($release_profile['role_label']); ?></strong>
</div>
<div class="publication-meta__item">
<span><?php esc_html_e('Access', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html($publication_copy['archive_status']); ?></strong>
</div>
</div>
<p class="publication-use-note"><?php echo esc_html($release_profile['best_use']); ?></p>
</header>
<?php if (has_post_thumbnail()) : ?>
<div class="entry-thumbnail">
<?php the_post_thumbnail('large'); ?>
</div>
<?php endif; ?>
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages(); ?>
</div>
</article>