Created
August 22, 2015 11:41
-
-
Save reasonstousegenesis/a2114f6718c4cdcbd98e to your computer and use it in GitHub Desktop.
Edit the 404 page headline 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. | |
/** | |
* Edit the 404 page headline | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/genesis-404-entry-title/ | |
*/ | |
add_filter( 'genesis_404_entry_title', 'rtug_404_entry_title' ); | |
function rtug_404_entry_title() { | |
return 'Broken Link'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment