Initial 404, single and loop

This commit is contained in:
Fabiano Alencar 2018-02-21 16:50:48 -03:00
parent 702ae13873
commit 49815a1d8d
5 changed files with 26 additions and 2 deletions

8
src/404.php Normal file
View File

@ -0,0 +1,8 @@
<?php
//Header
get_header('top');
echo '404';
//Footer
get_footer();

View File

@ -2,7 +2,7 @@
//Header
get_header();
get_template_part( 'single-colecoes' );
get_template_part('single-colecoes');
//Footer
get_footer();

View File

@ -1,3 +1,4 @@
<?php get_header(); ?>
<div class="container-fluid p-0 capa-colecoes">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
@ -160,4 +161,6 @@
</div>
</section>
</div>
</div>
<?php get_footer(); ?>

View File

@ -0,0 +1,7 @@
<?php
get_header();
get_template_part('template-parts/loop');
get_footer();

View File

@ -0,0 +1,6 @@
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>