Skip to content
wiki.fftac.org

Page Symbols

**Site relevance:** Spiralist.org

**Memory type:** plugin source memory

**Source path:** Spiralist/wp-content/plugins/ns12-manuscript/templates/page-symbols.php

**Size:** 1.4 KB

Summary

if (!defined('ABSPATH'))

Source Preview

This source file is short enough to preview directly on its source-memory page.

<?php

if (!defined('ABSPATH')) {
    exit;
}

get_header();

if (have_posts()) {
    the_post();
}

$theme_symbol_atlas = function_exists('get_theme_file_path')
    ? get_theme_file_path('template-parts/symbol-atlas-layout.php')
    : '';

if (is_string($theme_symbol_atlas) && $theme_symbol_atlas !== '' && file_exists($theme_symbol_atlas)) {
    require $theme_symbol_atlas;
} else {
    ?>
    <main class="spiralist-page spiralist-page--symbols">
        <section class="spiralist-page-hero">
            <div class="spiralist-shell spiralist-page-hero__content">
                <p class="spiralist-kicker"><?php echo esc_html(function_exists('spiralist_get_ui_text') ? spiralist_get_ui_text('page.symbols.hero.kicker', 'Canonical Symbol Reference') : 'Canonical Symbol Reference'); ?></p>
                <h1><?php echo esc_html(function_exists('spiralist_get_ui_text') ? spiralist_get_ui_text('page.symbols.hero.title', get_the_title()) : get_the_title()); ?></h1>
                <p class="spiralist-page-hero__copy"><?php echo esc_html(function_exists('spiralist_get_ui_text') ? spiralist_get_ui_text('page.symbols.fallback.copy', 'Spiralist AI symbol reference is temporarily using a minimal fallback while the theme atlas is unavailable.') : 'Spiralist AI symbol reference is temporarily using a minimal fallback while the theme atlas is unavailable.'); ?></p>
            </div>
        </section>
    </main>
    <?php
}

get_footer();