Created
November 5, 2017 15:57
-
-
Save anwerashif/6ac0067fdb75c65878a977fa8a2d53de to your computer and use it in GitHub Desktop.
Remove Post Info 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 Info From Blog Posts Page | |
| add_filter( 'genesis_post_info', 'remove_post_info_home_page' ); | |
| function remove_post_info_home_page($post_info) { | |
| if ( is_home() ) { | |
| $post_info = ''; | |
| return $post_info; | |
| }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment