Created
November 7, 2014 13:47
-
-
Save billerickson/beb827a15c5407e62de2 to your computer and use it in GitHub Desktop.
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 | |
/** | |
* Remove post titles from Grid Loop | |
* | |
* @author Bill Erickson | |
* @link http://www.studiopress.com/forums/topic/grid-loop-plugin-remove-post-title/ | |
*/ | |
function be_remove_grid_loop_titles() { | |
if( apply_filters( 'is_genesis_grid_loop', false ) ) | |
remove_action( 'genesis_entry_header', 'genesis_do_post_title' ); | |
} | |
add_action( 'genesis_before_entry', 'be_remove_grid_loop_titles' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment