rearranged social icon handling, implemented shortcodes, front-page now uses page content

This commit is contained in:
Adam Piontek 2021-07-09 12:20:38 -04:00
parent 573dcbf799
commit d29641d700
12 changed files with 250 additions and 147 deletions

View file

@ -14,20 +14,19 @@ get_header(); ?>
<div class="col-12 col-md-10 col-lg-9 col-xl-8 col-xxl-7 pb-2 mb-4 mt-3">
<?php
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
echo get_template_part( 'content-templates/content', 'article' );
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
echo get_template_part( 'content-templates/content', 'article' );
}
}
} ?>
?>
<?php
// if ( !is_active_sidebar( 'sidebar' ) ) : ?>
<!-- ?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' ); ?>
<!-- ?php // dynamic_sidebar( 'sidebar' ); ? -->
<!-- </aside> -->
<?php
// endif; ?>
<!-- ?php // endif; ? -->
</div>
</main>
<?php