rearranged social icon handling, implemented shortcodes, front-page now uses page content
This commit is contained in:
parent
573dcbf799
commit
d29641d700
12 changed files with 250 additions and 147 deletions
19
index.php
19
index.php
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue