Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to add Google Author recognition to Profiles and Activities?

  • @gregfielding

    Participant

    I was reading this post by Yoast: http://yoast.com/highlighting-wordpress-authors-search/

    It seems that the rel=”author” attribute will be built-in to WP 3.2 – which will be great for blog authors, but won’t by itself support buddypress Profiles and Activities (permalink.php).

    Here is his solution to add to regular WP blogs:

    `function yoast_rel_author_filter( $link ) {
    if ( false === strpos( $link, ‘rel=”author”‘ ) )
    $link = str_replace ( ‘<a ', '<a rel="author" ', $link );
    return $link;
    }
    add_filter(‘the_author_posts_link’,’yoast_rel_author_filter’,10,1);`

    Any ideas on how we can add buddypress support?

    Here’s a link to the google article: http://www.google.com/support/webmasters/bin/answer.py?answer=1229920&hl=en

Viewing 1 replies (of 1 total)
  • @gregfielding

    Participant

    Playing with this more, it looks like there are 2 parts to making this work. First, we need rel=”author” attributes on all of the links that go to the profile pages. entry.php, single.php, etc. Second, there should be a link from the profile page to a member’s google profile, with a rel=”me” attribute.

Viewing 1 replies (of 1 total)
  • The topic ‘How to add Google Author recognition to Profiles and Activities?’ is closed to new replies.
Skip to toolbar