This commit is contained in:
Holger Könemann 2015-08-12 13:39:10 +02:00
parent c9e6140e60
commit a64956956f
1 changed files with 17 additions and 20 deletions

View File

@ -15,10 +15,6 @@ get_header(); ?>
<?php get_template_part('hero'); ?> <?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"> <div class="wrapper" id="wrapper-index">
@ -27,6 +23,7 @@ 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"> <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"> <main id="main" class="site-main" role="main">
<?php if ( have_posts() ) : ?> <?php if ( have_posts() ) : ?>
<?php /* Start the Loop */ ?> <?php /* Start the Loop */ ?>