Template Support - Source Excerpt 01
Summary
This source excerpt preserves a bounded section of Anti-Christ.org/wp-content/themes/antichrist-engine/template-support.php so readers can inspect the evidence without opening the full source file.
**Source path:** Anti-Christ.org/wp-content/themes/antichrist-engine/template-support.php
<?php
/**
* Template Name: Support
* Template Post Type: page
*
* @package Antichrist_Engine
*/
get_header();
the_post();
$identity = antichrist_engine_foundation_identity();
$document_profile = antichrist_engine_foundation_document_profile('support');
$support_copy = antichrist_engine_foundation_support_interface_copy();
$support_priorities = antichrist_engine_foundation_support_priorities();
$support_impacts = antichrist_engine_foundation_support_impact_tracks();
$support_paths = antichrist_engine_foundation_support_paths();
$support_commitments = antichrist_engine_foundation_support_commitments();
$support_destination = antichrist_engine_foundation_get_support_destination();
$reference_links = antichrist_engine_foundation_get_reference_links('support');
$assurances = antichrist_engine_foundation_public_assurances();
$resolve_support_path = static function ($path) use ($support_destination) {
$route = (string) ($path['route'] ?? '');
if ('support_destination' === $route) {
return array(
'url' => (string) ($support_destination['url'] ?? home_url('/')),
'is_external' => !empty($support_destination['is_external']),
);
}
return array(
'url' => antichrist_engine_foundation_build_target_url(
$route,
(array) ($path['args'] ?? array()),
(string) ($path['anchor'] ?? '')
),
'is_external' => false,
);
};
?>
<section class="hero hero--foundation">
<div class="container hero__grid hero__grid--foundation">
<div class="hero__content">
<p class="eyebrow"><?php esc_html_e('Support', 'antichrist-engine'); ?></p>
<h1><?php the_title(); ?></h1>
<p class="hero__lead"><?php echo esc_html($support_copy['hero_lead']); ?></p>
<ul class="hero__meta" aria-label="<?php esc_attr_e('Support profile', 'antichrist-engine'); ?>">
<li>
<span><?php esc_html_e('Classification', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html($document_profile['classification']); ?></strong>
</li>
<li>
<span><?php esc_html_e('Access', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html($document_profile['access']); ?></strong>
</li>
<li>
<span><?php esc_html_e('Status', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html($identity['status']); ?></strong>
</li>
</ul>
<div class="hero__actions">
<a
class="button"
href="<?php echo esc_url((string) $support_destination['url']); ?>"
<?php if (!empty($support_destination['is_external'])) : ?>target="_blank" rel="noopener"<?php endif; ?>
><?php echo esc_html(!empty($support_destination['is_live']) ? $support_copy['live_cta'] : $support_copy['fallback_cta']); ?></a>
<a class="button button--ghost" href="<?php echo esc_url(antichrist_engine_foundation_get_page_url('charter')); ?>"><?php echo esc_html($support_copy['secondary_cta']); ?></a>
</div>
</div>
<div class="hero__visual card foundation-panel foundation-panel--official">
<p class="eyebrow"><?php esc_html_e('Support File', 'antichrist-engine'); ?></p>
<h2><?php echo esc_html($document_profile['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('Review Cycle', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html($document_profile['review_cycle']); ?></strong>
</div>
</div>
<p class="foundation-panel__subline"><?php echo esc_html($support_copy['panel_subline']); ?></p>
</div>
</div>
</section>
<section class="section section--narrow">
<div class="container foundation-layout">
<div class="foundation-layout__main">
<article <?php post_class('page-article card foundation-panel foundation-prose'); ?>>
<header class="entry-header">
<p class="eyebrow"><?php esc_html_e('Support', 'antichrist-engine'); ?></p>
<h2 class="entry-title"><?php the_title(); ?></h2>
</header>
<div class="entry-content">
<?php the_content(); ?>
</div>
</article>
<article class="statement-card support-status-card">
<p class="eyebrow"><?php esc_html_e('Routing Status', 'antichrist-engine'); ?></p>
<h2><?php echo esc_html($support_copy['summary']); ?></h2>
<p><?php echo esc_html(!empty($support_destination['is_live']) ? $support_copy['live_notice'] : $support_copy['fallback_notice']); ?></p>
</article>
<section class="card foundation-panel">
<header class="entry-header">
<p class="eyebrow"><?php esc_html_e('Funding Priorities', 'antichrist-engine'); ?></p>
<h2><?php echo esc_html($support_copy['priority_title']); ?></h2>
</header>
<div class="statement-grid">
<?php foreach ($support_priorities as $priority) : ?>
<article class="statement-card support-priority-card">
<p class="eyebrow"><?php echo esc_html($priority['eyebrow']); ?></p>
<h3><?php echo esc_html($priority['title']); ?></h3>
<p><?php echo esc_html($priority['summary']); ?></p>
</article>
<?php endforeach; ?>
</div>
</section>
<section id="support-impact" class="card foundation-panel">
<header class="entry-header">
<p class="eyebrow"><?php esc_html_e('Impact Ledger', 'antichrist-engine'); ?></p>
<h2><?php echo esc_html($support_copy['impact_title']); ?></h2>
<p><?php echo esc_html($support_copy['impact_summary']); ?></p>
</header>
<div class="statement-grid">
<?php foreach ($support_impacts as $impact) : ?>
<article class="statement-card support-impact-card">
<p class="eyebrow"><?php echo esc_html($impact['eyebrow']); ?></p>
<h3><?php echo esc_html($impact['title']); ?></h3>
<p><?php echo esc_html($impact['summary']); ?></p>
<a class="text-link" href="<?php echo esc_url(antichrist_engine_foundation_build_target_url(
$impact['target'],
$impact['args'] ?? array(),
$impact['anchor'] ?? ''
)); ?>"><?php echo esc_html($impact['cta']); ?></a>
</article>
<?php endforeach; ?>
</div>
</section>
<section id="support-lanes" class="card foundation-panel">
<header class="entry-header">
<p class="eyebrow"><?php esc_html_e('Support Lanes', 'antichrist-engine'); ?></p>
<h2><?php echo esc_html($support_copy['path_title']); ?></h2>
</header>
<div class="program-blueprint-grid">
<?php foreach ($support_paths as $path) : ?>
<?php $resolved_path = $resolve_support_path($path); ?>
<article class="statement-card support-path-card">
<p class="eyebrow"><?php echo esc_html($path['eyebrow']); ?></p>
<h3><?php echo esc_html($path['title']); ?></h3>
<p><?php echo esc_html($path['summary']); ?></p>
<p class="foundation-panel__subline"><?php echo esc_html($path['fit']); ?></p>
<div class="foundation-card-actions">
<a
class="text-link"
href="<?php echo esc_url($resolved_path['url']); ?>"