How to Fix the Next and Previous Pages in Andreas04 2.0
![]()
Small things probably bother me more than some of the Major Malfunctions while working on the internet. Specifically, navigation of a site, my site.
The Problem
The Next and Previous Page links at the bottom of the post always bothered me. If you tried to navigate from the landing page to the previous page, the link was marked “Next”. Once you were there, the navigation was “Previous”, which took you back to the landing page and “Next” which took you to the earlier pages.
To me, that was totally bass akwards. “Previous” to me means “earlier entries” and “Next” means “newer entries”.
I tried to change it around by renaming the links, which was fine as far as it went. Both worked, so when you clicked “earlier entries” you went to the previous pages and when you clicked “newer entries” you got the newer entries. That still left me with the dilemma of the links being in the wrong place for aesthetics. Newer was on the left and earlier was on the right. Still backwards to the eye, but at least it they would get you where you wanted to go.
The Fix
Where you see this statement
(div style=”margin: 10px 0 10px 0″)
Replace this
(?php posts_nav_link(’ &# 8212; ‘, __(’& la quo ; Previous’), __(’Next & ra quo ;’)); ?)
With this
(?php next_posts_link(’& la quo ; Earlier Entries’) ?) (?php previous_posts_link(’ — Newer Entries & ra quo ;’) ?)
I have replaced all of the brackets with (). Make sure to take note of where they are in the original statement and use them in the same place in the new statement. And watch the spacing within such as & la quo, there are no spaces in the real statement. They were used in order to show the terms.
Not to worry, the next and previous work on the single pages as is.
Related post:
The Fix for (more) in Andreas04 2.0
(Image from ProBlogger)
New Here? You may want to Subscribe to my RSS feed for daily updates. Or if you prefer, Subscribe by Email What is RSS? Thanks for visiting!
Related Posts:
Promote Your Home Business on the Featured Home Business Page... no charge, but no splogs allowed








My Skype: joe.hauckes
I totally agree with the bass akwardsness of the terminology. I discovered it this morning right before I broke my theme. I clicked the link at the bottom and it was supposed to take me to ‘paged2,’ but that looked exactly like the current page. Broken and stupid.
Input by Jesse | November 7, 2006 @ 5:55 pm
What plugin are you using for the e-mail follow-ups below the comment box? I’d love to let commenters follow my threads. Thanks.
Input by Jesse | November 7, 2006 @ 5:56 pm
Hey Jesse,
I really like this theme, but I keep running into things that aren’t right. Like the previous and next thing.
Try the statement I mentioned, and don’t forget the brackets instead of the parenthesis.
For the Plug-in, I am using one by Scriptygoddess WP Subscribe to Comments, it is easy to install and even easier for your readers to follow on their comments.
If you need any more plugin suggestions, stop by my Joe’s Freeware Finds Blog for things I use.
Joe
Input by Joe | November 7, 2006 @ 6:47 pm
Trackbacks
Sorry, the comment form is closed at this time.