forked from AndorChen/V2Press
/
index.php
30 lines (25 loc) · 921 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
<?php get_header(); ?>
<div id="main">
<section id="home-topics-box" class="box">
<div class="heading">
<p class="xlarge"><?php vp_breadcrumb(); ?></p>
</div>
<div class="topics-list">
<?php
if ( have_posts() ) :
while ( have_posts() ) :
the_post();
vp_get_template_part( 'content', 'topics-list' );
endwhile;
else :
vp_get_template_part( 'content', 'zero' );
endif;
?>
</div>
<div class="footing">
<?php vp_page_navi(); ?>
</div>
</section>
</div><!--END #main-->
<?php get_sidebar(); ?>
<?php get_footer(); ?>