page template base

This commit is contained in:
Fabiano Alencar 2018-02-23 14:13:38 -03:00
parent 848da0224e
commit f90c9e9e8d
2 changed files with 30 additions and 13 deletions

View File

@ -1,22 +1,22 @@
<?php get_header(); ?>
<div class="container-fluid mt-5">
<div class="row">
<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>
<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(); ?>
<?php get_sidebar(); ?>
</div><!-- /.row -->
</div><!-- /.row -->
</div><!-- /.container-fluid -->
<?php get_footer(); ?>

17
src/page.php Normal file
View File

@ -0,0 +1,17 @@
<?php get_header(); ?>
<div class="container-fluid mt-5">
<div class="row">
<div class="col-sm">
<div id="content" role="main">
<?php get_template_part('template-parts/page-content'); ?>
</div><!-- /#content -->
</div>
<?php get_sidebar(); ?>
</div><!-- /.row -->
</div><!-- /.container-fluid -->
<?php get_footer(); ?>