-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
42 lines (31 loc) · 811 Bytes
/
index.php
File metadata and controls
42 lines (31 loc) · 811 Bytes
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
<?php
/**
* Default template for displaying theme pages.
*
* Learn more: https://codex.wordpress.org/Template_Hierarchy
*
* @package Forest
*/
get_header(); ?>
<?php get_template_part( 'helper', 'blog-header' ); ?>
<div class="inside content-wrapper">
<div id="primary" class="site-content hfeed">
<?php stag_post_before(); ?>
<?php
if ( have_posts() ) :
while ( have_posts() ) :
the_post();
?>
<?php stag_post_start(); ?>
<?php get_template_part( 'content' ); ?>
<?php stag_post_end(); ?>
<?php endwhile; ?>
<?php stag_post_after(); ?>
<?php else : ?>
<?php get_template_part( 'content', 'none' ); ?>
<?php endif; ?>
<?php stag_paging_nav(); ?>
</div><!-- #primary -->
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>