-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy patharchive.php
More file actions
executable file
·20 lines (18 loc) · 646 Bytes
/
archive.php
File metadata and controls
executable file
·20 lines (18 loc) · 646 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php get_header(); ?>
<header class="fTerm--header">
<div class="fTerm--content">
<h1 class="fTerm--title"><?php single_term_title('', true); ?></h1>
<?php the_archive_description('<div class="fTerm--description">', '</div>'); ?>
</div>
</header>
<main class="site--main">
<?php if (have_posts()) :
echo '<div class="fBlock--list js-post-list">';
while (have_posts()) : the_post();
get_template_part('template-parts/content', get_post_format());
endwhile;
echo '</div>';
get_template_part('template-parts/pagination');
endif; ?>
</main>
<?php get_footer(); ?>