Antichrist Net Archive
**Site relevance:** Antichrist.net
**Memory type:** theme source memory
**Source path:** Antichrist.net/wp-content/themes/antichrist-net/archive.php
**Size:** 1.4 KB
Summary
Reviewed source memory file preserved in the wiki archive.
Source Preview
This source file is short enough to preview directly on its source-memory page.
<?php
/**
* Archive template.
*
* @package AntichristNet
*/
get_header();
?>
<main id="primary" class="site-main container archive-layout">
<?php acn_breadcrumbs(); ?>
<header class="page-header narrow">
<p class="kicker"><?php esc_html_e( 'Archive', 'antichrist-net' ); ?></p>
<h1><?php the_archive_title(); ?></h1>
<?php the_archive_description( '<div class="archive-description">', '</div>' ); ?>
</header>
<?php if ( have_posts() ) : ?>
<div class="post-list">
<?php while ( have_posts() ) : the_post(); ?>
<article <?php post_class( has_post_thumbnail() ? 'post-card' : 'post-card post-card--no-thumb' ); ?>>
<?php if ( has_post_thumbnail() ) : ?>
<a class="post-thumb" href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'acn-card' ); ?></a>
<?php endif; ?>
<div class="post-card-content">
<?php acn_entry_meta(); ?>
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<?php the_excerpt(); ?>
<a class="text-link" href="<?php the_permalink(); ?>"><?php esc_html_e( 'Open record', 'antichrist-net' ); ?> <span aria-hidden="true">→</span></a>
</div>
</article>
<?php endwhile; ?>
</div>
<?php the_posts_pagination(); ?>
<?php else : ?>
<section class="empty-state"><h2><?php esc_html_e( 'No records found.', 'antichrist-net' ); ?></h2></section>
<?php endif; ?>
</main>
<?php get_footer(); ?>