Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Created August 22, 2015 11:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reasonstousegenesis/a2114f6718c4cdcbd98e to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/a2114f6718c4cdcbd98e to your computer and use it in GitHub Desktop.
Edit the 404 page headline with Genesis
<?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