Page break

#70807
  • Resolved Daniel Niepodam
    Rank Math free

    We use %page% for our page break posts in WordPress.
    How can we change words “page 2 of 4” to something different? Like only: “- 2 of 4” or only: “- Page 2”.

Viewing 1 replies (of 1 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math today.

    You can create a custom var that changes the way %page% var is displayed by using the following filter:

    /**
     * Filter to add custom variables
     */
    add_filter( 'rank_math/vars/replacements', function( $vars ) {
     return $vars;
    });

    Looking forward to helping you. Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Page break’ is closed to new replies.