Created
April 19, 2019 14:29
-
-
Save juanfra/a0e6cc1dd584bebb15d3ddd0f1d8c13b to your computer and use it in GitHub Desktop.
Remove article meta in taxonomy pages
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
<?php | |
//* Do NOT include the opening php tag | |
add_filter( 'nice_article_meta', 'flatbase_article_meta_custom' ); | |
function flatbase_article_meta_custom( $html ) { | |
if ( is_tax() ) { | |
return ''; | |
} | |
return $html; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment