B / LINK B-QUOTE DEL IMG UL OL LI
CODE. CLOSE TAGS
Hello,
Thanks for contacting us and sorry for the inconvenience caused.
Please note that Google has changed a lot, and they get more intelligent every passing minute with AI and countless algorithms they have in place. They pick the Social profiles from across the web and they do not need you to have the “sameAs” tag to show the social profiles in your Knowledge Panel.
However, you can add the sameAs property to the Schema by customizing this filter:
add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
if ( isset( $data['publisher'] ) ) {
$data['publisher']['sameAs'] = [
'https://www.instagram.com/example',
'https://www.facebook.com/example',
'https://www.facebook.com/groups/example',
'https://www.youtube.com/channel/example',
'https://linkedin.com/example'
];
}
return $data;
}, 99, 2 );;
And here’s a link to how to apply this to your site:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
I hope that helps.
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.