Created
November 5, 2017 15:54
-
-
Save anwerashif/4fa89d2089cd28abed3c41dd8ab5cb40 to your computer and use it in GitHub Desktop.
Remove Post Meta From Blog Posts Page
This file contains hidden or 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 | |
// Remove Post Meta From Blog Posts Page | |
add_filter( 'genesis_post_meta', 'remove_post_meta_home_page' ); | |
function remove_post_meta_home_page($post_meta) { | |
if ( is_home() ) { | |
$post_meta = ''; | |
return $post_meta; | |
}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment