• whatirock

    (@whatirock)


    I have my blog setup so that 10 posts show per page but when I click on next page, the same 10 posts appear. How do I get it to show my older posts?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter whatirock

    (@whatirock)

    Can someone help?

    buddha-trance

    (@buddha-trance)

    URL to your site?

    Also, try switching to the Default theme, to see if the problem goes away and is just theme related.

    Thread Starter whatirock

    (@whatirock)

    Its theme related.

    https://www.paidbless.com

    buddha-trance

    (@buddha-trance)

    How did you get more posts in the Default theme?
    What I mean is, if you go to monthly archives for January, which is the earliest archive displayed, it shows the posts at the bottom of your 10 posts in the blog home page. Then there is February and March. All posts are there. Did you write more than 10 posts? They are not showing in the Archives…

    Try setting the home page to display 6 posts, and see if then you get a second page with the remaining 4.

    Thread Starter whatirock

    (@whatirock)

    Yeah, i’ve done 6 and when I click next page, the same 6 posts show. I’ve left it at 6 now.

    buddha-trance

    (@buddha-trance)

    I see… because it’s theme related, since you tried Default and it worked fine, you could try to replace the call for the navigation, using the one from the Default theme.

    Unless you really love the theme you are using, and can’t live without it, if I were you, I’d rather pick a theme that works fine from the start.

    If you want to keep it, you can try to replace in index.php, page.php, single.php, etc. wherever you find

    <?php posts_nav_link(' — ', __('&laquo; Previous Page'), __('Next Page &raquo;')); ?>

    with

    <div class="navigation">
    			<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    			<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
    		</div>

    and then add to the style.css

    .navigation {
    	display: block;
    	text-align: center;
    	margin-top: 10px;
    	margin-bottom: 60px;
    	}

    as taken from the Default theme.

    buddha-trance

    (@buddha-trance)

    I take it all back, STAY AWAY FROM THAT THEME (ewallet), as it has obfuscated code in the footer! Change theme!

    Open footer.php and you will see that gibberish, and stay away from themes with similar stuff in it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Same posts showing on next page’ is closed to new replies.