我试图在我的博客中有5个页面帖子。这就是我在索引中使用的内容。php
<?php
    get_header();
    query_posts(\'posts_per_page=5\');
    // The Loop
    if (have_posts()){
        while (have_posts()){
            //Iterate the cursor on the next post
            the_post();
            echo "<a class=\'more-link\' href=\'";
            the_permalink();
            echo "\'><h1>";
            the_title();
            echo "</h1></a>";
            echo "<div class=\'meta\'>";
            the_date();
            echo "  |  ";
            comments_number();
            echo "</div>";
            echo "<a class=\'more-link\' href=\'";
            the_permalink();
            echo "\'>";
            the_post_thumbnail();
            echo "</a>";
            the_excerpt();
            echo "<a class=\'more-link\' href=\'";
            the_permalink();
            echo "\'>Continue reading</a>";
            echo "<hr>";
        }
    }
    get_footer();
?>
 我想在“显示旧帖子”的底部添加一个链接,但我不知道该如何修改文件来实现这一点。有什么想法吗?非常感谢。