[Resolved] Modify previous and next button text from pagination on Archive Page

Home Forums Support [Resolved] Modify previous and next button text from pagination on Archive Page

Home Forums Support Modify previous and next button text from pagination on Archive Page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2384506
    Szymon

    How to change texts: “Previous” and “Next” on default pagination on archive page?
    The Block Element Archive Navigation isn’t a solution, because i can’t add page numbers.

    #2384595
    Ying
    Staff
    Customer Support

    Hi there,

    Try this PHP snippet, replace the Previousand Nexttext in the code with your words:

    add_filter( 'generate_previous_link_text', function() {
        return 'Previous';
    } );
    add_filter( 'generate_next_link_text', function() {
        return 'Next';
    } );
    #2385027
    Szymon

    @Ying Thank you, this is it <3

    #2385912
    Ying
    Staff
    Customer Support

    You are welcome 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.