Skip to content

Instantly share code, notes, and snippets.

@Steven-Rose
Created February 23, 2012 21:54
Show Gist options
  • Save Steven-Rose/1895273 to your computer and use it in GitHub Desktop.
Save Steven-Rose/1895273 to your computer and use it in GitHub Desktop.
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