Category template base

This commit is contained in:
Fabiano Alencar 2018-02-23 14:11:22 -03:00
parent 11d432ef7e
commit 848da0224e
3 changed files with 24 additions and 2 deletions

View File

@ -39,6 +39,6 @@ if (
</div>
<!-- /.row -->
</div>
<!-- /.container-responsive -->
<!-- /.container-fluid -->
<?php get_footer(); ?>

22
src/category.php Normal file
View File

@ -0,0 +1,22 @@
<?php get_header(); ?>
<div class="container-fluid mt-5">
<div class="row">
<div class="col-sm">
<div id="content" role="main">
<header class="mb-4 border-bottom">
<h1>
<?php _e('Category: ', 'tainacan'); echo single_cat_title(); ?>
</h1>
</header>
<?php get_template_part('template-parts/index-loop'); ?>
</div><!-- /#content -->
</div>
<?php get_sidebar(); ?>
</div><!-- /.row -->
</div><!-- /.container-fluid -->
<?php get_footer(); ?>

View File

@ -12,6 +12,6 @@
<?php get_sidebar(); ?>
</div><!-- /.row -->
</div><!-- /.container-responsive -->
</div><!-- /.container-fluid -->
<?php get_footer(); ?>