-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharchive.php
executable file
·41 lines (36 loc) · 1.09 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
<?php get_header();
pageBanner(array(
'title' => get_the_archive_title(),
'subtitle' => get_the_archive_description()
));
?>
<!--/ Section Blog-Single Star /-->
<section class="blog-wrapper sect-pt4" id="blog">
<div class="container">
<div class="row">
<div class="col-md-8">
<?php if(have_posts()) : ?>
<?php while(have_posts()) : the_post(); ?>
<?php get_template_part('template-parts/content','archive', get_post_format()); ?>
<?php endwhile; ?>
<?php else : ?>
<p><?php __('No Posts Found'); ?></p>
<?php endif; ?>
<hr>
<?php echo pagination(); ?>
<hr>
</div>
<div class="col-md-4">
<?php if(!is_front_page()) : ?>
<div class="sidebar-content">
<?php if(is_active_sidebar('sidebar')): ?>
<?php dynamic_sidebar('sidebar'); ?>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
</div>
</div>
</section>
<!--/ Section Blog-Single End /-->
<?php get_footer(); ?>