Hello,
I apologize for the inconvenience you are facing with the Gravatar link appearing in your Rank Math Schema. To remove the link to Gravatar, you can follow these steps:
- Navigate to your WordPress Dashboard.
- Go to WordPress Dashboard → Appearance → Theme File Editor (for Classic Theme) or WordPress Dashboard → Tools → Theme File Editor (for Block Theme).
- Click on
functions.php
or rank-math.php
from the theme files.
- Add the following code snippet to remove the Gravatar link:
/**
* Filter to remove Gravatar link from Rank Math Schema
*/
add_filter( 'rank_math/link/remove_class', '__return_true' );
- Click on Update File to save the changes.
By following these steps, you should be able to remove the link to Gravatar from your Rank Math Schema. If you have any further questions or need assistance, please feel free to reach out to our support team. They are available 24/7 and will be happy to help you.
Thank you for bringing this concern to our attention!
Sources:
Remove “rank-math-link” Class from All Outbound Links » Rank Math
How to Fix ‘Automatic Update is Unavailable for this Plugin’ Error in Rank Math » Rank Math
Removing Schema From Your Posts & Pages » Rank Math
How to Completely Uninstall Rank Math From Your Website » Rank Math
How to Hide SEO Score From the Frontend » Rank Math
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Thank you for contacting us and sorry for any inconvenience that this issue might have caused.
You can use the following filter to change the properties of the ImageObject:
add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
$data['ProfilePage']['image'] = [
'@type' => 'imageObject',
'@id' => 'ID you want to set',
'url' => 'URL you want to set',
'caption' => 'caption you want to set',
];
return $data;
}, 99, 2);
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.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
That information is taken from the data in the profile of the author of the page/post where this appears.
You can control this information by going to WordPress Dashboard > Users and selecting the user that you want to edit. The particular field you shared is the website field but our plugin will also include others such as the social media data if that is added to the user profile.
Don’t hesitate to get in touch if you have any other questions.
Thank you so much for everything. The support has been really great and I could solve all the issues with the solutions you provided. Much appreciated.
Hello,
Glad that helped!
If you have any other questions in the future don’t hesitate to get in touch.
We are here to help!