- Customize Final Title Tag surerank_final_title
- Customize Post Type Archive Title Output surerank_post_type_archive_title
- Customize Archive Page Title with surerank_archive_title
- CustomizeModify the Search Results Page Title surerank_search_title
- Customizing the 404 Page Title surerank_not_found_title
- Customizing the Title Separator surerank_title_separator
- Disable SureRank’s Automatic SEO Title Output surerank_disable_automatic_titles
- Customize Homepage Pagination Format surerank_homepage_pagination_format
- Customize Maximum SEO Title Length surerank_title_length
- Enable/Disable Pagination in SureRank Archives surerank_show_pagination
- Show or Hide Site Name in SEO Title surerank_show_site_name
- Customize Robots Meta Tags surerank_robots_meta_array
- Add “noindex” to Paginated Pages surerank_noindex_paginated_pages
- Customize Meta Description Length surerank_description_length
- Customize Product Category Rewrite Rules surerank_product_category_rewrite_rules
- Remove Product Category Base surerank_remove_product_category_base
- Customize Category URL Structure surerank_remove_category_base
- Disable Permalinks in RSS Feeds surerank_disable_permalink_in_feed
- Customize Maximum URL Slug Length surerank_url_length
Customize Post Type Archive Title Output surerank_post_type_archive_title
Hook: surerank_post_type_archive_title
Description: This filter allows you to customize the archive title of any post type before it’s rendered on the frontend. It can be useful when you want to change the default title shown on archive pages (like “Blog”, “Products”, or any custom post type) to a more user-friendly or SEO-optimized version.
Source: inc/frontend/title.php
Usage: You can use this filter to override the archive title output globally.
Example:
// Change the archive title generated by SureRank for custom post types
add_filter( 'surerank_post_type_archive_title', 'custom_surerank_archive_title' );
function custom_surerank_archive_title( $title ) {
return 'Our Latest Resources';
}
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.
We don't respond to the article feedback, we use it to improve our support content.