moving content-none template to loop-templates folder too

This commit is contained in:
koenemann 2016-01-22 14:08:12 +01:00
parent 34668c0ca1
commit b08afbd2ee
5 changed files with 6 additions and 3 deletions

View File

@ -43,7 +43,7 @@ get_header(); ?>
<?php else : ?> <?php else : ?>
<?php get_template_part( 'content', 'none' ); ?> <?php get_template_part( 'loop-templates/content', 'none' ); ?>
<?php endif; ?> <?php endif; ?>

View File

@ -45,7 +45,7 @@ get_header(); ?>
<?php else : ?> <?php else : ?>
<?php get_template_part( 'content', 'none' ); ?> <?php get_template_part( 'loop-templates/content', 'none' ); ?>
<?php endif; ?> <?php endif; ?>

View File

@ -17,6 +17,7 @@ get_header(); ?>
<div id="content" class="container"> <div id="content" class="container">
<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 while ( have_posts() ) : the_post(); ?> <?php while ( have_posts() ) : the_post(); ?>

View File

@ -38,7 +38,7 @@ get_header(); ?>
<?php else : ?> <?php else : ?>
<?php get_template_part( 'content', 'none' ); ?> <?php get_template_part( 'loop-templates/content', 'none' ); ?>
<?php endif; ?> <?php endif; ?>

View File

@ -1,5 +1,7 @@
<?php if ( is_active_sidebar( 'statichero' ) ): ?> <?php if ( is_active_sidebar( 'statichero' ) ): ?>
<!-- ******************* The Hero Widget Area ******************* --> <!-- ******************* The Hero Widget Area ******************* -->
<div class="wrapper" id="wrapper-static-hero"> <div class="wrapper" id="wrapper-static-hero">
<?php dynamic_sidebar( 'statichero' ); ?> <?php dynamic_sidebar( 'statichero' ); ?>