Remove template_part, template_sidebar, temp sidebar fix

This commit is contained in:
Ben Word
2015-12-26 17:34:43 -06:00
parent 67c190fc41
commit abeea0f76c
11 changed files with 17 additions and 35 deletions

View File

@@ -1,4 +1,4 @@
<?php App\template_part('partials/page-header'); ?>
<?php get_template_part('partials/page-header'); ?>
<?php if (!have_posts()) : ?>
<div class="alert alert-warning">
@@ -8,7 +8,7 @@
<?php endif; ?>
<?php while (have_posts()) : the_post(); ?>
<?php App\template_part('partials/content-' . (get_post_type() != 'post' ? get_post_type() : get_post_format())); ?>
<?php get_template_part('partials/content', get_post_type() != 'post' ? get_post_type() : get_post_format()); ?>
<?php endwhile; ?>
<?php the_posts_navigation(); ?>