-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.php
executable file
·35 lines (27 loc) · 943 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
<?php
/**
* Description: Default Index template to display loop of blog posts
*/
get_header(); ?>
<section id="body">
<div class="container">
<div class="row">
<div class="span8 content">
<?php
// Blog post query
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts( array( 'post_type' => 'post', 'paged'=>$paged, 'showposts'=>0) );
if (have_posts()) : while ( have_posts() ) : the_post(); ?>
<div <?php post_class(); ?>>
<a href="<?php the_permalink(); ?>" title="<?php the_title();?>"><h3><?php the_title();?></h3></a>
<p class="meta"><?php echo appifywp_posted_on();?></p>
<?php the_excerpt();?>
</div><!-- /.post_class -->
<?php endwhile; endif; ?>
<?php appifywp_content_nav('nav-below');?>
</div><!-- /.content -->
<?php get_sidebar(); ?>
</div><!-- .row -->
</div><!-- .container -->
</section>
<?php get_footer(); ?>