-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.php
52 lines (33 loc) · 886 Bytes
/
index.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
<?php
/**
* The main template file.
*
* @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 echo esc_attr( lsx_post_wrapper_class() ); ?>">
<?php
while ( have_posts() ) :
the_post();
lsx_get_template_part();
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( 'sidebar' ); ?>
<?php
get_footer();