• Skip to primary navigation
  • Skip to main content

Genesis Community

Resources for Genesis WordPress Theme Users

  • Facebook
  • Twitter
  • Slack
  • Wiki
  • Login
You are here: Home / Wikis / Genesis / Remove Genesis Admin Metaboxes and Customizer Settings

Remove Genesis Admin Metaboxes and Customizer Settings

add_action( 'customize_register', 'childprefix_remove_genesis_customizer_section', 11 );
/**
 * Remove Customizer Sections from Genesis Child Theme
 * Single comment those you want to keep
 */
function childprefix_remove_genesis_customizer_section() {

    global $wp_customize;

    //* comment the ones you want to keep

    $remove_customizer_section = array(
        'genesis_updates',
        'genesis_header',
        'genesis_adsense',
        'genesis_color_scheme',
        'genesis_layout',
        'genesis_breadcrumbs',
        'genesis_comments',
        'genesis_archives',
        'genesis_scripts',
    ); 

    foreach ( $remove_customizer_section as $section ) :
        $wp_customize->remove_section( $section );
    endforeach;


}


add_action( 'genesis_admin_before_metaboxes', 'childprefix_remove_genesis_admin_settings_metaboxes' );
/**
 * Remove various metaboxes of Genesis Child Theme Settings
 * Single comment those you want to keep
 */
function childprefix_remove_genesis_admin_settings_metaboxes( $hook ) {

    //* comment the ones you want to keep

    $remove_metabox = array(
        'genesis-theme-settings-adsense', 
        'genesis-theme-settings-version', 
        'genesis-theme-settings-feeds', 
        'genesis-theme-settings-layout', 
        'genesis-theme-settings-nav', 
        'genesis-theme-settings-breadcrumb', 
        'genesis-theme-settings-comments', 
        'genesis-theme-settings-posts', 
        'genesis-theme-settings-blogpage', 
        'genesis-theme-settings-scripts', 
        'genesis-theme-settings-header', 
    ); 

    foreach ( $remove_metabox as $metabox ) :
        remove_meta_box( $metabox , $hook, 'main' );
    endforeach;


}

Posted by: christina Category: Genesis

« Customize Genesis No Posts Output
Don’t load deprecated Genesis functions »

Copyright © 2025 · Genesis Sample on Genesis Framework · WordPress · Log in