get_setting( 'blogname' )->transport = 'postMessage'; $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; $wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage'; $wp_customize->get_section('header_image')->title = __( 'Header Settings', 'imagegridly' ); $wp_customize->get_section('colors')->title = __( 'Background Color', 'imagegridly' ); if ( isset( $wp_customize->selective_refresh ) ) { $wp_customize->selective_refresh->add_partial( 'blogname', array( 'selector' => '.site-title a', 'render_callback' => 'imagegridly_customize_partial_blogname', ) ); $wp_customize->selective_refresh->add_partial( 'blogdescription', array( 'selector' => '.site-description', 'render_callback' => 'imagegridly_customize_partial_blogdescription', ) ); } } add_action( 'customize_register', 'imagegridly_customize_register' ); if(! function_exists('imagegridly_customizer_css_final_output' ) ): function imagegridly_customizer_css_final_output(){ ?>