Skip to content
wiki.fftac.org

Template Tags - Source Excerpt 02

Back to Template Tags

Summary

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

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

$profile['role_summary']   = __('This file is meant to restore sequence, context, and institutional memory before present-tense panic gets reattached to new villains.', 'antichrist-engine');
            $profile['best_use']       = __('Best when the reader needs chronology, church-conflict context, and political reuse patterns before trusting the modern argument.', 'antichrist-engine');
            $profile['packet_title']   = __('Use this file with the timeline and the texts lab', 'antichrist-engine');
            $profile['packet_summary'] = __('Historical files work best when they stay connected to the timeline and the textual pressure points that later readers keep enlarging into universal panic.', 'antichrist-engine');
            $profile['packet_points']  = array(
                __('Read the file beside the historical timeline so sequence does not collapse into anecdote.', 'antichrist-engine'),
                __('Use the texts lab when the historical argument turns on a repeatedly abused passage.', 'antichrist-engine'),
                __('Treat the file as metahistorical calibration, not just a decorative backstory for the present.', 'antichrist-engine'),
            );
            $profile['routes']         = array(
                array(
                    'eyebrow' => __('Timeline', 'antichrist-engine'),
                    'title'   => __('Open the historical timeline', 'antichrist-engine'),
                    'summary' => __('Return to the chronology route that shows how antichrist identifications move across eras and institutions.', 'antichrist-engine'),
                    'target'  => 'research',
                    'anchor'  => 'historical-timeline',
                    'cta'     => __('Open the historical timeline', 'antichrist-engine'),
                ),
                array(
                    'eyebrow' => __('Texts Lab', 'antichrist-engine'),
                    'title'   => __('Open the textual pressure points', 'antichrist-engine'),
                    'summary' => __('Use the texts lab when the historical sequence depends on how a passage was first used and later enlarged.', 'antichrist-engine'),
                    'target'  => 'texts',
                    'anchor'  => 'textual-reading-routes',
                    'cta'     => __('Open the texts lab', 'antichrist-engine'),
                ),
            );
            break;

        case 'algorithmic-eschatology':
            $profile['role_label']     = __('Flagship systems essay', 'antichrist-engine');
            $profile['role_summary']   = __('This file should act like the public spearpoint of the archive: where prophecy panic is translated into systems critique around machine authority and obedience architecture.', 'antichrist-engine');
            $profile['best_use']       = __('Best when the conversation is outward-facing and the next proof needs to show why FFTAC matters in the present tense.', 'antichrist-engine');
            $profile['packet_title']   = __('Use this essay with the algorithmic atlas lane and inquiry frontier', 'antichrist-engine');
            $profile['packet_summary'] = __('Flagship systems essays work best when the journal file, the algorithmic dossier lane, and the bounded inquiry surface all point at the same institutional question.', 'antichrist-engine');
            $profile['packet_points']  = array(
                __('Pair the essay with the algorithmic atlas lane when readers need claims, examples, and related records.', 'antichrist-engine'),
                __('Use the AI Engine frontier when the issue is machine authority rather than prophecy branding alone.', 'antichrist-engine'),
                __('Treat the file as the clearest modern differentiator in the archive, not as just another journal post.', 'antichrist-engine'),
            );
            $profile['routes']         = array(
                array(
                    'eyebrow' => __('Atlas Lane', 'antichrist-engine'),
                    'title'   => __('Open the algorithmic research lane', 'antichrist-engine'),
                    'summary' => __('Return to the atlas slice for AI, surveillance, biometrics, and identity-rail claims behind the essay.', 'antichrist-engine'),
                    'target'  => 'research',
                    'args'    => array(
                        'claim_q'        => 'algorithmic authority ai',
                        'claim_category' => 'algorithmic',
                    ),
                    'anchor'  => 'claim-index',
                    'cta'     => __('Open the algorithmic atlas lane', 'antichrist-engine'),
                ),
                array(
                    'eyebrow' => __('Inquiry Frontier', 'antichrist-engine'),
                    'title'   => __('Reopen the bounded machine-inquiry surface', 'antichrist-engine'),
                    'summary' => __('Use the AI Engine when the next step is reframing a fear script or authority reflex rather than browsing more archive prose immediately.', 'antichrist-engine'),
                    'target'  => 'ai_engine',
                    'anchor'  => 'algorithmic-frontier',
                    'cta'     => __('Open the inquiry frontier', 'antichrist-engine'),
                ),
            );
            break;

        case 'signals-and-symbols':
            $profile['role_label']     = __('Signals briefing', 'antichrist-engine');
            $profile['role_summary']   = __('This file is meant to orient fast without collapsing into generic churn: compact enough for first contact, serious enough to keep the institutional tone intact.', 'antichrist-engine');
            $profile['best_use']       = __('Best when the reader needs the shortest governed entry point before committing to dossiers, essays, or the full atlas.', 'antichrist-engine');
            $profile['packet_title']   = __('Use this briefing with the short-form layer behind the archive', 'antichrist-engine');
            $profile['packet_summary'] = __('Signals briefings work best when they stay connected to executive briefings, recovery-safe routes, and the broader publication rhythm instead of trying to carry the whole institution alone.', 'antichrist-engine');
            $profile['packet_points']  = array(
                __('Use the file as an orientation surface, not as a substitute for the deeper atlas or longer essays.', 'antichrist-engine'),
                __('Keep executive briefings nearby for the compact research layer behind the short-form release.', 'antichrist-engine'),
                __('Route recovery-fragile readers toward calmer reading paths before asking for more depth.', 'antichrist-engine'),
            );
            $profile['routes']         = array(
                array(
                    'eyebrow' => __('Briefings', 'antichrist-engine'),
                    'title'   => __('Open executive briefings', 'antichrist-engine'),
                    'summary' => __('Use the compact research briefings when the reader needs another short outward-facing layer before a long read.', 'antichrist-engine'),
                    'target'  => 'research',
                    'anchor'  => 'executive-briefings',
                    'cta'     => __('Open executive briefings', 'antichrist-engine'),
                ),
                array(
                    'eyebrow' => __('Recovery', 'antichrist-engine'),
                    'title'   => __('Route fragile readers toward recovery-first paths', 'antichrist-engine'),
                    'summary' => __('When the issue is fear, shame, or panic collapse, send the reader toward the calmer recovery routes instead of forcing more archive density.', 'antichrist-engine'),
                    'target'  => 'recovery',
                    'anchor'  => 'reading-routes',
                    'cta'     => __('Open recovery routes', 'antichrist-engine'),
                ),
            );
            break;
    }

    return $profile;
}

/**
 * Estimates reading time for the current post.
 *
 * @param int $post_id Optional post ID.
 * @return string
 */
function antichrist_engine_reading_time($post_id = 0)
{
    $post_id = $post_id ? (int) $post_id : get_the_ID();
    $content = wp_strip_all_tags(get_post_field('post_content', $post_id));
    $word_count = str_word_count($content);
    $minutes = max(1, (int) ceil($word_count / 220));

    return sprintf(
        /* translators: %s is the reading time in minutes. */
        _n('%s min read', '%s min read', $minutes, 'antichrist-engine'),
        number_format_i18n($minutes)
    );
}

/**
 * Renders route cards for empty publication/archive states.
 *
 * @param array<int, array<string, mixed>> $routes Optional route definitions.
 * @return void
 */
function antichrist_engine_render_publication_empty_routes($routes = array())
{