working: footer widgets, searchform, search results

This commit is contained in:
Adam Piontek 2021-07-10 17:13:24 -04:00
parent 630e153253
commit 0c9de62831
17 changed files with 234 additions and 121 deletions

View file

@ -12,16 +12,16 @@ get_header(); ?>
<main class="container d-flex justify-content-center">
<div class="col-12 col-md-10 col-lg-9 col-xl-8 col-xxl-7 pb-2 mb-4 mt-3">
<?php if (is_archive()) { ?>
<?php if (is_archive()) : ?>
<h1 class="text-gray-300 fst-italic mb-4 tek-border-bottom-gray-dashed"><?= get_the_archive_title(); ?></h1>
<?php
}
if ( have_posts() ) {
while ( have_posts() ) {
endif;
if ( have_posts() ) :
while ( have_posts() ) :
the_post();
echo get_template_part( 'content-templates/content', 'article' );
}
endwhile;
?>
<nav class="d-flex justify-content-between" aria-label="Page navigation">
@ -30,16 +30,10 @@ get_header(); ?>
</nav>
<?php
}
endif;
?>
<!-- ?php // if ( !is_active_sidebar( 'sidebar' ) ) : ? -->
<!-- <aside class="w-full lg:w-2/6 bg-white border-gray-400 border-2 p-8"> -->
<!-- ?php // dynamic_sidebar( 'sidebar' ); ? -->
<!-- </aside> -->
<!-- ?php // endif; ? -->
</div>
</main>
<?php
get_footer();
get_footer('', array('frontpage'=>false));