Tagged: Google, social profiles
By adding a short line of code to the website, you can make your Google+ page eligible to show up on the right hand side of the Google search page for relevant queries and make your Google+ page more discoverable.
However, you need to add the G+ link as a rel=”publisher” link and not a rel=”author” link. Also, this link must have text that reads “Google+” instead of the “Gplus” that is currently implemented in Enfold. I would love to just have this as part of the Social Profiles that is already built into the theme.
I cannot find the code to change this. Can you please provide me with some code that I can add to the Child “functions.php” or Child “style.css” file to allow this?
Hi DJ!
Are you trying to do this? http://www.vervesearch.com/blog/how-to-implement-the-relpublisher-google-authorship-mark-up/
If so then try adding this to the bottom of your /enfold/functions.php file.
add_filter( 'wp_head', 'enfold_customization_add_header_meta' );
function enfold_customization_add_header_meta() {
?>
<link rel = "publisher" href = "your URL goes here" />
<?php
}
Regards,
Elliott
Thanks Elliott! That seems to work.