Created
January 23, 2014 07:29
-
-
Save furahaclothing/8574421 to your computer and use it in GitHub Desktop.
post_class()からhentryクラスを抜く(構造化データ)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function remove_hentry( $classes ) { | |
$classes = array_diff($classes, array('hentry')); | |
return $classes; | |
} | |
add_filter('post_class', 'remove_hentry'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment