-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharchive.php
More file actions
50 lines (44 loc) · 1.71 KB
/
Copy patharchive.php
File metadata and controls
50 lines (44 loc) · 1.71 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
42
43
44
45
46
47
48
49
50
<?php
/**
* The template for displaying archive pages
*/
get_header(); ?>
<main id="main">
<div class="main__wrap">
<div class="container the-container">
<div class="inner-wrap">
<?php
if (have_posts()) : ?>
<div class="relative">
<div class="contents">
<div class="entry-header">
<h1 class="page-title"><?php the_archive_title(); ?> </h1>
</div><!-- .page-header -->
<?php
if (have_posts()) :
while (have_posts()) : the_post();
get_template_part('parts/content', get_post_format());
endwhile;
else:
esc_html_e('Sorry, nothing found!', 'movaone');
endif;
?>
<div class="navigation">
<div class="previous">
<?php esc_html(previous_posts_link(__('« Previous Page', 'movaone'))); ?></div>
<div class="next"><?php esc_html(next_posts_link(__('Next Page »', 'movaone'))); ?>
</div>
</div>
</div>
</div>
<?php
else :
esc_html_e('Sorry, nothing to show here, Please check back later', 'movaone');
endif;
?>
<?php get_sidebar(); ?>
</div>
</div>
</div>
</main>
<?php get_footer();