4 entries in
'footer_menu', array( 'selector' => '#site-footer .footer-menu-wrapper', 'render_callback' => '', 'fallback_refresh' => false, ) ); // Footer Social Links. $wp_customize->add_setting( 'footer_links', array( 'default' => '', 'transport' => 'postMessage', 'sanitize_callback' => 'tripp_customize_sanitize_select', ) ); $footer_links_description = ''; if ( function_exists( 'flextension_social_links_list' ) ) { $footer_links_description = sprintf( wp_kses( /* translators: %s: URL of the Menus panel. */ __( 'You can setup social links in the Social Links settings.', 'tripp' ), array( 'a' => array( 'href' => array(), 'target' => array(), ), ) ), esc_url( flextension_get_admin_page_url( 'social-links', 'general' ) ) ); } else { $footer_links_description = sprintf( wp_kses( /* translators: %s: URL of the Menus panel. */ __( 'The Social Links module must be enabled.', 'tripp' ), array( 'a' => array( 'href' => array(), ), ) ), esc_url( add_query_arg( array( 'page' => 'flextension-manager', ), admin_url( 'admin.php' ) ) ) ); } $wp_customize->add_control( 'footer_links', array( 'section' => 'footer_section', 'label' => esc_html__( 'Social Links', 'tripp' ), 'description' => $footer_links_description, 'type' => 'select', 'choices' => array( '' => esc_html__( 'None', 'tripp' ), 'icons' => esc_html__( 'Icons', 'tripp' ), 'names' => esc_html__( 'Names', 'tripp' ), ), ) ); $wp_customize->selective_refresh->add_partial( 'footer_links', array( 'selector' => '#site-footer .footer-social-links', 'render_callback' => 'tripp_customizer_get_footer_social_links', 'container_inclusive' => false, ) ); } add_action( 'customize_register', 'tripp_customizer_register_footer_settings', 20 );