-
Notifications
You must be signed in to change notification settings - Fork 1
/
tag.php
24 lines (24 loc) · 915 Bytes
/
tag.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php get_header() ?>
<?php terx_template_comment(__FILE__) ?>
<div id="main" class="container">
<div id="main-row" class="row">
<?php terx_get_sidebar('left','blog') ?>
<div id="primary" class="<?php echo TERX_PRIMARY_CLASS ?>">
<div id="content" role="main">
<?php if(have_posts()): ?>
<header class="page-header">
<h1 class="page-title"><?php single_tag_title() ?></h1>
</header><!-- /.page-header -->
<?php while(have_posts()): the_post() ?>
<?php get_template_part('template-parts/post/content',get_post_format()) ?>
<?php endwhile ?>
<?php terx_nav_archive() ?>
<?php else : ?>
<?php get_template_part('template-parts/post/content','not-found') ?>
<?php endif ?>
</div><!-- /#content -->
</div><!-- /#primary -->
<?php terx_get_sidebar('right','blog') ?>
</div><!-- /#main-row -->
</div><!-- /#main -->
<?php get_footer() ?>