Created
November 6, 2012 13:44
-
-
Save billerickson/4024820 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
/** | |
* Remove Meta Viewport Tag on Grid Loop | |
* | |
*/ | |
function be_grid_loop_remove_viewport() { | |
$grid = be_grid_loop_pagination(); | |
if( $grid ) | |
remove_action( 'genesis_meta', 'prose_add_viewport_meta_tag' ); | |
} | |
add_action( 'genesis_meta', 'be_grid_loop_remove_viewport', 5 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment