<!--FansPaysite/index.php-->
<?php get_header(); ?>
<div id="primary" class="content-area">
	<div class="site-main">
		<?php if ( have_posts() ) : ?>
			<?php $fps_archive_mode = fanspaysite_get_archive_display(); ?>

			<?php if ( 'fullpage' === $fps_archive_mode ) : ?>
				<div class="fps-fullpage-container" id="fps-fullpage">
			<?php elseif ( 'boxes' === $fps_archive_mode ) : ?>
				<div class="fps-boxes-grid">
			<?php endif; ?>

			<?php while ( have_posts() ) : the_post(); ?>
				<?php get_template_part( 'template-parts/archive/content', $fps_archive_mode ); ?>
			<?php endwhile; ?>

			<?php if ( 'fullpage' === $fps_archive_mode || 'boxes' === $fps_archive_mode ) : ?>
				</div>
			<?php endif; ?>

			<?php the_posts_navigation(); ?>
		<?php else : ?>
			<?php get_template_part( 'template-parts/content', 'none' ); ?>
		<?php endif; ?>
	</div>
</div>

<?php get_footer(); ?>
