-
Notifications
You must be signed in to change notification settings - Fork 48
/
archive.php
26 lines (26 loc) · 872 Bytes
/
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
<?php get_header(); ?>
<main class="main-content container">
<header class="archive-header u-textAlignCenter">
<?php
the_archive_title('<h1 class="archive-title">', '</h1>');
the_archive_description('<div class="taxonomy-description">', '</div>');
?>
</header>
<section class="blockGroup">
<?php if (have_posts()) :
while (have_posts()) : the_post();
get_template_part('template-parts/content', get_post_format());
endwhile;
endif; ?>
</section>
<div class="u-textAlignCenter postsFooterNav">
<div class="posts-nav">
<?php echo paginate_links(array(
'prev_next' => 0,
'before_page_number' => '',
'mid_size' => 2
)); ?>
</div>
</div>
</main>
<?php get_footer(); ?>