Created
October 25, 2015 11:45
-
-
Save reasonstousegenesis/a383cc5860f0ae81b765 to your computer and use it in GitHub Desktop.
Check if the customizer is currently in use with Genesis
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 | |
// Paste the code BELOW this line into your child theme functions. | |
/** | |
* Check if the customizer is currently in use with Genesis | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/genesis-is-customizer/ | |
*/ | |
if ( genesis_is_customizer() ) | |
add_filter( 'genesis_site_layout', '__genesis_return_full_width_content' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment