Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remove the Genesis Blog Page settings from the Genesis Theme Settings page
<?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' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment