forked from anabelle/Foundation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
executable file
·42 lines (28 loc) · 845 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
36
37
38
39
40
41
42
<?php
/**
* Index
*
* Standard loop for the front-page
*
* @package WordPress
* @subpackage Foundation, for WordPress
* @since Foundation, for WordPress 5.0
*/
get_header(); ?>
<div class="row">
<!-- Main Content -->
<div class="large-9 medium-8 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><!-- columns main -->
<!-- End Main Content -->
<?php get_sidebar(); ?>
</div><!-- row -->
<?php get_footer(); ?>