Support » Themes and Templates » Changing "next page" on theme

  • SickSquirrel

    (@sicksquirrel)


    I just downloaded Red Shadow. A preview shows “previous entries” at bottom of first page. So I click to page 2. On the left is “previous entries” going to page 3 and on the right is “next entry” going to page 1.

    Obviously this is backwards. Which page(s) do I edit to change previous to next as well as entry to page?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael

    (@alchymyth)

    you should be able to find the code in index.php of your theme;

    <div class="box-indent">
    												<span class="prev"><?php next_posts_link('<span>&laquo; Previous Entries</span>') ?></span>
    												<span class="next"><?php previous_posts_link('<span>Next Entries &raquo;</span>') ?></span>
    												<div class="clear-both"></div>
    											</div>
    Thread Starter SickSquirrel

    (@sicksquirrel)

    Thanks. So I just change each code or swap so it’s correct for next and previous?

    Edit: I did that and it worked fine. Thanks! WHY do coders do this? 10 years ago this happened and you’d think they would fix this. It’s almost as if they copy the code from one central mis-coded theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing "next page" on theme’ is closed to new replies.