Subscribe to my RSS Feed ... Or if you prefer, Subscribe by e-mail ... What is RSS?

How to Fix the Next and Previous Pages in Andreas04 2.0

how-to.jpg

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)


Related Posts:
  • How to Alphabetize Categories in Andreas04 2.0
  • Add Post Count to Categories in Andreas04 2.0
  • Blogging Tip #4-Help Your Readers Navigate
  • This entry was posted in Andreas04 Tweaks, Basics, Tips, WordPress. Bookmark the permalink. Both comments and trackbacks are currently closed.

    3 Comments

    1. Jesse
      Posted November 7, 2006 at 5:55 pm | Permalink

      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. :)

    2. Jesse
      Posted November 7, 2006 at 5:56 pm | Permalink

      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.

    3. Posted November 7, 2006 at 6:47 pm | Permalink

      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


      Welcome...


      I appreciate you taking the time to visit, and hope you enjoy your stay. Look around, there are a lot of interesting posts for you to read and information for you to take with you.
      Contact Me --- Hire Me


      Poll

    • Sorry, there are no polls available at the moment.

    • Working at Home Blog Carnival


      bigtop.jpg
      Join In The Fun

      Recommended by Joe




      Navigation


      --The Way-back Machine--

      ...from May 23, 2009...


      promiseblue0.gif

    • Today’s Job Listings

    • Subscribe via e-mail

      Delivered by FeedBurner

    • Pages

    • Series

    • Categories

    • Archives