|
/ Documentation /Developers Documentation/ Show or Hide Pagination in SureRank SEO Titles surerank_show_pagination

Show or Hide Pagination in SureRank SEO Titles surerank_show_pagination

Hook: surerank_show_pagination

Description: This filter allows developers to control whether pagination information (such as “Page 2 of 5”) should be appended to the SEO title generated by SureRank. The filter defaults to true, so SureRank may append pagination details when the request is paginated and a title is available. Returning false hides the suffix; it does not disable pagination links or archive pages.

Source: inc/frontend/title.php

Usage: Return true to show pagination info in the title, or false to hide it.

Example:

PHP
// Hide the pagination suffix in titles generated by SureRank.
add_filter( 'surerank_show_pagination', '__return_false' );

You can add the example code to your child theme’s functions.php file or use a plugin like Code Snippets to safely insert custom code. Using a code snippet plugin is recommended for easier management and to ensure the code remains active even if you switch themes.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Table of Contents
Scroll to Top