-
Notifications
You must be signed in to change notification settings - Fork 349
/
Copy pathindex.php
39 lines (23 loc) · 807 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
<?php /*
@package sunsettheme
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<div class="container sunset-posts-container">
<?php
if( have_posts() ):
while( have_posts() ): the_post();
get_template_part( 'template-parts/content', get_post_format() );
endwhile;
endif;
?>
</div><!-- .container -->
<div class="container text-center">
<a class="btn btn-lg btn-default sunset-load-more" data-page="1" data-url="<?php echo admin_url('admin-ajax.php'); ?>">
<span class="sunset-icon sunset-loading"></span> Load More
</a>
</div><!-- .container -->
</main>
</div><!-- #primary -->
<?php get_footer(); ?>