Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../themes/Divi
File: functions.php
'sanitize_callback' => 'et_sanitize_alpha_color',
[2500] Fix | Delete
) );
[2501] Fix | Delete
[2502] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[secondary_nav_bg]', array(
[2503] Fix | Delete
'label' => esc_html__( 'Background Color', 'Divi' ),
[2504] Fix | Delete
'section' => 'et_divi_header_secondary',
[2505] Fix | Delete
'settings' => 'et_divi[secondary_nav_bg]',
[2506] Fix | Delete
) ) );
[2507] Fix | Delete
[2508] Fix | Delete
$wp_customize->add_setting( 'et_divi[secondary_nav_text_color_new]', array(
[2509] Fix | Delete
'default' => '#ffffff',
[2510] Fix | Delete
'type' => 'option',
[2511] Fix | Delete
'capability' => 'edit_theme_options',
[2512] Fix | Delete
'transport' => 'postMessage',
[2513] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2514] Fix | Delete
) );
[2515] Fix | Delete
[2516] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[secondary_nav_text_color_new]', array(
[2517] Fix | Delete
'label' => esc_html__( 'Text Color', 'Divi' ),
[2518] Fix | Delete
'section' => 'et_divi_header_secondary',
[2519] Fix | Delete
'settings' => 'et_divi[secondary_nav_text_color_new]',
[2520] Fix | Delete
) ) );
[2521] Fix | Delete
[2522] Fix | Delete
$wp_customize->add_setting( 'et_divi[secondary_nav_dropdown_bg]', array(
[2523] Fix | Delete
'default' => et_get_option( 'secondary_nav_bg', et_get_option( 'accent_color', '#2ea3f2' ) ),
[2524] Fix | Delete
'type' => 'option',
[2525] Fix | Delete
'capability' => 'edit_theme_options',
[2526] Fix | Delete
'transport' => 'postMessage',
[2527] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2528] Fix | Delete
) );
[2529] Fix | Delete
[2530] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[secondary_nav_dropdown_bg]', array(
[2531] Fix | Delete
'label' => esc_html__( 'Dropdown Menu Background Color', 'Divi' ),
[2532] Fix | Delete
'section' => 'et_divi_header_secondary',
[2533] Fix | Delete
'settings' => 'et_divi[secondary_nav_dropdown_bg]',
[2534] Fix | Delete
) ) );
[2535] Fix | Delete
[2536] Fix | Delete
$wp_customize->add_setting( 'et_divi[secondary_nav_dropdown_link_color]', array(
[2537] Fix | Delete
'default' => et_get_option( 'secondary_nav_text_color_new', '#ffffff' ),
[2538] Fix | Delete
'type' => 'option',
[2539] Fix | Delete
'capability' => 'edit_theme_options',
[2540] Fix | Delete
'transport' => 'postMessage',
[2541] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2542] Fix | Delete
) );
[2543] Fix | Delete
[2544] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[secondary_nav_dropdown_link_color]', array(
[2545] Fix | Delete
'label' => esc_html__( 'Dropdown Menu Text Color', 'Divi' ),
[2546] Fix | Delete
'section' => 'et_divi_header_secondary',
[2547] Fix | Delete
'settings' => 'et_divi[secondary_nav_dropdown_link_color]',
[2548] Fix | Delete
) ) );
[2549] Fix | Delete
[2550] Fix | Delete
$wp_customize->add_setting( 'et_divi[secondary_nav_dropdown_animation]', array(
[2551] Fix | Delete
'default' => 'fade',
[2552] Fix | Delete
'type' => 'option',
[2553] Fix | Delete
'capability' => 'edit_theme_options',
[2554] Fix | Delete
'transport' => 'postMessage',
[2555] Fix | Delete
'sanitize_callback' => 'et_sanitize_dropdown_animation',
[2556] Fix | Delete
) );
[2557] Fix | Delete
[2558] Fix | Delete
$wp_customize->add_control( 'et_divi[secondary_nav_dropdown_animation]', array(
[2559] Fix | Delete
'label' => esc_html__( 'Dropdown Menu Animation', 'Divi' ),
[2560] Fix | Delete
'section' => 'et_divi_header_secondary',
[2561] Fix | Delete
'type' => 'select',
[2562] Fix | Delete
'choices' => et_divi_dropdown_animation_choices(),
[2563] Fix | Delete
) );
[2564] Fix | Delete
[2565] Fix | Delete
// Setting with no control kept for backwards compatbility
[2566] Fix | Delete
$wp_customize->add_setting( 'et_divi[primary_nav_text_color]', array(
[2567] Fix | Delete
'default' => 'dark',
[2568] Fix | Delete
'type' => 'option',
[2569] Fix | Delete
'capability' => 'edit_theme_options',
[2570] Fix | Delete
'transport' => 'postMessage',
[2571] Fix | Delete
'sanitize_callback' => 'sanitize_hex_color',
[2572] Fix | Delete
) );
[2573] Fix | Delete
[2574] Fix | Delete
// Setting with no control kept for backwards compatbility
[2575] Fix | Delete
$wp_customize->add_setting( 'et_divi[secondary_nav_text_color]', array(
[2576] Fix | Delete
'default' => 'light',
[2577] Fix | Delete
'type' => 'option',
[2578] Fix | Delete
'capability' => 'edit_theme_options',
[2579] Fix | Delete
'transport' => 'postMessage',
[2580] Fix | Delete
'sanitize_callback' => 'sanitize_hex_color',
[2581] Fix | Delete
) );
[2582] Fix | Delete
[2583] Fix | Delete
if ( 'on' === et_get_option( 'divi_fixed_nav', 'on' ) ) {
[2584] Fix | Delete
$wp_customize->add_setting( 'et_divi[hide_fixed_logo]', array(
[2585] Fix | Delete
'type' => 'option',
[2586] Fix | Delete
'capability' => 'edit_theme_options',
[2587] Fix | Delete
'transport' => 'postMessage',
[2588] Fix | Delete
'sanitize_callback' => 'wp_validate_boolean',
[2589] Fix | Delete
) );
[2590] Fix | Delete
[2591] Fix | Delete
$wp_customize->add_control( 'et_divi[hide_fixed_logo]', array(
[2592] Fix | Delete
'label' => esc_html__( 'Hide Logo Image', 'Divi' ),
[2593] Fix | Delete
'section' => 'et_divi_header_fixed',
[2594] Fix | Delete
'type' => 'checkbox',
[2595] Fix | Delete
) );
[2596] Fix | Delete
[2597] Fix | Delete
$wp_customize->add_setting( 'et_divi[minimized_menu_height]', array(
[2598] Fix | Delete
'default' => '40',
[2599] Fix | Delete
'type' => 'option',
[2600] Fix | Delete
'capability' => 'edit_theme_options',
[2601] Fix | Delete
'transport' => 'postMessage',
[2602] Fix | Delete
'sanitize_callback' => 'absint',
[2603] Fix | Delete
) );
[2604] Fix | Delete
[2605] Fix | Delete
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'et_divi[minimized_menu_height]', array(
[2606] Fix | Delete
'label' => esc_html__( 'Fixed Menu Height', 'Divi' ),
[2607] Fix | Delete
'section' => 'et_divi_header_fixed',
[2608] Fix | Delete
'type' => 'range',
[2609] Fix | Delete
'input_attrs' => array(
[2610] Fix | Delete
'min' => 30,
[2611] Fix | Delete
'max' => 300,
[2612] Fix | Delete
'step' => 1
[2613] Fix | Delete
),
[2614] Fix | Delete
) ) );
[2615] Fix | Delete
[2616] Fix | Delete
$wp_customize->add_setting( 'et_divi[fixed_primary_nav_font_size]', array(
[2617] Fix | Delete
'default' => et_get_option( 'primary_nav_font_size', '14' ),
[2618] Fix | Delete
'type' => 'option',
[2619] Fix | Delete
'capability' => 'edit_theme_options',
[2620] Fix | Delete
'transport' => 'postMessage',
[2621] Fix | Delete
'sanitize_callback' => 'absint',
[2622] Fix | Delete
) );
[2623] Fix | Delete
[2624] Fix | Delete
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'et_divi[fixed_primary_nav_font_size]', array(
[2625] Fix | Delete
'label' => esc_html__( 'Text Size', 'Divi' ),
[2626] Fix | Delete
'section' => 'et_divi_header_fixed',
[2627] Fix | Delete
'type' => 'range',
[2628] Fix | Delete
'input_attrs' => array(
[2629] Fix | Delete
'min' => 12,
[2630] Fix | Delete
'max' => 24,
[2631] Fix | Delete
'step' => 1
[2632] Fix | Delete
),
[2633] Fix | Delete
) ) );
[2634] Fix | Delete
[2635] Fix | Delete
$wp_customize->add_setting( 'et_divi[fixed_primary_nav_bg]', array(
[2636] Fix | Delete
'default' => et_get_option( 'primary_nav_bg', '#ffffff' ),
[2637] Fix | Delete
'type' => 'option',
[2638] Fix | Delete
'capability' => 'edit_theme_options',
[2639] Fix | Delete
'transport' => 'postMessage',
[2640] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2641] Fix | Delete
) );
[2642] Fix | Delete
[2643] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[fixed_primary_nav_bg]', array(
[2644] Fix | Delete
'label' => esc_html__( 'Primary Menu Background Color', 'Divi' ),
[2645] Fix | Delete
'section' => 'et_divi_header_fixed',
[2646] Fix | Delete
'settings' => 'et_divi[fixed_primary_nav_bg]',
[2647] Fix | Delete
) ) );
[2648] Fix | Delete
[2649] Fix | Delete
$wp_customize->add_setting( 'et_divi[fixed_secondary_nav_bg]', array(
[2650] Fix | Delete
'default' => et_get_option( 'secondary_nav_bg', '#2ea3f2' ),
[2651] Fix | Delete
'type' => 'option',
[2652] Fix | Delete
'capability' => 'edit_theme_options',
[2653] Fix | Delete
'transport' => 'postMessage',
[2654] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2655] Fix | Delete
) );
[2656] Fix | Delete
[2657] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[fixed_secondary_nav_bg]', array(
[2658] Fix | Delete
'label' => esc_html__( 'Secondary Menu Background Color', 'Divi' ),
[2659] Fix | Delete
'section' => 'et_divi_header_fixed',
[2660] Fix | Delete
'settings' => 'et_divi[fixed_secondary_nav_bg]',
[2661] Fix | Delete
) ) );
[2662] Fix | Delete
[2663] Fix | Delete
$wp_customize->add_setting( 'et_divi[fixed_menu_link]', array(
[2664] Fix | Delete
'default' => et_get_option( 'menu_link', 'rgba(0,0,0,0.6)' ),
[2665] Fix | Delete
'type' => 'option',
[2666] Fix | Delete
'capability' => 'edit_theme_options',
[2667] Fix | Delete
'transport' => 'postMessage',
[2668] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2669] Fix | Delete
) );
[2670] Fix | Delete
[2671] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[fixed_menu_link]', array(
[2672] Fix | Delete
'label' => esc_html__( 'Primary Menu Link Color', 'Divi' ),
[2673] Fix | Delete
'section' => 'et_divi_header_fixed',
[2674] Fix | Delete
'settings' => 'et_divi[fixed_menu_link]',
[2675] Fix | Delete
) ) );
[2676] Fix | Delete
[2677] Fix | Delete
$wp_customize->add_setting( 'et_divi[fixed_secondary_menu_link]', array(
[2678] Fix | Delete
'default' => et_get_option( 'secondary_nav_text_color_new', '#ffffff' ),
[2679] Fix | Delete
'type' => 'option',
[2680] Fix | Delete
'capability' => 'edit_theme_options',
[2681] Fix | Delete
'transport' => 'postMessage',
[2682] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2683] Fix | Delete
) );
[2684] Fix | Delete
[2685] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[fixed_secondary_menu_link]', array(
[2686] Fix | Delete
'label' => esc_html__( 'Secondary Menu Link Color', 'Divi' ),
[2687] Fix | Delete
'section' => 'et_divi_header_fixed',
[2688] Fix | Delete
'settings' => 'et_divi[fixed_secondary_menu_link]',
[2689] Fix | Delete
) ) );
[2690] Fix | Delete
[2691] Fix | Delete
$wp_customize->add_setting( 'et_divi[fixed_menu_link_active]', array(
[2692] Fix | Delete
'default' => et_get_option( 'menu_link_active', '#2ea3f2' ),
[2693] Fix | Delete
'type' => 'option',
[2694] Fix | Delete
'capability' => 'edit_theme_options',
[2695] Fix | Delete
'transport' => 'postMessage',
[2696] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2697] Fix | Delete
) );
[2698] Fix | Delete
[2699] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[fixed_menu_link_active]', array(
[2700] Fix | Delete
'label' => esc_html__( 'Active Primary Menu Link Color', 'Divi' ),
[2701] Fix | Delete
'section' => 'et_divi_header_fixed',
[2702] Fix | Delete
'settings' => 'et_divi[fixed_menu_link_active]',
[2703] Fix | Delete
) ) );
[2704] Fix | Delete
}
[2705] Fix | Delete
[2706] Fix | Delete
$wp_customize->add_setting( 'et_divi[phone_number]', array(
[2707] Fix | Delete
'type' => 'option',
[2708] Fix | Delete
'capability' => 'edit_theme_options',
[2709] Fix | Delete
'transport' => 'postMessage',
[2710] Fix | Delete
'sanitize_callback' => 'et_sanitize_html_input_text',
[2711] Fix | Delete
) );
[2712] Fix | Delete
[2713] Fix | Delete
$wp_customize->add_control( 'et_divi[phone_number]', array(
[2714] Fix | Delete
'label' => esc_html__( 'Phone Number', 'Divi' ),
[2715] Fix | Delete
'section' => 'et_divi_header_information',
[2716] Fix | Delete
'type' => 'text',
[2717] Fix | Delete
) );
[2718] Fix | Delete
[2719] Fix | Delete
$wp_customize->add_setting( 'et_divi[header_email]', array(
[2720] Fix | Delete
'type' => 'option',
[2721] Fix | Delete
'capability' => 'edit_theme_options',
[2722] Fix | Delete
'transport' => 'postMessage',
[2723] Fix | Delete
'sanitize_callback' => 'sanitize_email',
[2724] Fix | Delete
) );
[2725] Fix | Delete
[2726] Fix | Delete
$wp_customize->add_control( 'et_divi[header_email]', array(
[2727] Fix | Delete
'label' => esc_html__( 'Email', 'Divi' ),
[2728] Fix | Delete
'section' => 'et_divi_header_information',
[2729] Fix | Delete
'type' => 'text',
[2730] Fix | Delete
) );
[2731] Fix | Delete
[2732] Fix | Delete
$wp_customize->add_setting( 'et_divi[show_footer_social_icons]', array(
[2733] Fix | Delete
'default' => 'on',
[2734] Fix | Delete
'type' => 'option',
[2735] Fix | Delete
'capability' => 'edit_theme_options',
[2736] Fix | Delete
'transport' => 'postMessage',
[2737] Fix | Delete
'sanitize_callback' => 'wp_validate_boolean',
[2738] Fix | Delete
) );
[2739] Fix | Delete
[2740] Fix | Delete
$wp_customize->add_control( 'et_divi[show_footer_social_icons]', array(
[2741] Fix | Delete
'label' => esc_html__( 'Show Social Icons', 'Divi' ),
[2742] Fix | Delete
'section' => 'et_divi_footer_elements',
[2743] Fix | Delete
'type' => 'checkbox',
[2744] Fix | Delete
) );
[2745] Fix | Delete
[2746] Fix | Delete
$wp_customize->add_setting( 'et_divi[footer_columns]', array(
[2747] Fix | Delete
'default' => '4',
[2748] Fix | Delete
'type' => 'option',
[2749] Fix | Delete
'capability' => 'edit_theme_options',
[2750] Fix | Delete
'transport' => 'postMessage',
[2751] Fix | Delete
'sanitize_callback' => 'et_sanitize_footer_column',
[2752] Fix | Delete
) );
[2753] Fix | Delete
[2754] Fix | Delete
$wp_customize->add_control( 'et_divi[footer_columns]', array(
[2755] Fix | Delete
'label' => esc_html__( 'Column Layout', 'Divi' ),
[2756] Fix | Delete
'section' => 'et_divi_footer_layout',
[2757] Fix | Delete
'settings' => 'et_divi[footer_columns]',
[2758] Fix | Delete
'type' => 'select',
[2759] Fix | Delete
'choices' => et_divi_footer_column_choices(),
[2760] Fix | Delete
) );
[2761] Fix | Delete
[2762] Fix | Delete
$wp_customize->add_setting( 'et_divi[footer_bg]', array(
[2763] Fix | Delete
'default' => '#222222',
[2764] Fix | Delete
'type' => 'option',
[2765] Fix | Delete
'capability' => 'edit_theme_options',
[2766] Fix | Delete
'transport' => 'postMessage',
[2767] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2768] Fix | Delete
) );
[2769] Fix | Delete
[2770] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[footer_bg]', array(
[2771] Fix | Delete
'label' => esc_html__( 'Footer Background Color', 'Divi' ),
[2772] Fix | Delete
'section' => 'et_divi_footer_layout',
[2773] Fix | Delete
'settings' => 'et_divi[footer_bg]',
[2774] Fix | Delete
) ) );
[2775] Fix | Delete
[2776] Fix | Delete
$wp_customize->add_setting( 'et_divi[widget_header_font_size]', array(
[2777] Fix | Delete
'default' => absint( et_get_option( 'body_header_size', '30' ) ) * .6,
[2778] Fix | Delete
'type' => 'option',
[2779] Fix | Delete
'capability' => 'edit_theme_options',
[2780] Fix | Delete
'transport' => 'postMessage',
[2781] Fix | Delete
'sanitize_callback' => 'absint',
[2782] Fix | Delete
) );
[2783] Fix | Delete
[2784] Fix | Delete
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'et_divi[widget_header_font_size]', array(
[2785] Fix | Delete
'label' => esc_html__( 'Header Text Size', 'Divi' ),
[2786] Fix | Delete
'section' => 'et_divi_footer_widgets',
[2787] Fix | Delete
'type' => 'range',
[2788] Fix | Delete
'input_attrs' => array(
[2789] Fix | Delete
'min' => 10,
[2790] Fix | Delete
'max' => 72,
[2791] Fix | Delete
'step' => 1,
[2792] Fix | Delete
),
[2793] Fix | Delete
) ) );
[2794] Fix | Delete
[2795] Fix | Delete
$wp_customize->add_setting( 'et_divi[widget_header_font_style]', array(
[2796] Fix | Delete
'default' => et_get_option( 'widget_header_font_style', '' ),
[2797] Fix | Delete
'type' => 'option',
[2798] Fix | Delete
'capability' => 'edit_theme_options',
[2799] Fix | Delete
'transport' => 'postMessage',
[2800] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_style',
[2801] Fix | Delete
) );
[2802] Fix | Delete
[2803] Fix | Delete
$wp_customize->add_control( new ET_Divi_Font_Style_Option ( $wp_customize, 'et_divi[widget_header_font_style]', array(
[2804] Fix | Delete
'label' => esc_html__( 'Header Font Style', 'Divi' ),
[2805] Fix | Delete
'section' => 'et_divi_footer_widgets',
[2806] Fix | Delete
'type' => 'font_style',
[2807] Fix | Delete
'choices' => et_divi_font_style_choices(),
[2808] Fix | Delete
) ) );
[2809] Fix | Delete
[2810] Fix | Delete
$wp_customize->add_setting( 'et_divi[widget_body_font_size]', array(
[2811] Fix | Delete
'default' => et_get_option( 'body_font_size', '14' ),
[2812] Fix | Delete
'type' => 'option',
[2813] Fix | Delete
'capability' => 'edit_theme_options',
[2814] Fix | Delete
'transport' => 'postMessage',
[2815] Fix | Delete
'sanitize_callback' => 'absint',
[2816] Fix | Delete
) );
[2817] Fix | Delete
[2818] Fix | Delete
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'et_divi[widget_body_font_size]', array(
[2819] Fix | Delete
'label' => esc_html__( 'Body/Link Text Size', 'Divi' ),
[2820] Fix | Delete
'section' => 'et_divi_footer_widgets',
[2821] Fix | Delete
'type' => 'range',
[2822] Fix | Delete
'input_attrs' => array(
[2823] Fix | Delete
'min' => 10,
[2824] Fix | Delete
'max' => 32,
[2825] Fix | Delete
'step' => 1,
[2826] Fix | Delete
),
[2827] Fix | Delete
) ) );
[2828] Fix | Delete
[2829] Fix | Delete
$wp_customize->add_setting( 'et_divi[widget_body_line_height]', array(
[2830] Fix | Delete
'default' => '1.7',
[2831] Fix | Delete
'type' => 'option',
[2832] Fix | Delete
'capability' => 'edit_theme_options',
[2833] Fix | Delete
'transport' => 'postMessage',
[2834] Fix | Delete
'sanitize_callback' => 'et_sanitize_float_number',
[2835] Fix | Delete
) );
[2836] Fix | Delete
[2837] Fix | Delete
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'et_divi[widget_body_line_height]', array(
[2838] Fix | Delete
'label' => esc_html__( 'Body/Link Line Height', 'Divi' ),
[2839] Fix | Delete
'section' => 'et_divi_footer_widgets',
[2840] Fix | Delete
'type' => 'range',
[2841] Fix | Delete
'input_attrs' => array(
[2842] Fix | Delete
'min' => 0.8,
[2843] Fix | Delete
'max' => 3,
[2844] Fix | Delete
'step' => 0.1,
[2845] Fix | Delete
),
[2846] Fix | Delete
) ) );
[2847] Fix | Delete
[2848] Fix | Delete
$wp_customize->add_setting( 'et_divi[widget_body_font_style]', array(
[2849] Fix | Delete
'default' => et_get_option( 'footer_widget_body_font_style', '' ),
[2850] Fix | Delete
'type' => 'option',
[2851] Fix | Delete
'capability' => 'edit_theme_options',
[2852] Fix | Delete
'transport' => 'postMessage',
[2853] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_style',
[2854] Fix | Delete
) );
[2855] Fix | Delete
[2856] Fix | Delete
$wp_customize->add_control( new ET_Divi_Font_Style_Option ( $wp_customize, 'et_divi[widget_body_font_style]', array(
[2857] Fix | Delete
'label' => esc_html__( 'Body Font Style', 'Divi' ),
[2858] Fix | Delete
'section' => 'et_divi_footer_widgets',
[2859] Fix | Delete
'type' => 'font_style',
[2860] Fix | Delete
'choices' => et_divi_font_style_choices(),
[2861] Fix | Delete
) ) );
[2862] Fix | Delete
[2863] Fix | Delete
$wp_customize->add_setting( 'et_divi[footer_widget_text_color]', array(
[2864] Fix | Delete
'default' => '#fff',
[2865] Fix | Delete
'type' => 'option',
[2866] Fix | Delete
'capability' => 'edit_theme_options',
[2867] Fix | Delete
'transport' => 'postMessage',
[2868] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2869] Fix | Delete
) );
[2870] Fix | Delete
[2871] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[footer_widget_text_color]', array(
[2872] Fix | Delete
'label' => esc_html__( 'Widget Text Color', 'Divi' ),
[2873] Fix | Delete
'section' => 'et_divi_footer_widgets',
[2874] Fix | Delete
'settings' => 'et_divi[footer_widget_text_color]',
[2875] Fix | Delete
) ) );
[2876] Fix | Delete
[2877] Fix | Delete
$wp_customize->add_setting( 'et_divi[footer_widget_link_color]', array(
[2878] Fix | Delete
'default' => '#fff',
[2879] Fix | Delete
'type' => 'option',
[2880] Fix | Delete
'capability' => 'edit_theme_options',
[2881] Fix | Delete
'transport' => 'postMessage',
[2882] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2883] Fix | Delete
) );
[2884] Fix | Delete
[2885] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[footer_widget_link_color]', array(
[2886] Fix | Delete
'label' => esc_html__( 'Widget Link Color', 'Divi' ),
[2887] Fix | Delete
'section' => 'et_divi_footer_widgets',
[2888] Fix | Delete
'settings' => 'et_divi[footer_widget_link_color]',
[2889] Fix | Delete
) ) );
[2890] Fix | Delete
[2891] Fix | Delete
$wp_customize->add_setting( 'et_divi[footer_widget_header_color]', array(
[2892] Fix | Delete
'default' => et_get_option( 'accent_color', '#2ea3f2' ),
[2893] Fix | Delete
'type' => 'option',
[2894] Fix | Delete
'capability' => 'edit_theme_options',
[2895] Fix | Delete
'transport' => 'postMessage',
[2896] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2897] Fix | Delete
) );
[2898] Fix | Delete
[2899] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[footer_widget_header_color]', array(
[2900] Fix | Delete
'label' => esc_html__( 'Widget Header Color', 'Divi' ),
[2901] Fix | Delete
'section' => 'et_divi_footer_widgets',
[2902] Fix | Delete
'settings' => 'et_divi[footer_widget_header_color]',
[2903] Fix | Delete
) ) );
[2904] Fix | Delete
[2905] Fix | Delete
$wp_customize->add_setting( 'et_divi[footer_widget_bullet_color]', array(
[2906] Fix | Delete
'default' => et_get_option( 'accent_color', '#2ea3f2' ),
[2907] Fix | Delete
'type' => 'option',
[2908] Fix | Delete
'capability' => 'edit_theme_options',
[2909] Fix | Delete
'transport' => 'postMessage',
[2910] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2911] Fix | Delete
) );
[2912] Fix | Delete
[2913] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[footer_widget_bullet_color]', array(
[2914] Fix | Delete
'label' => esc_html__( 'Widget Bullet Color', 'Divi' ),
[2915] Fix | Delete
'section' => 'et_divi_footer_widgets',
[2916] Fix | Delete
'settings' => 'et_divi[footer_widget_bullet_color]',
[2917] Fix | Delete
) ) );
[2918] Fix | Delete
[2919] Fix | Delete
/* Footer Menu */
[2920] Fix | Delete
$wp_customize->add_setting( 'et_divi[footer_menu_background_color]', array(
[2921] Fix | Delete
'default' => 'rgba(255,255,255,0.05)',
[2922] Fix | Delete
'type' => 'option',
[2923] Fix | Delete
'capability' => 'edit_theme_options',
[2924] Fix | Delete
'transport' => 'postMessage',
[2925] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2926] Fix | Delete
) );
[2927] Fix | Delete
[2928] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[footer_menu_background_color]', array(
[2929] Fix | Delete
'label' => esc_html__( 'Footer Menu Background Color', 'Divi' ),
[2930] Fix | Delete
'section' => 'et_divi_footer_menu',
[2931] Fix | Delete
'settings' => 'et_divi[footer_menu_background_color]',
[2932] Fix | Delete
) ) );
[2933] Fix | Delete
[2934] Fix | Delete
$wp_customize->add_setting( 'et_divi[footer_menu_text_color]', array(
[2935] Fix | Delete
'default' => '#bbbbbb',
[2936] Fix | Delete
'type' => 'option',
[2937] Fix | Delete
'capability' => 'edit_theme_options',
[2938] Fix | Delete
'transport' => 'postMessage',
[2939] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2940] Fix | Delete
) );
[2941] Fix | Delete
[2942] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[footer_menu_text_color]', array(
[2943] Fix | Delete
'label' => esc_html__( 'Footer Menu Text Color', 'Divi' ),
[2944] Fix | Delete
'section' => 'et_divi_footer_menu',
[2945] Fix | Delete
'settings' => 'et_divi[footer_menu_text_color]',
[2946] Fix | Delete
) ) );
[2947] Fix | Delete
[2948] Fix | Delete
$wp_customize->add_setting( 'et_divi[footer_menu_active_link_color]', array(
[2949] Fix | Delete
'default' => et_get_option( 'accent_color', '#2ea3f2' ),
[2950] Fix | Delete
'type' => 'option',
[2951] Fix | Delete
'capability' => 'edit_theme_options',
[2952] Fix | Delete
'transport' => 'postMessage',
[2953] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2954] Fix | Delete
) );
[2955] Fix | Delete
[2956] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[footer_menu_active_link_color]', array(
[2957] Fix | Delete
'label' => esc_html__( 'Footer Menu Active Link Color', 'Divi' ),
[2958] Fix | Delete
'section' => 'et_divi_footer_menu',
[2959] Fix | Delete
'settings' => 'et_divi[footer_menu_active_link_color]',
[2960] Fix | Delete
) ) );
[2961] Fix | Delete
[2962] Fix | Delete
$wp_customize->add_setting( 'et_divi[footer_menu_letter_spacing]', array(
[2963] Fix | Delete
'default' => '0',
[2964] Fix | Delete
'type' => 'option',
[2965] Fix | Delete
'capability' => 'edit_theme_options',
[2966] Fix | Delete
'transport' => 'postMessage',
[2967] Fix | Delete
'sanitize_callback' => 'absint',
[2968] Fix | Delete
) );
[2969] Fix | Delete
[2970] Fix | Delete
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'et_divi[footer_menu_letter_spacing]', array(
[2971] Fix | Delete
'label' => esc_html__( 'Letter Spacing', 'Divi' ),
[2972] Fix | Delete
'section' => 'et_divi_footer_menu',
[2973] Fix | Delete
'type' => 'range',
[2974] Fix | Delete
'input_attrs' => array(
[2975] Fix | Delete
'min' => 0,
[2976] Fix | Delete
'max' => 20,
[2977] Fix | Delete
'step' => 1,
[2978] Fix | Delete
),
[2979] Fix | Delete
) ) );
[2980] Fix | Delete
[2981] Fix | Delete
$wp_customize->add_setting( 'et_divi[footer_menu_font_style]', array(
[2982] Fix | Delete
'default' => et_get_option( 'footer_footer_menu_font_style', '' ),
[2983] Fix | Delete
'type' => 'option',
[2984] Fix | Delete
'capability' => 'edit_theme_options',
[2985] Fix | Delete
'transport' => 'postMessage',
[2986] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_style',
[2987] Fix | Delete
) );
[2988] Fix | Delete
[2989] Fix | Delete
$wp_customize->add_control( new ET_Divi_Font_Style_Option ( $wp_customize, 'et_divi[footer_menu_font_style]', array(
[2990] Fix | Delete
'label' => esc_html__( 'Font Style', 'Divi' ),
[2991] Fix | Delete
'section' => 'et_divi_footer_menu',
[2992] Fix | Delete
'type' => 'font_style',
[2993] Fix | Delete
'choices' => et_divi_font_style_choices(),
[2994] Fix | Delete
) ) );
[2995] Fix | Delete
[2996] Fix | Delete
$wp_customize->add_setting( 'et_divi[footer_menu_font_size]', array(
[2997] Fix | Delete
'default' => '14',
[2998] Fix | Delete
'type' => 'option',
[2999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function