Single - Source Excerpt 01
Summary
This source excerpt preserves a bounded section of Anti-Christ.org/wp-content/themes/antichrist-engine/single.php so readers can inspect the evidence without opening the full source file.
**Source path:** Anti-Christ.org/wp-content/themes/antichrist-engine/single.php
<?php
/**
* Single post template.
*
* @package Antichrist_Engine
*/
get_header();
?>
<?php
while (have_posts()) :
the_post();
$identity = antichrist_engine_foundation_identity();
$document_profile = antichrist_engine_foundation_document_profile('journal');
$record_id = antichrist_engine_post_record_id();
$classification = antichrist_engine_post_classification();
$topic = antichrist_engine_post_primary_topic();
$series = antichrist_engine_post_series();
$series_slug = antichrist_engine_post_series_slug();
$release_profile = antichrist_engine_post_release_profile();
$publication_copy = antichrist_engine_foundation_publication_interface_copy();
$reference_links = antichrist_engine_foundation_get_reference_links('journal');
$hero_summary = has_excerpt()
? get_the_excerpt()
: wp_trim_words(wp_strip_all_tags(get_the_content()), 34);
$release_routes = (array) ($release_profile['routes'] ?? array());
if ($series && $series_slug) {
array_unshift($release_routes, array(
'eyebrow' => __('Series Track', 'antichrist-engine'),
'title' => (string) ($series['name'] ?? __('Journal track', 'antichrist-engine')),
'summary' => (string) ($series['description'] ?? ''),
'url' => add_query_arg('track', $series_slug, antichrist_engine_foundation_get_page_url('journal')),
'cta' => __('View the full track', 'antichrist-engine'),
));
}
$resolve_publication_route_url = static function ($route) {
if (!empty($route['url'])) {
return (string) $route['url'];
}
return antichrist_engine_foundation_build_target_url(
(string) ($route['target'] ?? ''),
(array) ($route['args'] ?? array()),
(string) ($route['anchor'] ?? '')
);
};
?>
<section class="hero hero--foundation">
<div class="container hero__grid hero__grid--foundation">
<div class="hero__content">
<p class="eyebrow"><?php echo esc_html($series ? $series['eyebrow'] : __('Publication File', 'antichrist-engine')); ?></p>
<h1><?php the_title(); ?></h1>
<p class="hero__lead"><?php echo esc_html($hero_summary); ?></p>
<ul class="hero__meta" aria-label="<?php esc_attr_e('Publication profile', 'antichrist-engine'); ?>">
<li>
<span><?php esc_html_e('Classification', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html($classification); ?></strong>
</li>
<li>
<span><?php echo esc_html($publication_copy['topic_label']); ?></span>
<strong><?php echo esc_html($topic); ?></strong>
</li>
<li>
<span><?php esc_html_e('Access', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html($publication_copy['archive_status']); ?></strong>
</li>
</ul>
</div>
<div class="hero__visual card foundation-panel foundation-panel--official">
<p class="eyebrow"><?php esc_html_e('Publication Dossier', 'antichrist-engine'); ?></p>
<h2><?php echo esc_html($record_id); ?></h2>
<div class="foundation-kv">
<div class="foundation-kv__item">
<span><?php esc_html_e('Authority', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html($document_profile['authority']); ?></strong>
</div>
<div class="foundation-kv__item">
<span><?php esc_html_e('Published', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html(get_the_date()); ?></strong>
</div>
<div class="foundation-kv__item">
<span><?php esc_html_e('Review Cycle', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html($publication_copy['review_cycle_value']); ?></strong>
</div>
</div>
<p class="foundation-panel__subline"><?php echo esc_html($identity['disclaimer']); ?></p>
</div>
</div>
</section>
<section class="section section--narrow">
<div class="container foundation-layout">
<div class="foundation-layout__main">
<?php
get_template_part('template-parts/content', 'single');
?>
<section class="card foundation-panel publication-guide-panel">
<header class="entry-header">
<p class="eyebrow"><?php esc_html_e('File Guide', 'antichrist-engine'); ?></p>
<h2><?php echo esc_html($publication_copy['guide_title']); ?></h2>
<p><?php echo esc_html($publication_copy['guide_summary']); ?></p>
</header>
<div class="publication-guide-grid">
<article class="statement-card publication-sidebar-card">
<p class="eyebrow"><?php echo esc_html($publication_copy['role_label']); ?></p>
<h3><?php echo esc_html($release_profile['role_label']); ?></h3>
<p><?php echo esc_html($release_profile['role_summary']); ?></p>
<p class="research-card__meta"><strong><?php echo esc_html($publication_copy['audience_label']); ?>:</strong> <?php echo esc_html($release_profile['audience']); ?></p>
<p class="foundation-panel__subline"><?php echo esc_html($release_profile['reading_time']); ?></p>
</article>
<article class="statement-card publication-packet-card publication-packet-card--single">
<p class="eyebrow"><?php echo esc_html($publication_copy['packet_label']); ?></p>
<h3><?php echo esc_html($release_profile['packet_title']); ?></h3>
<p><?php echo esc_html($release_profile['packet_summary']); ?></p>
<ul class="publication-packet-card__list">
<?php foreach ((array) ($release_profile['packet_points'] ?? array()) as $point) : ?>
<li><?php echo esc_html($point); ?></li>
<?php endforeach; ?>
</ul>
</article>
</div>
<div class="entry-header">
<p class="eyebrow"><?php esc_html_e('Next Routes', 'antichrist-engine'); ?></p>
<h3><?php echo esc_html($publication_copy['routes_title']); ?></h3>
<p><?php echo esc_html($publication_copy['routes_summary']); ?></p>
</div>
<div class="publication-route-grid">
<?php foreach ($release_routes as $route) : ?>
<article class="statement-card publication-route-card">
<p class="eyebrow"><?php echo esc_html($route['eyebrow'] ?? __('Route', 'antichrist-engine')); ?></p>
<h3><?php echo esc_html($route['title'] ?? ''); ?></h3>
<p><?php echo esc_html($route['summary'] ?? ''); ?></p>
<a class="text-link" href="<?php echo esc_url($resolve_publication_route_url($route)); ?>"><?php echo esc_html($route['cta'] ?? __('Open route', 'antichrist-engine')); ?></a>
</article>
<?php endforeach; ?>
</div>
</section>
<?php
the_post_navigation(array(
'prev_text' => '<span class="eyebrow">' . esc_html($publication_copy['prev_label']) . '</span><span>%title</span>',
'next_text' => '<span class="eyebrow">' . esc_html($publication_copy['next_label']) . '</span><span>%title</span>',
));
if (comments_open() || get_comments_number()) {
comments_template();
}
?>
</div>
<aside class="foundation-layout__aside">
<?php foreach ($reference_links as $group => $items) : ?>
<article class="card foundation-panel foundation-panel--compact">