소스 검색

removed yoast rel=me

eddiemachado 13 년 전
부모
커밋
eac4de5d7b
1개의 변경된 파일0개의 추가작업 그리고 20개의 파일을 삭제
  1. 0 20
      library/plugins.php

+ 0 - 20
library/plugins.php

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