Skip to content
wiki.fftac.org

Template Research - Source Excerpt 07

Back to Template Research

Summary

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

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

<h2><?php esc_html_e('Short entries for readers who need the map before the archive', 'antichrist-engine'); ?></h2>
                </header>
                <div class="research-briefing-grid">
                    <?php foreach ($briefings as $briefing) : ?>
                        <article class="statement-card briefing-card<?php echo $active_record_id === (string) ($briefing['record_id'] ?? '') ? ' is-focused' : ''; ?>">
                            <p class="publication-kicker"><?php echo esc_html($briefing['duration']); ?></p>
                            <p class="research-record-pill"><?php echo esc_html($briefing['record_id']); ?></p>
                            <h3><?php echo esc_html($briefing['title']); ?></h3>
                            <p><?php echo esc_html($briefing['summary']); ?></p>
                            <div class="briefing-card__actions">
                                <button
                                    type="button"
                                    class="button button--ghost button--small briefing-audio-button"
                                    data-speech-text="<?php echo esc_attr($briefing['audio_text']); ?>"
                                >
                                    <?php esc_html_e('Listen to summary', 'antichrist-engine'); ?>
                                </button>
                                <a class="text-link" href="<?php echo esc_url($briefing['record_url']); ?>"><?php esc_html_e('Open record', 'antichrist-engine'); ?></a>
                            </div>
                        </article>
                    <?php endforeach; ?>
                </div>
                <p class="screen-reader-text" aria-live="polite" data-speech-status></p>
            </section>

            <section id="research-lenses" class="card foundation-panel">
                <header class="entry-header">
                    <p class="eyebrow"><?php esc_html_e('Research Lenses', 'antichrist-engine'); ?></p>
                    <h2><?php esc_html_e('Five angles for reading the Antichrist beyond panic', 'antichrist-engine'); ?></h2>
                </header>
                <div class="research-lab-grid">
                    <?php foreach ($labs as $lab) : ?>
                        <article class="statement-card research-lab-card">
                            <p class="eyebrow"><?php echo esc_html($lab['eyebrow']); ?></p>
                            <h3><?php echo esc_html($lab['title']); ?></h3>
                            <p><?php echo esc_html($lab['summary']); ?></p>
                            <p class="research-card__meta"><strong><?php esc_html_e('Focus:', 'antichrist-engine'); ?></strong> <?php echo esc_html($lab['focus']); ?></p>
                            <a class="text-link" href="<?php echo esc_url(antichrist_engine_foundation_get_page_url($lab['page'])); ?>"><?php echo esc_html($lab['cta']); ?></a>
                        </article>
                    <?php endforeach; ?>
                </div>
            </section>

            <section id="framework-map" class="card foundation-panel">
                <header class="entry-header">
                    <p class="eyebrow"><?php esc_html_e('Framework Map', 'antichrist-engine'); ?></p>
                    <h2><?php esc_html_e('How different traditions frame the problem', 'antichrist-engine'); ?></h2>
                </header>
                <div class="foundation-table-wrap">
                    <table class="foundation-table">
                        <thead>
                            <tr>
                                <th scope="col"><?php esc_html_e('Tradition', 'antichrist-engine'); ?></th>
                                <th scope="col"><?php esc_html_e('Identification', 'antichrist-engine'); ?></th>
                                <th scope="col"><?php esc_html_e('Focus', 'antichrist-engine'); ?></th>
                                <th scope="col"><?php esc_html_e('Research Value', 'antichrist-engine'); ?></th>
                            </tr>
                        </thead>
                        <tbody>
                            <?php foreach ($frameworks as $framework) : ?>
                                <tr>
                                    <th scope="row"><?php echo esc_html($framework['tradition']); ?></th>
                                    <td data-label="<?php echo esc_attr__('Identification', 'antichrist-engine'); ?>"><?php echo esc_html($framework['identification']); ?></td>
                                    <td data-label="<?php echo esc_attr__('Focus', 'antichrist-engine'); ?>"><?php echo esc_html($framework['focus']); ?></td>
                                    <td data-label="<?php echo esc_attr__('Research Value', 'antichrist-engine'); ?>"><?php echo esc_html($framework['research_use']); ?></td>
                                </tr>
                            <?php endforeach; ?>
                        </tbody>
                    </table>
                </div>
            </section>

            <section id="historical-timeline" class="card foundation-panel">
                <header class="entry-header">
                    <p class="eyebrow"><?php esc_html_e('Historical Timeline', 'antichrist-engine'); ?></p>
                    <h2><?php esc_html_e('How the label keeps getting reassigned', 'antichrist-engine'); ?></h2>
                </header>
                <div class="research-toolbar">
                    <div class="filter-chip-group" aria-label="<?php esc_attr_e('Timeline filters', 'antichrist-engine'); ?>">
                        <button type="button" class="filter-chip <?php echo 'all' === $research_filters['timeline_category'] ? 'is-active' : ''; ?>" data-filter-target="timeline" data-filter="all"><?php esc_html_e('All eras', 'antichrist-engine'); ?></button>
                        <?php foreach ($timeline_filters as $filter) : ?>
                            <button type="button" class="filter-chip <?php echo $research_filters['timeline_category'] === $filter ? 'is-active' : ''; ?>" data-filter-target="timeline" data-filter="<?php echo esc_attr($filter); ?>">
                                <?php echo esc_html($timeline_labels[$filter] ?? ucwords(str_replace('-', ' ', $filter))); ?>
                            </button>
                        <?php endforeach; ?>
                    </div>
                    <div class="research-results-meta">
                        <p class="research-results-summary" data-timeline-summary><?php echo esc_html($timeline_summary); ?></p>
                        <a class="text-link research-results-clear" href="<?php echo esc_url(antichrist_engine_foundation_build_target_url('research', array(), 'historical-timeline')); ?>" data-timeline-clear <?php echo $research_filters['has_timeline_filters'] ? '' : 'hidden'; ?>>
                            <?php esc_html_e('Clear timeline filter', 'antichrist-engine'); ?>
                        </a>
                    </div>
                </div>
                <div class="timeline-list">
                    <?php foreach ($timeline as $timeline_index => $entry) : ?>
                        <article
                            id="<?php echo esc_attr($entry['anchor']); ?>"
                            class="timeline-card<?php echo $active_record_id === (string) ($entry['record_id'] ?? '') ? ' is-focused' : ''; ?>"
                            data-research-item="timeline"
                            data-category="<?php echo esc_attr($entry['category']); ?>"
                            <?php echo !empty($timeline_visibility[$timeline_index]) ? '' : 'hidden'; ?>
                        >
                            <p class="timeline-card__year"><?php echo esc_html($entry['year']); ?></p>
                            <div class="timeline-card__body">
                                <p class="research-record-pill"><?php echo esc_html($entry['record_id']); ?></p>
                                <h3><?php echo esc_html($entry['title']); ?></h3>
                                <p><?php echo esc_html($entry['summary']); ?></p>
                                <div class="tag-list">
                                    <?php foreach ($entry['tags'] as $tag) : ?>
                                        <span class="tag-pill"><?php echo esc_html($tag); ?></span>
                                    <?php endforeach; ?>
                                </div>
                                <div class="timeline-card__actions">
                                    <a class="text-link" href="<?php echo esc_url($entry['record_url']); ?>"><?php esc_html_e('Open record', 'antichrist-engine'); ?></a>
                                </div>
                            </div>
                        </article>
                    <?php endforeach; ?>
                </div>