• Hope somebody can tell me what is wrong here. This loop displays the latest 10 posts, and also displays an “older post” link at the bottom of the page, which brings me to: mysite/page/2/. But this shows me the exact same 10 posts as the previous page (mysite/).

    `[Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 1 replies (of 1 total)
  • Thread Starter father.sphinx

    (@fathersphinx)

    Phew!! Found my solution. Worked like charm. I replace the code

    <?php
    		$tmp_query = $wp_query;
    		query_posts('showposts=10');
    	?>

    with this one.

    <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts('paged='.$paged); ?>

    Thanks anyways. ??

Viewing 1 replies (of 1 total)
  • The topic ‘Older entries link not working’ is closed to new replies.