forked from AndorChen/V2Press
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
26 lines (21 loc) · 808 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
<?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(); ?>
<?php get_template_part( 'content', 'topics-list' ); ?>
<?php endwhile; ?>
<?php else : // No topics yet ?>
<?php get_template_part( 'content', 'zero' ); ?>
<?php endif; // END if have_posts() ?>
</div>
<div class="footing">
<?php vp_page_navi(); ?>
</div>
</section>
</div><!--END #main-->
<?php get_sidebar(); ?>
<?php get_footer(); ?>