Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* Remove Genesis Page Templates
* @author Bill Erickson
* @link
* @param array $page_templates
* @return array
function be_remove_genesis_page_templates( $page_templates ) {
unset( $page_templates['page_archive.php'] );
unset( $page_templates['page_blog.php'] );
return $page_templates;
add_filter( 'theme_page_templates', 'be_remove_genesis_page_templates' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.