-
Notifications
You must be signed in to change notification settings - Fork 3
/
archive.php
56 lines (33 loc) · 900 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
/**
* The template for displaying Archive pages.
*
* @package lsx
*/
get_header(); ?>
<?php lsx_content_wrap_before(); ?>
<div id="primary" class="content-area <?php echo esc_attr( lsx_main_class() ); ?>">
<?php lsx_content_before(); ?>
<main id="main" class="site-main" role="main">
<?php lsx_content_top(); ?>
<?php if ( have_posts() ) : ?>
<div class="post-wrapper">
<?php
while ( have_posts() ) :
the_post();
?>
<?php get_template_part( 'partials/content', get_post_format() ); ?>
<?php endwhile; ?>
</div>
<?php lsx_paging_nav(); ?>
<?php else : ?>
<?php get_template_part( 'partials/content', 'none' ); ?>
<?php endif; ?>
<?php lsx_content_bottom(); ?>
</main><!-- #main -->
<?php lsx_content_after(); ?>
</div><!-- #primary -->
<?php lsx_content_wrap_after(); ?>
<?php get_sidebar(); ?>
<?php
get_footer();