Looking to get rid of the Sitemap from 404 pages in your Genesis site?
Simply copy 404.php from parent Genesis directory into your child theme and remove the code that outputs the sitemap.
Before:
After:
Step 1
Copy 404.php from Genesis directory into your active child theme directory.
Step 2
Edit the above file and comment out or delete
if ( genesis_a11y( '404-page' ) ) {
echo '<h2>' . __( 'Sitemap', 'genesis' ) . '</h2>';
genesis_sitemap( 'h3' );
} else {
genesis_sitemap( 'h4' );
}
THANK YOU!! 🙂