• I am having problems with a page on my site. I have created a page that is meant to display entries of one category as can be seen here –> https://gpetzold.swifthost.net/wp/recipe/ In the admin for my blog I have set WP to display only 5 posts at a time – basically to demonstrate my problem here. In this case I have a recipe followed by 5 test posts. When I click on the “previous posts” link it comes up with a page not found error. Is this because the page template I have created is not being called properly? If not how can I make WP call this template properly? If this is not the issue can somone please give some enlightenment…


    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Are you using query_posts in that page? Query_posts “kills” the next_page navigation.
    See the Page parameters for a workaround Template_Tags/query_posts – or search for query_posts and next page…

    Thread Starter altacivil

    (@altacivil)

    I tried implementing this code:
    <?php
    $page = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : ‘1’;
    query_posts(‘cat=7&paged=$page’);
    ?>

    but it seems to have no effect… in fact nothing shows up… what am I supposed to be adding/changing?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem when page content flows onto annother…’ is closed to new replies.