Skip to content
wiki.fftac.org

FFTAC Who We Are Index

**Site relevance:** FFTAC.org

**Memory type:** theme source memory

**Source path:** FFTAC/wp-content/themes/fftac-who-we-are/index.php

**Size:** 1.1 KB

Summary

@package FFTAC Who We Are

Source Preview

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

<?php
/**
 * Main index template.
 *
 * @package FFTAC_Who_We_Are
 */

get_header();
?>
<main id="primary" class="main">
	<?php if ( have_posts() ) : ?>
		<header class="archive-header">
			<div class="archive-header-inner">
				<p class="archive-kicker"><?php esc_html_e( 'FFTAC archive', 'fftac-who-we-are' ); ?></p>
				<?php if ( is_home() && ! is_front_page() ) : ?>
					<h1 class="archive-title"><?php single_post_title(); ?></h1>
				<?php else : ?>
					<h1 class="archive-title"><?php esc_html_e( 'Latest entries', 'fftac-who-we-are' ); ?></h1>
				<?php endif; ?>
				<p class="archive-description"><?php esc_html_e( 'Recent pages and essays from the public information archive.', 'fftac-who-we-are' ); ?></p>
			</div>
		</header>

		<div class="posts-grid">
			<?php
			while ( have_posts() ) :
				the_post();
				get_template_part( 'template-parts/content', 'card' );
			endwhile;
			?>
		</div>

		<div class="section">
			<?php the_posts_pagination(); ?>
		</div>
	<?php else : ?>
		<?php get_template_part( 'template-parts/content', 'none' ); ?>
	<?php endif; ?>
</main>
<?php
get_footer();