Skip to content

Instantly share code, notes, and snippets.

@Pross
Created April 9, 2013 18:39
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 Pross/5348222 to your computer and use it in GitHub Desktop.
Save Pross/5348222 to your computer and use it in GitHub Desktop.
tag filter to change html
add_filter( 'the_tags', 'my_tag_filter', 10, 1 );
function my_tag_filter( $html ) {
$html = str_replace( 'Tagged with →', 'Some Tags: ', $html );
$html = str_replace( ' • ', ' | ', $html );
return $html;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment