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 | |
add_action( 'toplevel_page_genesis_settings_page_boxes', 'lc_remove_unwanted_genesis_metaboxes' ); | |
/** | |
* Remove the blog page settings metabox from the Genesis Theme Settings | |
* Desired if following the suggestion by Bill Erickson to not use the Blog page template | |
* that comes standard in the Genesis Theme | |
* | |
* @link http://www.billerickson.net/dont-use-genesis-blog-template/ | |
*/ | |
function lc_remove_unwanted_genesis_metaboxes() { | |
remove_meta_box( 'genesis-theme-settings-blogpage', 'toplevel_page_genesis', 'main' ); | |
} |