WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Older entry links at bottom of posts not showing up. (8 posts)

  1. perfectlypink
    Member
    Posted 3 years ago #

    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

  2. perfectlypink
    Member
    Posted 3 years ago #

    Nevermind! FINALLY, I figured it out!

  3. sparkzhou
    Member
    Posted 3 years ago #

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

  4. sparkzhou
    Member
    Posted 3 years ago #

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

  5. perfectlypink
    Member
    Posted 3 years ago #

    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>

  6. ahclausen
    Member
    Posted 3 years ago #

    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

  7. ahclausen
    Member
    Posted 3 years ago #

    Never mind:) i figured it out.

  8. RoyCreative
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic