Esempio n. 1
0
    <p>Sorry, no posts matched your criteria.</p>

<?php 
}
?>

</div>

<footer class="blog-footer single">

    <?php 
if (get_previous_posts_link_url()) {
    ?>

      <a href="<?php 
    echo get_previous_posts_link_url();
    ?>
" class="previous">

        <span class="label">previous</span>

        <p class="title">Page <?php 
    echo current_page_number() - 1;
    ?>
</p>

      </a>

    <?php 
}
?>
Esempio n. 2
0
function get_previous_posts_link($label = '« Previous Page')
{
    $url = get_previous_posts_link_url();
    return $url ? '<a href="' . $url . '">' . htmlentities($label) . '</a>' : '';
}