WordPress.org

Ready to get started?Download WordPress

Forums

"Posts Paged" Links (9 posts)

  1. unoamigo
    Member
    Posted 10 years ago #

    Maybe you didn't notice, but Merriam Webster decided people have had the definitions of Next and Previous mixed up for hundreds of years. It took a while, but they have recently corrected this error.
    Fortunately for you the WordPress developers have been on top of changes to the English language.
    ;-)

  2. skippy
    Member
    Posted 10 years ago #

    Here's the block from my index.php for paged navigation:
    <div id="pagination"><?php previous_posts_link('< back'); ?><?php next_posts_link('next >'); ?></div>
    That might help.

  3. davidchait
    Member
    Posted 10 years ago #

    Yes, "NEXT" means the "next set of results", starting from the first page. "PREV" means the "previous results", going back to the start. Makes sense in that framework.
    It also depends on your sort order, etc., whether it makes sense in context. ;)
    d

  4. atmasphere
    Member
    Posted 10 years ago #

    Where is the best place to put next / prev page links in the template? I have nav on individual posts, but would love it on bulk post pages a well - like the main index and category pages.

  5. Beel
    Member
    Posted 10 years ago #

    I put it just outside the loop so it shows up at the bottom of each page.

  6. atmasphere
    Member
    Posted 10 years ago #

    If you could better define that for me, I'd really appreciate it...

  7. atmasphere
    Member
    Posted 10 years ago #

    Thank you! I tried it but got an error on the line in which it was added... also saw that I had added links below each post

  8. Beel
    Member
    Posted 10 years ago #

    what was the error?

  9. millette
    Member
    Posted 10 years ago #

    I've grepped for page_navigation() and couldn't find it the wp source. I was however able to find next_posts_link($text) and previous_posts_link($text). The snippets above (by Skippy) had trouble with html entities.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.