Hi. Reading this article (https://www.johnhaydon.com/add-social-google-search-profile/) on how I can get our social media profiles to show up in Google search, we found that it is recommending that we add this to the header or footer of our pages:
<script type="application/ld+json">
{ "@context" : "http://schema.org",
"@type" : "Organization",
"name" : "Your Organization Name",
"url" : "http://www.your-site.com",
"sameAs" : [ "http://www.facebook.com/your-profile",
"http://www.twitter.com/yourProfile",
"http://plus.google.com/your_profile"]
}
</script>
Does Enfold already have it such that our social media profile links would show up like this: https://i1.wp.com/johnhaydon.wpengine.com/wp-content/uploads/2015/02/google-social-profiles-1024×566.gif?zoom=2&w=800
Hey phillipikoo,
You can use a child theme: http://kriesi.at/documentation/enfold/using-a-child-theme/ then copy the footer.php of the Enfold theme to the child theme and tweak the footer.php file and tweak it to add the script. Hope this helps.
Best regards,
Nikko
Hi, and thanks for this,
Is it necessary to run a child theme in order to insert the Google Social Media tags (and other, similar, such as phone numbers, logo…), i.e. can we simply insert in the Enfold theme footer.php?
Thanks!
Hi,
It’s not necessary but if you update the theme all changes you made with the parent theme will be lost, if you have a child theme however any changes you made there wouldn’t be lost.
Best regards,
Nikko
Makes sense, thanks!
Hi,
Glad we could help :)
Best regards,
Nikko