-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathtag.php
32 lines (31 loc) · 878 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
25
26
27
28
29
30
31
32
<?php get_header(); ?>
<body <?php body_class(); ?>>
<?php get_template_part("/template-parts/common/hero"); ?>
<div class="posts text-center">
<h1>
Posts Under <?php single_tag_title(); ?>
</h1>
<?php
while ( have_posts() ) {
the_post();
?>
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></h2></a>
<?php
}
?>
<div class="container post-pagination">
<div class="row">
<div class="col-md-4"></div>
<div class="col-md-8">
<?php
the_posts_pagination( array(
"screen_reader_text" => ' ',
"prev_text" => "New Posts",
"next_text" => "Old Posts"
) );
?>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>