Created
February 25, 2016 09:13
-
-
Save Kaiderella/0981aa5082af4438be70 to your computer and use it in GitHub Desktop.
Ẩn post meta trong Archive pages của Metro Pro child theme
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
// Remove post meta from Archive pages | |
function metro_remove_post_meta() { | |
if (is_archive()) { | |
remove_action( 'genesis_entry_footer', 'genesis_post_meta' ); | |
} | |
} | |
add_action ( 'genesis_entry_header', 'metro_remove_post_meta' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment