WordPress.org

Ready to get started?Download WordPress

Forums

how to get continuous prev/next post (3 posts)

  1. fukr
    Member
    Posted 12 months ago #

    I have a theme that have 2 buttons redirecting visitors to prev/next post, but when it's the last post, the next button doesn't work as it's still in current post after clicking it but i want it will redirect to the first post or a random post. this exists also for the first post if i click on the prev button.

    Any solution to this?

  2. WPyogi
    Volunteer Moderator
    Posted 12 months ago #

    What theme are you using?

  3. fukr
    Member
    Posted 12 months ago #

    @WPyogi A custom theme by myself.. is there any different dependent on what themes i am using?

Reply

You must log in to post.

About this Topic