|
/ Documentation /Developers Documentation/ Enable/Disable Pagination in SureRank Archives surerank_show_pagination

Enable/Disable Pagination in SureRank Archives 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. By default, pagination details are hidden. Enabling this filter can be useful for SEO or UX purposes on paginated archive pages.

Source: inc/frontend/title.php

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

Example:

PHP
// Enable pagination on archive pages managed by SureRank
add_filter( 'surerank_show_pagination', '__return_true' );

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
On this page
Scroll to Top