-
-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy patharchive.php
More file actions
26 lines (26 loc) · 852 Bytes
/
archive.php
File metadata and controls
26 lines (26 loc) · 852 Bytes
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="pTerm--header">
<?php
the_archive_title('<h1 class="pTerm--title">', '</h1>');
the_archive_description('<div class="pTerm--description">', '</div>');
?>
</header>
<section class="pBlock--list">
<?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(); ?>