ID ) ) {
$thumbnail = wp_get_attachment_image_src(
get_post_thumbnail_id( $post->ID ), 'thumbnail', false);
echo '';
}
echo '';
if ( get_the_excerpt() != '' )
echo '';
}
}
// add this in the header
add_action('wp_head', 'bones_facebook_connect');
// adding the rel=me thanks to yoast
function yoast_allow_rel() {
global $allowedtags;
$allowedtags['a']['rel'] = array ();
}
add_action( 'wp_loaded', 'yoast_allow_rel' );
// adding facebook, twitter, & google+ links to the user profile
function bones_add_user_fields( $contactmethods ) {
// Add Facebook
$contactmethods['user_fb'] = 'Facebook';
// Add Twitter
$contactmethods['user_tw'] = 'Twitter';
// Add Google+
$contactmethods['google_profile'] = 'Google Profile URL';
// Save 'Em
return $contactmethods;
}
add_filter('user_contactmethods','bones_add_user_fields',10,1);
?>