Created
April 5, 2012 18:00
-
-
Save billerickson/2312871 to your computer and use it in GitHub Desktop.
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 | |
/** | |
* Make the 404 page full width | |
* | |
*/ | |
function be_full_width_404() { | |
if( is_404() ) | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); | |
} | |
add_action( 'genesis_meta', 'be_full_width_404' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment