Skip to content
wiki.fftac.org

Template Texts - Source Excerpt 02

Back to Template Texts

Summary

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

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

<p class="eyebrow"><?php esc_html_e('Case Files', 'antichrist-engine'); ?></p>
                    <h2><?php echo esc_html($texts_copy['cases_title']); ?></h2>
                    <p><?php echo esc_html($texts_copy['cases_summary']); ?></p>
                </header>
                <div class="statement-grid">
                    <?php foreach ($case_files as $case_file) : ?>
                        <?php $case_anchor = sanitize_title((string) ($case_file['title'] ?? 'text-case')); ?>
                        <article id="<?php echo esc_attr($case_anchor); ?>" class="statement-card interpretive-case-card">
                            <p class="eyebrow"><?php echo esc_html($case_file['eyebrow'] ?? ''); ?></p>
                            <h3><?php echo esc_html($case_file['title'] ?? ''); ?></h3>
                            <p><?php echo esc_html($case_file['summary'] ?? ''); ?></p>
                            <p class="research-card__meta"><strong><?php esc_html_e('Focus:', 'antichrist-engine'); ?></strong> <?php echo esc_html($case_file['focus'] ?? ''); ?></p>
                            <p class="foundation-panel__subline"><?php echo esc_html($case_file['note'] ?? ''); ?></p>
                            <a class="text-link" href="<?php echo esc_url(antichrist_engine_foundation_build_target_url((string) ($case_file['target'] ?? 'research'), (array) ($case_file['args'] ?? array()), (string) ($case_file['anchor'] ?? 'claim-index'))); ?>">
                                <?php echo esc_html($case_file['cta'] ?? __('Open case file', 'antichrist-engine')); ?>
                            </a>
                        </article>
                    <?php endforeach; ?>
                </div>
            </section>

            <section id="textual-method" class="card foundation-panel">
                <header class="entry-header">
                    <p class="eyebrow"><?php esc_html_e('Method', 'antichrist-engine'); ?></p>
                    <h2><?php echo esc_html($texts_copy['method_title']); ?></h2>
                    <p><?php echo esc_html($texts_copy['method_summary']); ?></p>
                </header>
                <div class="statement-grid">
                    <?php foreach ($method_steps as $step) : ?>
                        <article class="statement-card interpretive-method-card">
                            <h3><?php echo esc_html($step['title'] ?? ''); ?></h3>
                            <p><?php echo esc_html($step['summary'] ?? ''); ?></p>
                        </article>
                    <?php endforeach; ?>
                </div>
            </section>

            <section id="textual-source-shelf" class="card foundation-panel">
                <header class="entry-header">
                    <p class="eyebrow"><?php esc_html_e('Source Shelf', 'antichrist-engine'); ?></p>
                    <h2><?php echo esc_html($texts_copy['sources_title']); ?></h2>
                    <p><?php echo esc_html($texts_copy['sources_summary']); ?></p>
                </header>
                <div class="search-match-grid">
                    <?php foreach ($source_shelf as $source) : ?>
                        <a class="search-match-card" href="<?php echo esc_url((string) ($source['record_url'] ?? $research_url)); ?>">
                            <span class="search-match-card__meta">
                                <?php
                                echo esc_html(implode(' / ', array_filter(array(
                                    $source['record_id'] ?? '',
                                    $source['publisher'] ?? '',
                                    sprintf(
                                        /* translators: %s: source citation count */
                                        __('Citations: %s', 'antichrist-engine'),
                                        number_format_i18n((int) ($source['citation_count'] ?? 0))
                                    ),
                                ))));
                                ?>
                            </span>
                            <strong><?php echo esc_html($source['title'] ?? ''); ?></strong>
                            <p><?php echo esc_html($source['note'] ?? ''); ?></p>
                        </a>
                    <?php endforeach; ?>
                </div>
            </section>
        </div>

        <aside class="foundation-layout__aside">
            <article class="card foundation-panel foundation-panel--compact foundation-panel--sticky">
                <p class="eyebrow"><?php esc_html_e('Section Index', 'antichrist-engine'); ?></p>
                <ul class="membership-links">
                    <li><a href="#textual-launch-questions"><?php esc_html_e('Launch questions', 'antichrist-engine'); ?></a></li>
                    <li><a href="#textual-reading-routes"><?php esc_html_e('Reading routes', 'antichrist-engine'); ?></a></li>
                    <li><a href="#textual-case-files"><?php esc_html_e('Case files', 'antichrist-engine'); ?></a></li>
                    <li><a href="#textual-method"><?php esc_html_e('Method', 'antichrist-engine'); ?></a></li>
                    <li><a href="#textual-source-shelf"><?php esc_html_e('Source shelf', 'antichrist-engine'); ?></a></li>
                </ul>
            </article>

            <?php foreach ($reference_links as $group => $items) : ?>
                <article class="card foundation-panel foundation-panel--compact">
                    <p class="eyebrow"><?php echo esc_html('institution' === $group ? __('Reference File', 'antichrist-engine') : ('publication' === $group ? __('Publication Links', 'antichrist-engine') : __('Participation', 'antichrist-engine'))); ?></p>
                    <ul class="membership-links">
                        <?php foreach ($items as $item) : ?>
                            <li><a href="<?php echo esc_url($item['url']); ?>"><?php echo esc_html($item['label']); ?></a></li>
                        <?php endforeach; ?>
                    </ul>
                </article>
            <?php endforeach; ?>

            <article class="card foundation-panel foundation-panel--compact">
                <p class="eyebrow"><?php esc_html_e('Quick Routes', 'antichrist-engine'); ?></p>
                <ul class="membership-links">
                    <li><a href="<?php echo esc_url($research_url); ?>"><?php esc_html_e('Research atlas', 'antichrist-engine'); ?></a></li>
                    <li><a href="<?php echo esc_url($recovery_url); ?>"><?php esc_html_e('Recovery guide', 'antichrist-engine'); ?></a></li>
                    <li><a href="<?php echo esc_url($questions_url); ?>"><?php esc_html_e('Doctrine Q&A', 'antichrist-engine'); ?></a></li>
                    <li><a href="<?php echo esc_url(antichrist_engine_foundation_build_target_url('research', array(), 'historical-timeline')); ?>"><?php esc_html_e('Historical timeline', 'antichrist-engine'); ?></a></li>
                    <li><a href="<?php echo esc_url(antichrist_engine_foundation_build_target_url('research', array(), 'source-library')); ?>"><?php esc_html_e('Source library', 'antichrist-engine'); ?></a></li>
                </ul>
            </article>

            <article class="card foundation-panel foundation-panel--compact foundation-notice-card">
                <p class="eyebrow"><?php esc_html_e('Institutional Notice', 'antichrist-engine'); ?></p>
                <p class="foundation-panel__subline"><?php echo esc_html($document_profile['classification']); ?></p>
                <p><?php echo esc_html($identity['disclaimer']); ?></p>
            </article>

            <article class="card foundation-panel foundation-panel--compact">
                <p class="eyebrow"><?php esc_html_e('Public Assurances', 'antichrist-engine'); ?></p>
                <ul class="foundation-list foundation-list--tight">
                    <?php foreach (array_slice($assurances, 0, 3) as $assurance) : ?>
                        <li><?php echo esc_html($assurance['title']); ?></li>
                    <?php endforeach; ?>
                </ul>
            </article>
        </aside>
    </div>
</section>
<?php
get_footer();