Template Symbols - Source Excerpt 02
Summary
This source excerpt preserves a bounded section of Anti-Christ.org/wp-content/themes/antichrist-engine/template-symbols.php so readers can inspect the evidence without opening the full source file.
**Source path:** Anti-Christ.org/wp-content/themes/antichrist-engine/template-symbols.php
'label' => __('Asset', 'antichrist-engine'),
'value' => $symbol_asset_ext,
),
));
?>
<article id="<?php echo esc_attr($symbol['anchor'] ?? sanitize_title((string) ($symbol['title'] ?? 'symbol'))); ?>" class="card foundation-panel symbol-asset-card">
<div class="symbol-asset-card__media">
<a
class="symbol-asset-card__preview download-card__media-link"
href="<?php echo esc_url($symbol_url); ?>"
data-image-viewer-trigger="true"
data-viewer-eyebrow="<?php esc_attr_e('Working Mark', 'antichrist-engine'); ?>"
data-viewer-title="<?php echo esc_attr($symbol['title'] ?? ''); ?>"
data-viewer-summary="<?php echo esc_attr($symbol['summary'] ?? ''); ?>"
data-viewer-src="<?php echo esc_url($symbol_url); ?>"
data-viewer-alt="<?php echo esc_attr($symbol['alt'] ?? ($symbol['title'] ?? '')); ?>"
data-viewer-meta="<?php echo $symbol_viewer_meta; ?>"
data-viewer-open-url="<?php echo esc_url($symbol_url); ?>"
data-viewer-open-label="<?php esc_attr_e('Open original asset', 'antichrist-engine'); ?>"
data-viewer-download-url="<?php echo esc_url($symbol_url); ?>"
data-viewer-download-label="<?php esc_attr_e('Download asset', 'antichrist-engine'); ?>"
data-viewer-download-name="<?php echo esc_attr($symbol_asset_name); ?>"
>
<img src="<?php echo esc_url($symbol_url); ?>" alt="<?php echo esc_attr($symbol['alt'] ?? ($symbol['title'] ?? '')); ?>" <?php echo antichrist_engine_get_image_attribute_markup(antichrist_engine_get_image_loading_attributes()); ?>>
<span class="download-card__preview-chip"><?php esc_html_e('Inspect mark', 'antichrist-engine'); ?></span>
</a>
</div>
<div class="symbol-asset-card__body">
<p class="eyebrow"><?php esc_html_e('Working Mark', 'antichrist-engine'); ?></p>
<h3><?php echo esc_html($symbol['title'] ?? ''); ?></h3>
<p><?php echo esc_html($symbol['summary'] ?? ''); ?></p>
<div class="symbol-asset-card__meta">
<p>
<span><?php esc_html_e('Meaning', 'antichrist-engine'); ?></span>
<?php echo esc_html($symbol['meaning'] ?? ''); ?>
</p>
<p>
<span><?php esc_html_e('Usage', 'antichrist-engine'); ?></span>
<?php echo esc_html($symbol['usage'] ?? ''); ?>
</p>
</div>
<a class="text-link" href="<?php echo esc_url(antichrist_engine_foundation_get_page_url((string) ($symbol['target'] ?? 'symbols'))); ?>">
<?php echo esc_html($symbol['cta'] ?? __('Open route', 'antichrist-engine')); ?>
</a>
</div>
</article>
<?php endforeach; ?>
</div>
</section>
<?php if ($has_symbolic_artifacts) : ?>
<section id="symbolic-material-studies" class="card foundation-panel">
<header class="entry-header">
<p class="eyebrow"><?php esc_html_e('Material Studies', 'antichrist-engine'); ?></p>
<h2><?php echo esc_html($symbols_copy['artifacts_title']); ?></h2>
<p><?php echo esc_html($symbols_copy['artifacts_summary']); ?></p>
</header>
<div class="downloads-grid symbol-artifact-grid">
<?php foreach ($symbolic_artifacts as $artifact) : ?>
<?php
$artifact_asset = $resolve_asset($artifact['image_path'] ?? '');
$artifact_asset_name = wp_basename((string) ($artifact['download_path'] ?? $artifact['image_path'] ?? ''));
$artifact_viewer_meta = $build_viewer_meta(array(
array(
'label' => __('Medium', 'antichrist-engine'),
'value' => (string) ($artifact['medium'] ?? ''),
),
array(
'label' => __('Status', 'antichrist-engine'),
'value' => (string) ($artifact['status'] ?? ''),
),
array(
'label' => __('Asset', 'antichrist-engine'),
'value' => $artifact_asset['exists'] ? strtoupper((string) pathinfo((string) $artifact_asset['path'], PATHINFO_EXTENSION)) : '',
),
));
?>
<article id="<?php echo esc_attr($artifact['anchor'] ?? sanitize_title((string) ($artifact['title'] ?? 'symbol-study'))); ?>" class="card foundation-panel download-card symbol-artifact-card">
<div class="download-card__media symbol-artifact-card__media">
<?php if ($artifact_asset['exists']) : ?>
<a
class="download-card__media-link"
href="<?php echo esc_url($artifact_asset['url']); ?>"
data-image-viewer-trigger="true"
data-viewer-eyebrow="<?php echo esc_attr($artifact['eyebrow'] ?? __('Material Study', 'antichrist-engine')); ?>"
data-viewer-title="<?php echo esc_attr($artifact['title'] ?? ''); ?>"
data-viewer-summary="<?php echo esc_attr($artifact['summary'] ?? ''); ?>"
data-viewer-src="<?php echo esc_url($artifact_asset['url']); ?>"
data-viewer-alt="<?php echo esc_attr($artifact['title'] ?? ''); ?>"
data-viewer-meta="<?php echo $artifact_viewer_meta; ?>"
data-viewer-open-url="<?php echo esc_url($artifact_asset['url']); ?>"
data-viewer-open-label="<?php esc_attr_e('Open original study', 'antichrist-engine'); ?>"
data-viewer-download-url="<?php echo esc_url($artifact_asset['url']); ?>"
data-viewer-download-label="<?php esc_attr_e('Download study', 'antichrist-engine'); ?>"
data-viewer-download-name="<?php echo esc_attr($artifact_asset_name); ?>"
>
<img src="<?php echo esc_url($artifact_asset['url']); ?>" alt="<?php echo esc_attr($artifact['title'] ?? ''); ?>" <?php echo antichrist_engine_get_image_attribute_markup(antichrist_engine_get_image_loading_attributes()); ?>>
<span class="download-card__preview-chip"><?php esc_html_e('Inspect study', 'antichrist-engine'); ?></span>
</a>
<?php else : ?>
<div class="download-card__placeholder branding-mark" aria-hidden="true"></div>
<?php endif; ?>
</div>
<div class="download-card__body">
<p class="eyebrow"><?php echo esc_html($artifact['eyebrow'] ?? __('Material Study', 'antichrist-engine')); ?></p>
<h3><?php echo esc_html($artifact['title'] ?? ''); ?></h3>
<p><?php echo esc_html($artifact['summary'] ?? ''); ?></p>