-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharchive.php
39 lines (34 loc) · 1.06 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
<?php
global $eva_v1_locale;
$user_locale = get_user_locale();
$using_locale = $eva_v1_locale[$user_locale];
?>
<?php global $wp_query; ?>
<?php get_header(); ?>
<div class="center">
<div class="archive-wrapper">
<div class="archive-info">
<h1 class="archive-title">
<?php the_archive_title() ?>
</h1>
<div class="archive-description">
<?php echo get_the_archive_description() ?>
</div>
</div>
<div class="grid">
<?php if (have_posts()) : ?>
<?php
while (have_posts()) {
the_post();
get_template_part('template-parts/list-view/post');
}
?>
<?php else : ?>
<p><?php echo $using_locale['archive']['No post found! :(']; ?></p>
<?php endif; ?>
</div>
<?php eva_v1_numeric_post_navigation($wp_query) ?>
<?php get_template_part('template-parts/category'); ?>
</div>
</div>
<?php get_footer(); ?>