Admin Management
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
<!-- Below is the code to force Layout Settings: -->
//* Force content-sidebar layout setting
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_content_sidebar' );
//* Force sidebar-content layout setting
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_sidebar_content' );
//* Force content-sidebar-sidebar layout setting
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_content_sidebar_sidebar' );
//* Force sidebar-sidebar-content layout setting
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_sidebar_sidebar_content' );
//* Force sidebar-content-sidebar layout setting
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_sidebar_content_sidebar' );
//* Force full-width-content layout setting
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
<!-- Below is the code to remove the Genesis In-Post SEO Settings: -->
//* Remove Genesis in-post SEO Settings
remove_action( 'admin_menu', 'genesis_add_inpost_seo_box' );
<!-- Below is the code to remove the Genesis Layout Settings: -->
//* Remove Genesis Layout Settings
remove_theme_support( 'genesis-inpost-layouts' );
<!-- Below is the code to remove the Genesis menu link: -->
//* Remove Genesis menu link
remove_theme_support( 'genesis-admin-menu' );
<!-- Below is the code to remove the Genesis SEO Settings menu link: -->
//* Remove Genesis SEO Settings menu link
remove_theme_support( 'genesis-seo-settings-menu' );
<!-- Below is the code to unregister Layout Settings: -->
//* Unregister content/sidebar layout setting
genesis_unregister_layout( 'content-sidebar' );
//* Unregister sidebar/content layout setting
genesis_unregister_layout( 'sidebar-content' );
//* Unregister content/sidebar/sidebar layout setting
genesis_unregister_layout( 'content-sidebar-sidebar' );
//* Unregister sidebar/sidebar/content layout setting
genesis_unregister_layout( 'sidebar-sidebar-content' );
//* Unregister sidebar/content/sidebar layout setting
genesis_unregister_layout( 'sidebar-content-sidebar' );
//* Unregister full-width content layout setting
genesis_unregister_layout( 'full-width-content' );
<!-- Below is the code to unregister Genesis Widgets: -->
//* Unregister Genesis widgets
add_action( 'widgets_init', 'unregister_genesis_widgets', 20 );
function unregister_genesis_widgets() {
unregister_widget( 'Genesis_eNews_Updates' );
unregister_widget( 'Genesis_Featured_Page' );
unregister_widget( 'Genesis_Featured_Post' );
unregister_widget( 'Genesis_Latest_Tweets_Widget' );
unregister_widget( 'Genesis_Menu_Pages_Widget' );
unregister_widget( 'Genesis_User_Profile_Widget' );
unregister_widget( 'Genesis_Widget_Menu_Categories' );
}