Skip to content

Instantly share code, notes, and snippets.

@lukaspawlik
Last active August 29, 2015 14:12
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 lukaspawlik/6e0650152b79b5e30fdf to your computer and use it in GitHub Desktop.
Save lukaspawlik/6e0650152b79b5e30fdf to your computer and use it in GitHub Desktop.
/**
* Timely Network Inc.
* Author: Lukas Pawlik
*
* Put below code into WordPress theme functions.php file.
* You can find this file in wp-content/themes/[your-theme-directory]/functions.php
*
*/
add_filter( 'the_title', '_remove_microformats', PHP_INT_MAX );
function _remove_microformats( $title ) {
return strip_tags( $title );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment