-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtag.php
37 lines (37 loc) · 1.05 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php require('404.php'); ?>
<?php get_header(); ?>
<header>
<div class="page-template top-title-wrapper boxshadow">
<div class="container row col-md-12 col-sm-12 page-info">
<h1 class="page-title"><?php printf( 'Tag: %s', single_tag_title("", false)); ?></h1>
</div>
</div>
</header>
<?php echo get_page_top_spacer(); ?>
<div class="content-wrapper body-wrapper blog-post blog-span container">
<div class="blog-post-body">
<div class="row">
<div class="col-md-9 col-sm-9"><?php
if (have_posts()) {
while (have_posts()) {
the_post();
get_template_part('content');
}
} ?>
<div class="pagination"><?php
if (get_next_posts_link()) {
next_posts_link('<span class="prev">←</span>'.__('Older posts', 'stt' ) );
}
if (get_previous_posts_link()) {
previous_posts_link( __( 'Newer posts', 'stt' ). '<span class="next">→</span>' );
} ?>
</div>
</div>
<div class="col-md-3 col-sm-3">
<div class="space-sep20"></div>
<?php print_related_pages(); ?>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>