WordPress.org

Forums

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

  1. fukr
    Member
    Posted 1 year 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
    Forum Moderator
    Posted 1 year ago #

    What theme are you using?

  3. fukr
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic