did some sniff sniff

This commit is contained in:
2025-07-14 21:47:29 -07:00
parent c6bb1b7c7b
commit 0e9321b01a
44 changed files with 2557 additions and 2259 deletions

View File

@@ -17,7 +17,7 @@ declare(strict_types=1);
get_header();
$archive_style = get_theme_mod('sophia_after_dark_archive_style', 'sad-archive--masonry-style');
$archive_style = get_theme_mod( 'sophia_after_dark_archive_style', 'sad-archive--masonry-style' );
?>
@@ -25,36 +25,36 @@ $archive_style = get_theme_mod('sophia_after_dark_archive_style', 'sad-archive--
<div itemscope id="primary" class="content-area">
<main id="main" class="site-main">
<?php if ('sad-archive--block-grid-style' === $archive_style): ?>
<?php if ( 'sad-archive--block-grid-style' === $archive_style ) : ?>
<div class="archive-grid-post-wrapper">
<?php endif; ?>
<?php if (have_posts()): ?>
<?php if ( have_posts() ) : ?>
<?php if ('sad-archive--masonry-style' === $archive_style): ?>
<?php if ( 'sad-archive--masonry-style' === $archive_style ) : ?>
<div class="sophia-after-dark-content-masonry">
<div id="sad-masonry">
<?php endif; ?>
<?php
while (have_posts()):
while ( have_posts() ) :
the_post();
get_template_part('template-parts/content', get_post_format());
get_template_part( 'template-parts/content', get_post_format() );
endwhile;
?>
<?php if ('sad-archive--masonry-style' === $archive_style): ?>
<?php if ( 'sad-archive--masonry-style' === $archive_style ) : ?>
</div>
</div>
<?php endif; ?>
<?php the_posts_pagination(); ?>
<?php else: ?>
<?php get_template_part('template-parts/content', 'none'); ?>
<?php else : ?>
<?php get_template_part( 'template-parts/content', 'none' ); ?>
<?php endif; ?>
<?php if ('sad-archive--block-grid-style' === $archive_style): ?>
<?php if ( 'sad-archive--block-grid-style' === $archive_style ) : ?>
</div>
<?php endif; ?>