WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Help with "Previous Posts" on a site (2 posts)

  1. cnmoodster
    Member
    Posted 8 years ago #

    http://www.moviesbythor.com is the site.

    It's pretty successful and starting to build up, but I can't figure out how to get the previous posts working correctly in the Benevelence theme.

    After lots of errors, I gave up and put a direct link to the previous page of posts, but now the database is huge and you can only go to one page of previous posts (go to the site and click it twice to see what I mean).

    Can anyone get me on the right track? Right now I had to manually put this in the index.php to have it working somewhat.

    <div class="right"><a href="http://moviesbythor.com/wordpress/index.php?paged=2">previous &raquo</a>
    </div>
    <div class="left"><?php posts_nav_link('','&laquo; newer ','') ?></div>

  2. cnmoodster
    Member
    Posted 8 years ago #

    I just figured it out...I had a bad download of the theme originally.

    <div class="right"><?php posts_nav_link('','','previous &raquo;') ?></div>
    <div class="left"><?php posts_nav_link('','&laquo; newer ','') ?></div>

    ^Works perfectly and that's what it should have been

Topic Closed

This topic has been closed to new replies.

About this Topic