-
AuthorPosts
-
February 19, 2017 at 5:21 pm #749020
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
February 23, 2017 at 11:40 pm #751104Hey 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,
NikkoMarch 14, 2017 at 9:09 pm #760981Hi, 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!
March 15, 2017 at 11:43 am #761329Hi,
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,
NikkoMarch 16, 2017 at 12:08 am #761687Makes sense, thanks!
March 16, 2017 at 7:45 am #761755Hi,
Glad we could help :)
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.
