-
You have added the following code to functions.php remove errors in our product pages schema markups errors.
/**
* Remove support for isSimilarTo attribute on Rank Math product schema
*/
add_filter( ‘rank_math/snippet/rich_snippet_product_entity’, function( $entity ) {
if ( isset( $entity[‘isSimilarTo’] ) ) {
unset( $entity[‘isSimilarTo’] );
}
return $entity;
});But recently we have changed our host and found that this code is missing in functions.php
We also noticed that all those schema markup errors are not there now while testing live. You can test these product and category pages;
https://healthcarentsickcare.com/hemogram-test
https://healthcarentsickcare.com/bone-profile-blood-testDO YOU STILL THINK WE SHOULD ADD THESE CODES into function.php file?
The ticket ‘Remove support for isSimilarTo attribute code is missing after website migration’ is closed to new replies.