Extending the Customizer for your Client

[members_logged_in]
Extending the Customizer for your Client

There are situations in any client work where it may be easier to add some "options" to the WordPress Customizer that can empower the client to take an active role in their website. In this webinar, we will break down the parts of adding a section to the WordPress Customizer and integrate those results into a section of the site.

Save the Webinar 0

Webinar Originally Broadcast: June 19, 2024

Video Download: HD Download | Mobile Download

Additional Downloads: PDF Handout

Additional Notes:

add_action('customize_register', 'bob_sample_customizer');
function bob_sample_customizer($wp_customize){
$wp_customize->remove_section('themes');
$wp_customize->remove_section('title_tagline');
$wp_customize->remove_section('colors');
$wp_customize->remove_section('static_front_page');
$wp_customize->remove_section('custom_css');
$wp_customize->remove_panel('widgets');
}


add_action( ‘customize_register’, function( $wp_customize ) {
/** @var WP_Customize_Manager $wp_customize */
remove_action( ‘customize_controls_enqueue_scripts’, array( $wp_customize->nav_menus, ‘enqueue_scripts’ ) );
remove_action( ‘customize_register’, array( $wp_customize->nav_menus, ‘customize_register’ ), 11 );
remove_filter( ‘customize_dynamic_setting_args’, array( $wp_customize->nav_menus, ‘filter_dynamic_setting_args’ ) );
remove_filter( ‘customize_dynamic_setting_class’, array( $wp_customize->nav_menus, ‘filter_dynamic_setting_class’ ) );
remove_action( ‘customize_controls_print_footer_scripts’, array( $wp_customize->nav_menus, ‘print_templates’ ) );
remove_action( ‘customize_controls_print_footer_scripts’, array( $wp_customize->nav_menus, ‘available_items_template’ ) );
remove_action( ‘customize_preview_init’, array( $wp_customize->nav_menus, ‘customize_preview_init’ ) );
}, 10 );

[/members_logged_in] [members_not_logged_in]

You need to be logged into your membership account to have access to the webinar replays.

[/members_not_logged_in]
Back to Top