Created
August 22, 2015 11:48
-
-
Save reasonstousegenesis/a66653546a260d3d5046 to your computer and use it in GitHub Desktop.
Remove the 404 page content 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. | |
/** | |
* Remove the 404 page content | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/genesis-404-entry-content/ | |
*/ | |
add_filter( 'genesis_404_entry_content', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment