Hello,
Thanks for getting in touch with us.
The preview of your review is added in accordance with the Google guidelines which suggest that a webmaster should show the schema to the users as well as to the bots.
If you show it to just the bots, you run the risk of getting removed from the rich snippets program. That is the reason it is being added to the frontend.
Although we do not recommend removing it from the frontend – Rank Math allows you to take full control of your SEO. You can follow this link to remove the Review Display from the frontend.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Hey Michael,
Here is the thing. It’s not that I want to trick google by showing ratings only to the bot but not to the users. I already use Rating form plugin to display ratings at specific location on my custom post ( Screenshot – https://share.getcloudapp.com/KoueLYkQ )
So, I don’t want RankMath to do anything with this. Is there a way to use ‘Rating Form’ plugin schema under RankMath or should I completely disable RankMatch rating schema and keep using Rating form schema?
Kindly help me understand this.
Hello,
Thank you for contacting Rank Math today.
In this use case, you can safely disable the Rank Math display of rating schema without any risk since the other plugin is already displaying this data.
Adding the following code to your theme’s functions.php file should be sufficient:
/**
* Filter: Allow disabling the review display.
*
* @param bool $return true to disable.
*/
add_filter( 'rank_math/snippet/review/hide_data', '__return_true' );
Looking forward to helping you. Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.