-
Notifications
You must be signed in to change notification settings - Fork 0
/
tag.php
35 lines (33 loc) · 1 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
<?php get_header(); ?>
<section class="int-page-header pt-5 pb-5">
<h1 class="text-center text-white">Related Topics</h1>
</section>
<div class="container pt-5 pb-5">
<div class="alert alert-warning mt-3 shadow">
<h4 class="text-uppercase text-center pt-2">
<?php printf( __( 'Content Tagged With: %s', 'mape-theme' ), '<span>' . get_search_query() . '</span>' ); ?>
<em>“<?php single_tag_title(); ?>”</em>
</h4>
</div>
<div class="row mt-5">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="col-md-12 mb-4">
<article>
<h1 class="">
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
<?php the_title(); ?>
</a>
</h1>
<?php the_excerpt(); ?>
<hr>
</article>
</div>
<?php endwhile; else : ?>
<p><?php esc_html_e( 'Sorry, no posts matched your criteria.' ); ?></p>
<?php endif; ?>
<div class="col">
<?php echo dmi_pagination(); ?>
</div>
</div>
</div>
<?php get_footer(); ?>