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.
Ah i see. Thanks for your response. But it looks unpleasant at the bottom, especially for an eCommerce store. I would love to keep it if there is a way or example or guide to make it more pleasant? Where do I paste the codes if there is a way to change/make it nicer?
From what I view my site, they would look like part of fail website design layout to any vistors though it shows before the footer.
Could you advice please?
Thanks!
Hello,
Thank you for contacting Rank Math today.
I can suggest that you consult your developer/ a freelancer about customizing the HTML. They can achieve this by using the following filter on your theme:
/**
* Filter to change review display location
*
* @param string $html.
*/
add_filter( 'rank_math/review/html', function( $html ) {
return $html;
});
To remove this snippet at this time from the frontend page, please add the following code to your theme’s functions.php file:
/**
* 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.