Php ';旧职位';链接到404

Php ';旧职位';链接到404,php,wordpress-theming,wordpress,Php,Wordpress Theming,Wordpress,我在第一页编辑了我的分类模板和帖子列表。然而,当我点击“旧帖子”返回到以前的帖子时,我得到一个404错误。我的帖子比第一页显示的要多,所以这不是问题所在。有人知道为什么吗?这是我正在使用的代码 <div class="left_col"> <?php /* Start the Loop */ ?> <?php $temp = $wp_query; $wp_query= null; $wp_query = new WP_

我在第一页编辑了我的分类模板和帖子列表。然而,当我点击“旧帖子”返回到以前的帖子时,我得到一个404错误。我的帖子比第一页显示的要多,所以这不是问题所在。有人知道为什么吗?这是我正在使用的代码

<div class="left_col">
            <?php /* Start the Loop */ ?>
            <?php
$temp = $wp_query;
$wp_query= null;
$wp_query = new WP_Query();
$wp_query->query('posts_per_page=5'.'&paged='.$paged);
while ($wp_query->have_posts()) : $wp_query->the_post();
?>


                <?php
                    /* Include the Post-Format-specific template for the content.
                     * If you want to overload this in a child theme then include a file
                     * called content-___.php (where ___ is the Post Format name) and that will be used instead.
                     */
                    get_template_part( 'content', get_post_format() );
                ?>

            <?php endwhile; ?>

            <?php twentyeleven_content_nav( 'nav-below' ); ?>

        <?php $wp_query = null; $wp_query = $temp;?>

            </div>


链接目标是什么?i、 e.当你将鼠标悬停在它上面时,它会显示什么?thxHi@paislee。我悬停时的链接是