WordPress.org

Ready to get started?Download WordPress

Forums

Author Bio Box
[resolved] Google Authorship (4 posts)

  1. myplugins
    Member
    Posted 1 year ago #

    Hello, can this plugin be used to integrate google+ authorship so that the author of the post has an image and rich snippet show up in google search? Thank you for your help.

    http://wordpress.org/plugins/author-bio-box/

  2. Claudio Sanches
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. star2dev
    Member
    Posted 9 months ago #

    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>
    </div>
  4. star2dev
    Member
    Posted 9 months ago #

    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>';
            }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.