Google has recently made some changes to its search engine results, where author images will be appeared next to search results for sites that are perfectly setup. The purpose is to help search engine users identify good content and to learn more about the author.It is a very way to make your results stand out from other listings Google search engine, and adding support to your blog is very simple to ensure that all your posts show your Google+ profile image.
Add rel=”Author” to Each Post
To allow google know who wrote each post, you will have to add rel=”Author” to the link to the author post page. Just open your single.php file and add rel=”Author” to the template. The completed result should look like this:
<a href="http://www.kutufam.com/author/kutufam/" title="Posts by kutufam" rel="author">kutufam</a>
Add rel=”me” To Your Author Bio Page
In stage I we ensured that all links to your author page included rel=”author” – now we need to ensure that on this page you link to your google+ profile using rel=”me”. This is a bit trickier as WordPress removes all rel attributes from the author bio section.
To overcome this, add the following code to your functions.php file:
function allow_rel() {
global $allowedtags;
$allowedtags['a']['rel'] = array ();
}
add_action( 'wp_loaded', 'allow_rel' );
You can now add the following code to your bio info:
<a rel="me" href="https://plus.google.com/u/0/113220466779656520745/about">my Google+ Profile</a>
Add Links To Your Author Pages On Google+
The final step is to add links to your your author profiles on google+ – you can do this for as many sites you contribute. Just open your Google+ profile and in the links on the right, add links to your Author pages, not the site homepages, in the other profile or contributor sections.
Check It’s Working Properly
To check your google+ authorship is working properly, go to Google’s rich snippets tool and enter in one of your urls. If there’s a problem, the tool will tell you how to fix your authorship.
No comments :
Post a Comment