Skip to content

Instantly share code, notes, and snippets.

@tnorthcutt
Created May 31, 2013 18:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tnorthcutt/5687120 to your computer and use it in GitHub Desktop.
Save tnorthcutt/5687120 to your computer and use it in GitHub Desktop.
Allow extra tags in content on archive pages
<?php
add_filter( 'get_the_content_limit_allowedtags', 'ehr_content_limit_allowed_tags' );
function ehr_content_limit_allowed_tags($tags) {
$tags .= '<a>';
return $tags;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment