Hello,
We apologize for the inconvenience you’re facing with removing the RankMath title from the profile pages. The code you’ve used is meant to remove the rank-math-link
class from frontend content links, and it doesn’t affect the RankMath title on the profile pages.
To remove the RankMath title from the profile pages, you can use the following code snippet:
add_filter( 'rank_math/frontend/title', function( $title ) {
if ( is_author() ) {
return '';
}
return $title;
});
You can add this code to your theme’s functions.php
file or create a custom plugin to add this code. After adding the code, please ensure to clear any caching plugins or server-side caching to see the changes take effect.
If you need further assistance, please feel free to reach out to our support team here, and they will be happy to help you out.
We hope this helps!
Sources:
Remove “rank-math-link” Class from All Outbound Links » Rank Math
How to Completely Uninstall Rank Math From Your Website » Rank Math
How to Disable All Rank Math Generated SEO Tags » Rank Math
Remove All Schema from Product Category Pages » Rank Math
Sorry, You Are Not Allowed to Access This Page » Rank Math
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
You can use the following filter on your website and see if that works for you:
add_filter( 'user_contactmethods', function( $contact_methods ) {
if ( isset( $contact_methods['twitter'] ) ) {
unset( $contact_methods['twitter'] );
}
if ( isset( $contact_methods['facebook'] ) ) {
unset( $contact_methods['facebook'] );
}
if ( isset( $contact_methods['additional_profile_urls'] ) ) {
unset( $contact_methods['additional_profile_urls'] );
}
return $contact_methods;
}, 11 );
Here’s how you can add filter/hook to your WordPress site: https://rankmath.com/kb/wordpress-hooks-actions-filters/
Let us know how it goes. Looking forward to helping you.
Thank you.
That worked and is exactly what we’re after.
Thank you very much 🙂
Hello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.