forked from anabelle/Foundation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
executable file
·36 lines (26 loc) · 774 Bytes
/
index.php
File metadata and controls
executable file
·36 lines (26 loc) · 774 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
<?php
/**
* Index
*
* Standard loop for the front-page
*
* @package WordPress
* @subpackage Foundation, for WordPress
* @since Foundation, for WordPress 4.0
*/
get_header(); ?>
<!-- Main Content -->
<div class="large-9 columns" role="main">
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php endwhile; ?>
<?php else : ?>
<h2><?php _e('No posts.', 'foundation' ); ?></h2>
<p class="lead"><?php _e('Sorry about this, I couldn\'t seem to find what you were looking for.', 'foundation' ); ?></p>
<?php endif; ?>
<?php foundation_pagination(); ?>
</div>
<!-- End Main Content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>