Esempio n. 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();
Esempio n. 2
0
/**
 * Display the next posts page link.
 *
 * @since 0.71
 * @uses get_next_posts_link()
 *
 * @param string $label Content for link text.
 * @param int $max_page Optional. Max pages.
 */
function kit_next_posts_link($label = null, $max_page = 0)
{
    echo kit_get_next_posts_link($label, $max_page);
}