Skip to content

Instantly share code, notes, and snippets.

@anwerashif
Created November 5, 2017 15:57
Show Gist options
  • Select an option

  • Save anwerashif/6ac0067fdb75c65878a977fa8a2d53de to your computer and use it in GitHub Desktop.

Select an option

Save anwerashif/6ac0067fdb75c65878a977fa8a2d53de to your computer and use it in GitHub Desktop.
Remove Post Info From Blog Posts Page
<?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