Skip to content
wiki.fftac.org

Antichrist Resource Pages - Source Excerpt 08

Back to Antichrist Resource Pages

Summary

This source excerpt preserves a bounded section of FFTAC/wp-content/themes/fftac-who-we-are/inc/antichrist-resource-pages.php so readers can inspect the evidence without opening the full source file.

**Source path:** FFTAC/wp-content/themes/fftac-who-we-are/inc/antichrist-resource-pages.php

'When a living person is mentioned, the page should ask whether the public-interest value is strong enough, whether the claim can be phrased without accusation, and whether a correction path is visible.',
					),
				),
				array(
					'title' => 'SEO Expansion Rules',
					'body'  => array(
						'SEO should make the library easier to find, not make it louder than its evidence. Each new page should answer a real reader question, include definitions, route to sources, and link to related pages.',
						'Pages should be specific: Antichrist in Daniel, Antichrist in Revelation, Nero Redivivus, Dajjal and Antichrist comparison, Best books on Antichrist, AI and mark of the beast claims, Antichrist glossary, Current web landscape method.',
					),
				),
			),
			'links'       => array(
				array(
					'title' => 'Method Support Links',
					'note'  => 'Institutional and reference links that help keep modern risk material grounded.',
					'items' => array(
						array( 'label' => 'NIST AI Risk Management Framework', 'url' => 'https://www.nist.gov/itl/ai-risk-management-framework' ),
						array( 'label' => 'United Nations Digital Library: Governing AI for Humanity', 'url' => 'https://digitallibrary.un.org/record/4062495' ),
						array( 'label' => 'Britannica: Antichrist', 'url' => 'https://www.britannica.com/topic/Antichrist' ),
					),
				),
			),
			'related'     => array( 'current-web-landscape', 'faq', 'glossary', 'hub' ),
		),
		'faq'                     => array(
			'slug'        => 'faq',
			'title'       => 'Antichrist FAQ',
			'short_title' => 'FAQ',
			'kicker'      => 'Fast answers, careful boundaries',
			'description' => 'Frequently asked questions about the Antichrist, biblical passages, beasts, 666, Dajjal, Armilus, AI, positive interpretations, current web claims, and FFTAC safety rules.',
			'updated'     => $updated,
			'intro'       => array(
				'This FAQ gives quick answers while pointing readers back to fuller pages. Short answers should still preserve distinctions.',
			),
			'sections'    => array(
				array(
					'title' => 'Is The Antichrist In The Bible?',
					'body'  => array(
						'Yes, but with an important distinction. The word Antichrist appears in 1 John and 2 John. Many other passages often associated with the Antichrist use different language: beasts, false christs, lawlessness, horns, deception, and empire imagery.',
					),
				),
				array(
					'title' => 'Is The Beast The Same As The Antichrist?',
					'body'  => array(
						'Many traditions connect them, but Revelation itself does not use the word Antichrist. A careful page should say whether it is discussing Revelation, Johannine epistles, later theology, or popular synthesis.',
					),
				),
				array(
					'title' => 'What Does 666 Mean?',
					'body'  => array(
						'666 is the number of the beast in Revelation 13. Serious discussion includes ancient number practices, Nero Caesar proposals, and the 616 variant, while also recognizing the broader symbolic role of allegiance, worship, and empire.',
					),
				),
				array(
					'title' => 'Is Dajjal The Antichrist?',
					'body'  => array(
						'English references often gloss al-Masih ad-Dajjal as the Antichrist, but Dajjal belongs to Islamic eschatology. Comparison is useful when it respects the Islamic tradition rather than treating it as a simple copy.',
					),
				),
				array(
					'title' => 'Can FFTAC Discuss Positive Antichrist Views?',
					'body'  => array(
						'Yes. The site can explain positive or adversarial readings as philosophy, psychology, occult symbolism, fiction, or technology discourse. Explanation is not endorsement, recruitment, or permission for harm.',
					),
				),
				array(
					'title' => 'Will The Site Name A Living Person As The Antichrist?',
					'body'  => array(
						'No. The site can discuss public claims, rhetoric, media narratives, and symbolic interpretation, but it will not publish real-person Antichrist accusations or target lists.',
					),
				),
				array(
					'title' => 'Why Include AI?',
					'body'  => array(
						'AI is now a major surface for apocalypse language: false oracle, synthetic god, surveillance system, global governance engine, existential risk, and technological salvation. A modern Antichrist resource should help readers evaluate those claims carefully.',
					),
				),
				array(
					'title' => 'Why Not Link Every Current Group?',
					'body'  => array(
						'Some links would function as recruitment, harassment, or radicalization paths. FFTAC can document the existence of high-risk material through archive-only notes and neutral sources without making the public site a referral directory.',
					),
				),
			),
			'links'       => array(
				array(
					'title' => 'FAQ Next Steps',
					'note'  => 'Use the full pages for deeper research.',
					'items' => array(
						array( 'label' => 'Biblical foundations', 'url' => fftac_resource_url( 'biblical-foundations' ) ),
						array( 'label' => 'Current web landscape', 'url' => fftac_resource_url( 'current-web-landscape' ) ),
						array( 'label' => 'Apocalyptic AI', 'url' => fftac_resource_url( 'apocalyptic-ai' ) ),
						array( 'label' => 'Research method', 'url' => fftac_resource_url( 'research-method' ) ),
					),
				),
			),
			'related'     => array( 'hub', 'biblical-foundations', 'glossary', 'research-method' ),
		),
	);

	return $pages;
}

/**
 * Return a single resource page.
 *
 * @param string $slug Page slug.
 * @return array<string,mixed>|null
 */
function fftac_resource_page( $slug ) {
	$slug  = 'hub' === $slug || '' === $slug ? 'hub' : sanitize_title( $slug );
	$pages = fftac_resource_pages();

	return isset( $pages[ $slug ] ) ? $pages[ $slug ] : null;
}

/**
 * Return the current queried resource slug.
 *
 * @return string
 */
function fftac_resource_slug() {
	$slug = get_query_var( 'fftac_resource' );

	if ( ! is_string( $slug ) || '' === $slug ) {
		return '';
	}

	return sanitize_title( $slug );
}

/**
 * Build a public URL for a resource route.
 *
 * @param string $slug Page slug.
 * @return string
 */
function fftac_resource_url( $slug = 'hub' ) {
	$slug = sanitize_title( $slug );

	if ( '' === $slug || 'hub' === $slug ) {
		return home_url( '/antichrist/' );
	}

	return home_url( '/antichrist/' . $slug . '/' );
}

/**
 * Return sitemap URL for the resource library.
 *
 * @return string
 */
function fftac_resource_sitemap_url() {
	return home_url( '/antichrist-sitemap.xml' );
}

/**
 * Return index items for navigation and page indexes.
 *
 * @return array<int,array<string,string>>
 */
function fftac_resource_index() {
	$index = array();

	foreach ( fftac_resource_pages() as $slug => $page ) {
		$index[] = array(
			'slug'        => $slug,
			'title'       => $page['title'],
			'short_title' => isset( $page['short_title'] ) ? $page['short_title'] : $page['title'],
			'description' => isset( $page['description'] ) ? $page['description'] : '',
			'url'         => fftac_resource_url( $slug ),
		);
	}

	return $index;
}

/**
 * Register resource rewrite rules.
 */
function fftac_register_resource_rewrites() {
	add_rewrite_tag( '%fftac_resource%', '([^&]+)' );
	add_rewrite_rule( '^antichrist-sitemap\.xml$', 'index.php?fftac_resource=sitemap', 'top' );
	add_rewrite_rule( '^antichrist/?$', 'index.php?fftac_resource=hub', 'top' );
	add_rewrite_rule( '^antichrist/([^/]+)/?$', 'index.php?fftac_resource=$matches[1]', 'top' );
}
add_action( 'init', 'fftac_register_resource_rewrites' );

/**
 * Add resource query var.
 *
 * @param array<int,string> $vars Query vars.
 * @return array<int,string>
 */
function fftac_resource_query_vars( $vars ) {
	$vars[] = 'fftac_resource';
	return $vars;
}
add_filter( 'query_vars', 'fftac_resource_query_vars' );

/**
 * Flush rewrites when the theme activates.
 */
function fftac_resource_flush_rewrites() {
	fftac_register_resource_rewrites();
	flush_rewrite_rules();
}
add_action( 'after_switch_theme', 'fftac_resource_flush_rewrites' );

/**
 * Flush rewrites in admin when this routed library version changes.
 */
function fftac_resource_maybe_flush_rewrites() {
	$option  = 'fftac_resource_rewrite_version';
	$current = get_option( $option );

	if ( FFTAC_WHO_WE_ARE_VERSION !== $current ) {
		fftac_register_resource_rewrites();
		flush_rewrite_rules( false );
		update_option( $option, FFTAC_WHO_WE_ARE_VERSION );
	}
}
add_action( 'admin_init', 'fftac_resource_maybe_flush_rewrites' );

/**
 * Output the XML sitemap or mark missing resource routes as 404.
 */
function fftac_resource_template_redirect() {
	$slug = fftac_resource_slug();

	if ( '' === $slug ) {
		return;
	}

	if ( 'sitemap' === $slug ) {
		fftac_resource_output_sitemap();
		exit;
	}

	if ( ! fftac_resource_page( $slug ) ) {
		global $wp_query;

		$wp_query->set_404();
		status_header( 404 );
		nocache_headers();
	}
}
add_action( 'template_redirect', 'fftac_resource_template_redirect' );