Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remove the Genesis Layout settings in Customizer
<?php
// Remove layout settings from customizer
add_filter( 'genesis_customizer_theme_settings_config', 'jdn_filter_genesis_customizer_theme_settings' );
function jdn_filter_genesis_customizer_theme_settings( $config ) {
if( isset( $config['genesis']['sections']['genesis_layout'] ) )
unset( $config['genesis']['sections']['genesis_layout'] );
return $config;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.