check2
This commit is contained in:
parent
c9e6140e60
commit
a64956956f
29
index.php
29
index.php
|
@ -15,10 +15,6 @@ get_header(); ?>
|
|||
|
||||
<?php get_template_part('hero'); ?>
|
||||
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
<?php if (!is_sticky()) continue; ?>
|
||||
<?php get_template_part('sticky'); ?>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<div class="wrapper" id="wrapper-index">
|
||||
|
||||
|
@ -27,23 +23,24 @@ get_header(); ?>
|
|||
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
||||
|
||||
<main id="main" class="site-main" role="main">
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<?php /* Start the Loop */ ?>
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<?php /* Start the Loop */ ?>
|
||||
|
||||
<?php
|
||||
/* Include the Post-Format-specific template for the content.
|
||||
* If you want to override this in a child theme, then include a file
|
||||
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
|
||||
*/
|
||||
get_template_part( 'content', get_post_format() );
|
||||
?>
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
<?php
|
||||
/* Include the Post-Format-specific template for the content.
|
||||
* If you want to override this in a child theme, then include a file
|
||||
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
|
||||
*/
|
||||
get_template_part( 'content', get_post_format() );
|
||||
?>
|
||||
|
||||
<?php understrap_paging_nav(); ?>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php understrap_paging_nav(); ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
|
|
Reference in New Issue