Support » Plugins and Hacks » Author Bio Box » [Resolved] Google Authorship

[Resolved] Google Authorship

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Claudio Sanches


    He already has the rel=”author”, you just need to add the Google Plus that should work correctly.

    But you still have to set other things on your G+ to be possible.

    Test here: http://www.google.com/webmasters/tools/richsnippets

    But that is not the focus of the plugin, the rest is up to you now.

    rel=”author” needs to be placed on the G+ icon anchor tag – not on the author title where it currently is…

    <div id="author-bio-box">
    <h3><a href="http://wordpress.com/author/name/" title="" rel="author">Author Name</a></h3>
    <div class="bio-gravatar"><img alt='' src='' class='avatar avatar-70 photo' height='70' width='70' /></div>
    <a target="_blank" href="https://www.facebook.com" class="bio-icon bio-icon-facebook"></a>
    <a target="_blank" href="https://twitter.com" class="bio-icon bio-icon-twitter"></a>
    <a target="_blank" href="https://plus.google.com/+AuthorName" class="bio-icon bio-icon-googleplus"></a> <!-- // Should be in G+ anchor // -->
    <p class="bio-description">...</p>
    foreach ( $social as $key => $value ) {
    		$rel = '';
    		if ('googleplus' === $key) $rel = ' rel="author"';
                if ( ! empty( $value ) )
                    $html .= '<a target="_blank" href="' . esc_url( $value ) . '" class="bio-icon bio-icon-' . $key . '"' . $rel . '></a>';
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Google Authorship’ is closed to new replies.
Skip to toolbar