How to add Google Author recognition to Profiles and Activities?
-
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
- The topic ‘How to add Google Author recognition to Profiles and Activities?’ is closed to new replies.