Support » Fixing WordPress » Older entry links at bottom of posts not showing up.

  • Resolved perfectlypink

    (@perfectlypink)


    I can’t seem to figure out the problem… it seems like I’ve literally tried everything. The older entries link at the bottom of my posts is not showing up and there’s no way to view any older updates to my site. I have the amount to show at 5, but whenever I go over 5… nothing shows up to allow browsing through previous posts. I’ve uninstalled and reinstalled WordPress 3 times, now. It’s driving me crazy. Help?

    http://www.texasgirl-californiadreams.org

Viewing 7 replies - 1 through 7 (of 7 total)
  • Nevermind! FINALLY, I figured it out!

    hiperfectlypink,i meet the same problem as your,can you tell me how you figure it?

    hiperfectlypink,i meet the same problem as your,can you tell me how you figure it?

    Hi, sparkzhou!

    It’s been so long since I had this problem that I’m not exactly sure. I haven’t had the layout/coding I had back then in a long time…

    But I searched through my current index.php and found what I believe to be the correct code for it. You might have to tweak it a bit!

    <?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>

    <?php } ?>

    <center><font size=3><!– Next Page Code –>

    <?php next_posts_link(‘« Older Entries’) ?>  <?php previous_posts_link(‘Newer Entries »’) ?>

    <!– End Next Page Code –></font>

    </div><!– #content –></center>

    Hi, PerfectlyPink

    I was wondering what information you have saved in your global variable $wp_query, for this to work. I red that it has been a long time since you have been through your wordpress code. But if you on top of your head could help me out, it would be greatly appreciated!

    ty in advance

    /ahclausen

    Never mind:) i figured it out.

    I could use an answer to this problem. Any one feel like posting their solution? Would be greatly appreciated!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Older entry links at bottom of posts not showing up.’ is closed to new replies.