WordPress.org

Ready to get started?Download WordPress

Forums

Next Previous for Recent Post (3 posts)

  1. ssdesign
    Member
    Posted 7 years ago #

    Hi,
    Can this be done?

    In the sidebar, where you have say last 5 recent post titles displayed, I want to have a Previous | Next buttons below it.

    When you click them, the next 5 post titles are displayed and so on untill you reach the end.

    Can this be done?

  2. moshu
    Member
    Posted 7 years ago #

    Probably not, but this is only a guess.
    Next/prev sometimes doesn't work even on a home.php file, especially if there is a customized Loop.

    It also depends what method you are using the display the "recent posts".
    On the other hand, let's say you have in total 527 posts and you display the 5 most recent - that makes sense. To get back to the post #1 by clicking 106 times and still thinking I am seeing "recent posts"... kind of silly.

  3. ssdesign
    Member
    Posted 7 years ago #

    no I will actually like to create a AJAX slider to move to past posts.

    Thats where I need to know how to query other posts like recent posts.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.