-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtag.php
40 lines (26 loc) · 1.19 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
<?php get_header(); ?>
<script type="text/javascript">
bcb_page_name = "search";
</script>
<div id="page_search_container" class="d-flex justify-content-center">
<div id="page_search_wrapper" class="flex-column ">
<div id="page_search_title" class="d-flex">
<span id="page_search_title_prefix">Tag : </span> <?php single_tag_title(); ?>
</div>
<div id="page_search_content" class="d-flex flex-column">
<?php if (have_posts()) : ?>
<ul>
<?php while (have_posts()) : the_post(); ?>
<li class="search_result_item single_page_box">
<h2><a class="search_result_item_title" href="<?php the_permalink(); ?>" ><?php the_title(); ?></a></h2>
<div class="search_result_item_details">Tags: <?php the_tags("", " | ", ""); ?> </div>
</li>
<?php endwhile; ?>
</ul>
<?php else : ?>
<p id="tagpage_noresultmsg">Sorry, no results found for this query.</p>
<?php endif; ?>
</div>
</div>
</div>
<?php get_footer(); ?>