-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy patharchive.php
More file actions
41 lines (40 loc) · 1.51 KB
/
archive.php
File metadata and controls
41 lines (40 loc) · 1.51 KB
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
/*
Name :
*/
?>
<?php get_template_part( 'template-parts/custom', 'header' ); ?>
<!--Archive-->
<section id="blog" class="blog-area section-padding">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="section-header">
<h2><?php $heading_two_text = Kirki::get_option( 'saybers_options', 'text_blog' );
echo $heading_two_text; ?></h2>
<div class="line"><img src="<?php echo get_site_icon_url() ?>" alt=""></div>
<p class="sub-head"><?php $heading_two_text = Kirki::get_option( 'saybers_options', 'text_blog_dec' );
echo $heading_two_text; ?></p>
</div>
</div>
</div>
<div class="row">
<?php
$blog_args = array(
'post_type' => 'post',
'paged' => get_query_var('paged'),
'cat' => get_query_var('cat'),
);
$blog_posts = new WP_Query($blog_args);
while($blog_posts->have_posts()) {
$blog_posts->the_post();
get_template_part('template-parts/small', 'content');
}
wp_reset_postdata(); ?>
</div>
</div>
<div class="pagination">
<?php echo paginate_links(); ?>
</div>
</section>
<?php get_footer(); ?>