moving content-none template to loop-templates folder too
This commit is contained in:
parent
34668c0ca1
commit
b08afbd2ee
|
@ -43,7 +43,7 @@ get_header(); ?>
|
|||
|
||||
<?php else : ?>
|
||||
|
||||
<?php get_template_part( 'content', 'none' ); ?>
|
||||
<?php get_template_part( 'loop-templates/content', 'none' ); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ get_header(); ?>
|
|||
|
||||
<?php else : ?>
|
||||
|
||||
<?php get_template_part( 'content', 'none' ); ?>
|
||||
<?php get_template_part( 'loop-templates/content', 'none' ); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
1
page.php
1
page.php
|
@ -17,6 +17,7 @@ get_header(); ?>
|
|||
<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">
|
||||
|
||||
<main id="main" class="site-main" role="main">
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
|
|
|
@ -38,7 +38,7 @@ get_header(); ?>
|
|||
|
||||
<?php else : ?>
|
||||
|
||||
<?php get_template_part( 'content', 'none' ); ?>
|
||||
<?php get_template_part( 'loop-templates/content', 'none' ); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<?php if ( is_active_sidebar( 'statichero' ) ): ?>
|
||||
|
||||
<!-- ******************* The Hero Widget Area ******************* -->
|
||||
|
||||
<div class="wrapper" id="wrapper-static-hero">
|
||||
|
||||
<?php dynamic_sidebar( 'statichero' ); ?>
|
||||
|
|
Reference in New Issue