Skip to content

Instantly share code, notes, and snippets.

@BeardedGinger
Last active October 6, 2016 02:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save BeardedGinger/970cacc3bd1c50bb695b881043b84c3f to your computer and use it in GitHub Desktop.
Save BeardedGinger/970cacc3bd1c50bb695b881043b84c3f to your computer and use it in GitHub Desktop.
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