Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WP: Allow authors to add rel="me"
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
You can’t perform that action at this time.