-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharchive.php
66 lines (66 loc) · 2.25 KB
/
archive.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
get_header();
?>
<section class="pt-125 pb-130">
<div class="container">
<div class="row">
<div class="page-header pt-15 pb-2">
<?php
the_archive_title('<h1 class="page-title">','</h1>');
the_archive_description('<div class"taxonomy-description">','</div>');
?>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-8">
<div class="row">
<?php
if( have_posts()){
while( have_posts() ){
the_post();
?>
<div class="col-md-6">
<div id="post-<?php the_ID(); ?>" <?php post_class('single-blog mt-30'); ?>>
<div class="blog-image">
<?php
if( has_post_thumbnail() ){
the_post_thumbnail( 'blog_thumb' );
}
?>
</div>
<div class="blog-content">
<h4 class="blog-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
<span><?php echo esc_html(date("F j, Y")); ?></span>
</div>
</div> <!-- single blog -->
</div>
<?php
}
}
?>
</div>
</div>
<div class="col-md-4">
<?php
if(is_active_sidebar('sidebar-1')){
dynamic_sidebar('sidebar-1');
}
?>
</div>
</div> <!-- row -->
</div> <!-- container -->
<div class="container">
<div class="row">
<nav class="unfold-pagination pt-50">
<?php
unfold_pagination();
?>
</nav>
</div>
</div><!-- container -->
</section>
<?php
get_footer();
?>