|
@@ -81,26 +81,6 @@ function bones_google_header() {
|
|
|
add_action('wp_head', 'bones_facebook_connect');
|
|
add_action('wp_head', 'bones_facebook_connect');
|
|
|
add_action('wp_head', 'bones_google_header');
|
|
add_action('wp_head', 'bones_google_header');
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-// 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);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
?>
|
|
?>
|