Beispiel #1
0
 * @since Twenty Fourteen 1.0
 */
get_header();
?>

<div id="main-content">
	<div class="container">
		<div class="row">
			<div class="col-sm-12 col-md-10 col-md-offset-1">
				<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        get_template_part('content', get_post_format());
    }
    echo '<div class="page-pagination">';
    echo kit_get_previous_posts_link('');
    echo kit_get_next_posts_link('');
    echo '</div>';
} else {
    get_template_part('content', 'none');
}
?>
			</div>
		</div>
	</div>

</div><!-- #main-content -->

<?php 
get_footer();
/**
 * Display the previous posts page link.
 *
 * @since 0.71
 * @uses get_previous_posts_link()
 *
 * @param string $label Optional. Previous page link text.
 */
function kit_previous_posts_link($label = null)
{
    echo kit_get_previous_posts_link($label);
}