Skip to content
wiki.fftac.org

Template Standards - Source Excerpt 01

Back to Template Standards

Summary

This source excerpt preserves a bounded section of Anti-Christ.org/wp-content/themes/antichrist-engine/template-standards.php so readers can inspect the evidence without opening the full source file.

**Source path:** Anti-Christ.org/wp-content/themes/antichrist-engine/template-standards.php

<?php
/**
 * Template Name: Editorial Standards
 * Template Post Type: page
 *
 * @package Antichrist_Engine
 */

get_header();

the_post();

$identity             = antichrist_engine_foundation_identity();
$document_profile     = antichrist_engine_foundation_document_profile('standards');
$standards_copy       = antichrist_engine_foundation_standards_interface_copy();
$standards_routes     = antichrist_engine_foundation_standards_route_map();
$assurances           = antichrist_engine_foundation_public_assurances();
$voice_checks         = antichrist_engine_foundation_launch_voice_checks();
$launch_proof_gates   = antichrist_engine_foundation_launch_proof_gates();
$journal_protocols    = antichrist_engine_foundation_journal_publication_protocols();
$ai_protocols         = antichrist_engine_foundation_ai_operating_protocols();
$verified_protocols   = antichrist_engine_foundation_verified_research_protocols();
$promotion_ladder     = antichrist_engine_foundation_standards_promotion_ladder();
$publication_cadence  = antichrist_engine_foundation_publication_cadence();
$review_notices       = array_slice(antichrist_engine_foundation_get_review_notice_register(), 0, 2);
$reference_links      = antichrist_engine_foundation_get_reference_links('standards');
$launch_priorities    = antichrist_engine_foundation_editorial_launch_priorities();
$quick_routes         = array(
    array(
        'label' => __('Review Notices', 'antichrist-engine'),
        'url'   => antichrist_engine_foundation_get_page_url('review_notices'),
    ),
    array(
        'label' => __('Journal', 'antichrist-engine'),
        'url'   => antichrist_engine_foundation_get_page_url('journal'),
    ),
    array(
        'label' => __('Join', 'antichrist-engine'),
        'url'   => antichrist_engine_foundation_get_page_url('join'),
    ),
    array(
        'label' => __('AI Engine', 'antichrist-engine'),
        'url'   => antichrist_engine_foundation_get_page_url('ai_engine'),
    ),
    array(
        'label' => __('Doctrine Q&A', 'antichrist-engine'),
        'url'   => antichrist_engine_foundation_get_page_url('questions'),
    ),
);
?>
<section class="hero hero--foundation">
    <div class="container hero__grid hero__grid--foundation">
        <div class="hero__content">
            <p class="eyebrow"><?php esc_html_e('Editorial Standards', 'antichrist-engine'); ?></p>
            <h1><?php the_title(); ?></h1>
            <p class="hero__lead"><?php echo esc_html($standards_copy['hero_lead']); ?></p>
            <ul class="hero__meta" aria-label="<?php esc_attr_e('Standards 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="#standards-map"><?php esc_html_e('Open the standards map', 'antichrist-engine'); ?></a>
                <a class="button button--ghost" href="<?php echo esc_url(antichrist_engine_foundation_get_page_url('review_notices')); ?>"><?php esc_html_e('Open review notices', 'antichrist-engine'); ?></a>
            </div>
        </div>
        <div class="hero__visual card foundation-panel foundation-panel--official">
            <p class="eyebrow"><?php esc_html_e('Standards 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('Public assurances', 'antichrist-engine'); ?></span>
                    <strong><?php echo esc_html(number_format_i18n(count($assurances))); ?></strong>
                </div>
                <div class="foundation-kv__item">
                    <span><?php esc_html_e('AI protocols', 'antichrist-engine'); ?></span>
                    <strong><?php echo esc_html(number_format_i18n(count($ai_protocols))); ?></strong>
                </div>
                <div class="foundation-kv__item">
                    <span><?php esc_html_e('Proof gates', 'antichrist-engine'); ?></span>
                    <strong><?php echo esc_html(number_format_i18n(count($launch_proof_gates))); ?></strong>
                </div>
                <div class="foundation-kv__item">
                    <span><?php esc_html_e('Promotion stages', 'antichrist-engine'); ?></span>
                    <strong><?php echo esc_html(number_format_i18n(count($promotion_ladder))); ?></strong>
                </div>
            </div>
            <p class="foundation-panel__subline"><?php echo esc_html($standards_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('Operating File', 'antichrist-engine'); ?></p>
                    <h2 class="entry-title"><?php the_title(); ?></h2>
                </header>
                <div class="entry-content">
                    <?php the_content(); ?>
                </div>
            </article>

            <section id="standards-map" class="card foundation-panel">
                <header class="entry-header">
                    <p class="eyebrow"><?php esc_html_e('Standards Map', 'antichrist-engine'); ?></p>
                    <h2><?php echo esc_html($standards_copy['map_title']); ?></h2>
                    <p><?php echo esc_html($standards_copy['map_summary']); ?></p>
                </header>
                <div class="statement-grid">
                    <?php foreach ($standards_routes as $route) : ?>
                        <article class="statement-card standards-route-card">
                            <p class="eyebrow"><?php echo esc_html($route['eyebrow']); ?></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('#' . $route['anchor']); ?>"><?php echo esc_html($route['cta']); ?></a>
                        </article>
                    <?php endforeach; ?>
                </div>
            </section>

            <section id="institutional-posture" class="card foundation-panel">
                <header class="entry-header">
                    <p class="eyebrow"><?php esc_html_e('Institutional Posture', 'antichrist-engine'); ?></p>
                    <h2><?php echo esc_html($standards_copy['posture_title']); ?></h2>
                    <p><?php echo esc_html($standards_copy['posture_summary']); ?></p>
                </header>
                <div class="statement-grid">
                    <?php foreach ($assurances as $assurance) : ?>
                        <article class="statement-card">
                            <h3><?php echo esc_html($assurance['title']); ?></h3>
                            <p><?php echo esc_html($assurance['summary']); ?></p>
                        </article>
                    <?php endforeach; ?>
                </div>
            </section>

            <section id="launch-voice-checks" class="card foundation-panel">
                <header class="entry-header">
                    <p class="eyebrow"><?php esc_html_e('Launch Voice Checks', 'antichrist-engine'); ?></p>
                    <h2><?php echo esc_html($standards_copy['voice_title']); ?></h2>
                    <p><?php echo esc_html($standards_copy['voice_summary']); ?></p>
                </header>
                <div class="standards-voice-grid">
                    <?php foreach ($voice_checks as $check) : ?>
                        <article class="statement-card standards-voice-card">
                            <p class="eyebrow"><?php echo esc_html($check['eyebrow']); ?></p>
                            <h3><?php echo esc_html($check['title']); ?></h3>
                            <p><?php echo esc_html($check['summary']); ?></p>