Created
February 23, 2012 21:54
-
-
Save Steven-Rose/1895273 to your computer and use it in GitHub Desktop.
WP: Allow authors to add rel="me"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function yoast_allow_rel() { | |
global $allowedtags; | |
$allowedtags['a']['rel'] = array (); | |
} | |
add_action( 'wp_loaded', 'yoast_allow_rel' ); | |
Via: http://yoast.com/wordpress-rel-author-rel-me/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment