-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtag.php
45 lines (37 loc) · 1.34 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
38
39
40
41
42
43
44
45
<?php get_header(); ?>
<!-- s-content
================================================== -->
<section class="s-content">
<div class="row narrow">
<div class="col-full s-content__header" data-aos="fade-up">
<h1>
<?php _e("Tag: ", "philosophy"); single_tag_title(); ?>
</h1>
<p class="lead">
<?php echo esc_html(category_description()); ?>
</p>
</div>
</div>
<div class="row masonry-wrap">
<div class="masonry">
<div class="grid-sizer"></div>
<?php
if (!have_posts()){ ?>
<h3 class="text-center"><?php _e("NO Post Found", "philosophy"); ?></h3>
<?php } ?>
<?php
while (have_posts()) {
the_post();
get_template_part("template-parts/post-formats/post", get_post_format());
} ?>
</div> <!-- end masonry -->
</div> <!-- end masonry-wrap -->
<div class="row">
<div class="col-full">
<nav class="pgn">
<?php philosophy_pagination(); ?>
</nav>
</div>
</div>
</section> <!-- s-content -->
<?php get_footer(); ?>