Edit File by line
/home/barbar84/www/wp-conte.../themes/Divi
File: functions.php
[2500] Fix | Delete
$wp_customize->add_setting(
[2501] Fix | Delete
'et_divi[slide_nav_font_spacing]',
[2502] Fix | Delete
array(
[2503] Fix | Delete
'default' => '0',
[2504] Fix | Delete
'type' => 'option',
[2505] Fix | Delete
'capability' => 'edit_theme_options',
[2506] Fix | Delete
'transport' => 'postMessage',
[2507] Fix | Delete
'sanitize_callback' => 'et_sanitize_int_number',
[2508] Fix | Delete
)
[2509] Fix | Delete
);
[2510] Fix | Delete
[2511] Fix | Delete
$wp_customize->add_control(
[2512] Fix | Delete
new ET_Divi_Range_Option(
[2513] Fix | Delete
$wp_customize,
[2514] Fix | Delete
'et_divi[slide_nav_font_spacing]',
[2515] Fix | Delete
array(
[2516] Fix | Delete
'label' => esc_html__( 'Letter Spacing', 'Divi' ),
[2517] Fix | Delete
'section' => 'et_divi_header_slide',
[2518] Fix | Delete
'type' => 'range',
[2519] Fix | Delete
'input_attrs' => array(
[2520] Fix | Delete
'min' => -1,
[2521] Fix | Delete
'max' => 8,
[2522] Fix | Delete
'step' => 1,
[2523] Fix | Delete
),
[2524] Fix | Delete
)
[2525] Fix | Delete
)
[2526] Fix | Delete
);
[2527] Fix | Delete
[2528] Fix | Delete
$wp_customize->add_setting(
[2529] Fix | Delete
'et_divi[slide_nav_font]',
[2530] Fix | Delete
array(
[2531] Fix | Delete
'default' => 'none',
[2532] Fix | Delete
'type' => 'option',
[2533] Fix | Delete
'capability' => 'edit_theme_options',
[2534] Fix | Delete
'transport' => 'postMessage',
[2535] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_choices',
[2536] Fix | Delete
)
[2537] Fix | Delete
);
[2538] Fix | Delete
[2539] Fix | Delete
$wp_customize->add_control(
[2540] Fix | Delete
new ET_Divi_Select_Option(
[2541] Fix | Delete
$wp_customize,
[2542] Fix | Delete
'et_divi[slide_nav_font]',
[2543] Fix | Delete
array(
[2544] Fix | Delete
'label' => esc_html__( 'Font', 'Divi' ),
[2545] Fix | Delete
'section' => 'et_divi_header_slide',
[2546] Fix | Delete
'settings' => 'et_divi[slide_nav_font]',
[2547] Fix | Delete
'type' => 'select',
[2548] Fix | Delete
'choices' => $font_choices,
[2549] Fix | Delete
)
[2550] Fix | Delete
)
[2551] Fix | Delete
);
[2552] Fix | Delete
[2553] Fix | Delete
$wp_customize->add_setting(
[2554] Fix | Delete
'et_divi[slide_nav_font_style]',
[2555] Fix | Delete
array(
[2556] Fix | Delete
'default' => '',
[2557] Fix | Delete
'type' => 'option',
[2558] Fix | Delete
'capability' => 'edit_theme_options',
[2559] Fix | Delete
'transport' => 'postMessage',
[2560] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_style',
[2561] Fix | Delete
)
[2562] Fix | Delete
);
[2563] Fix | Delete
[2564] Fix | Delete
$wp_customize->add_control(
[2565] Fix | Delete
new ET_Divi_Font_Style_Option(
[2566] Fix | Delete
$wp_customize,
[2567] Fix | Delete
'et_divi[slide_nav_font_style]',
[2568] Fix | Delete
array(
[2569] Fix | Delete
'label' => esc_html__( 'Font Style', 'Divi' ),
[2570] Fix | Delete
'section' => 'et_divi_header_slide',
[2571] Fix | Delete
'type' => 'font_style',
[2572] Fix | Delete
'choices' => et_divi_font_style_choices(),
[2573] Fix | Delete
)
[2574] Fix | Delete
)
[2575] Fix | Delete
);
[2576] Fix | Delete
[2577] Fix | Delete
$wp_customize->add_setting(
[2578] Fix | Delete
'et_divi[slide_nav_bg]',
[2579] Fix | Delete
array(
[2580] Fix | Delete
'default' => et_get_option( 'accent_color', '#2ea3f2' ),
[2581] Fix | Delete
'type' => 'option',
[2582] Fix | Delete
'capability' => 'edit_theme_options',
[2583] Fix | Delete
'transport' => 'postMessage',
[2584] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2585] Fix | Delete
)
[2586] Fix | Delete
);
[2587] Fix | Delete
[2588] Fix | Delete
$wp_customize->add_control(
[2589] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[2590] Fix | Delete
$wp_customize,
[2591] Fix | Delete
'et_divi[slide_nav_bg]',
[2592] Fix | Delete
array(
[2593] Fix | Delete
'label' => esc_html__( 'Background Color', 'Divi' ),
[2594] Fix | Delete
'section' => 'et_divi_header_slide',
[2595] Fix | Delete
'settings' => 'et_divi[slide_nav_bg]',
[2596] Fix | Delete
)
[2597] Fix | Delete
)
[2598] Fix | Delete
);
[2599] Fix | Delete
[2600] Fix | Delete
$wp_customize->add_setting(
[2601] Fix | Delete
'et_divi[slide_nav_links_color]',
[2602] Fix | Delete
array(
[2603] Fix | Delete
'default' => '#ffffff',
[2604] Fix | Delete
'type' => 'option',
[2605] Fix | Delete
'capability' => 'edit_theme_options',
[2606] Fix | Delete
'transport' => 'postMessage',
[2607] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2608] Fix | Delete
)
[2609] Fix | Delete
);
[2610] Fix | Delete
[2611] Fix | Delete
$wp_customize->add_control(
[2612] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[2613] Fix | Delete
$wp_customize,
[2614] Fix | Delete
'et_divi[slide_nav_links_color]',
[2615] Fix | Delete
array(
[2616] Fix | Delete
'label' => esc_html__( 'Menu Link Color', 'Divi' ),
[2617] Fix | Delete
'section' => 'et_divi_header_slide',
[2618] Fix | Delete
'settings' => 'et_divi[slide_nav_links_color]',
[2619] Fix | Delete
)
[2620] Fix | Delete
)
[2621] Fix | Delete
);
[2622] Fix | Delete
[2623] Fix | Delete
$wp_customize->add_setting(
[2624] Fix | Delete
'et_divi[slide_nav_links_color_active]',
[2625] Fix | Delete
array(
[2626] Fix | Delete
'default' => '#ffffff',
[2627] Fix | Delete
'type' => 'option',
[2628] Fix | Delete
'capability' => 'edit_theme_options',
[2629] Fix | Delete
'transport' => 'postMessage',
[2630] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2631] Fix | Delete
)
[2632] Fix | Delete
);
[2633] Fix | Delete
[2634] Fix | Delete
$wp_customize->add_control(
[2635] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[2636] Fix | Delete
$wp_customize,
[2637] Fix | Delete
'et_divi[slide_nav_links_color_active]',
[2638] Fix | Delete
array(
[2639] Fix | Delete
'label' => esc_html__( 'Active Link Color', 'Divi' ),
[2640] Fix | Delete
'section' => 'et_divi_header_slide',
[2641] Fix | Delete
'settings' => 'et_divi[slide_nav_links_color_active]',
[2642] Fix | Delete
)
[2643] Fix | Delete
)
[2644] Fix | Delete
);
[2645] Fix | Delete
[2646] Fix | Delete
$wp_customize->add_setting(
[2647] Fix | Delete
'et_divi[slide_nav_top_color]',
[2648] Fix | Delete
array(
[2649] Fix | Delete
'default' => 'rgba(255,255,255,0.6)',
[2650] Fix | Delete
'type' => 'option',
[2651] Fix | Delete
'capability' => 'edit_theme_options',
[2652] Fix | Delete
'transport' => 'postMessage',
[2653] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2654] Fix | Delete
)
[2655] Fix | Delete
);
[2656] Fix | Delete
[2657] Fix | Delete
$wp_customize->add_control(
[2658] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[2659] Fix | Delete
$wp_customize,
[2660] Fix | Delete
'et_divi[slide_nav_top_color]',
[2661] Fix | Delete
array(
[2662] Fix | Delete
'label' => esc_html__( 'Top Bar Text Color', 'Divi' ),
[2663] Fix | Delete
'section' => 'et_divi_header_slide',
[2664] Fix | Delete
'settings' => 'et_divi[slide_nav_top_color]',
[2665] Fix | Delete
)
[2666] Fix | Delete
)
[2667] Fix | Delete
);
[2668] Fix | Delete
[2669] Fix | Delete
$wp_customize->add_setting(
[2670] Fix | Delete
'et_divi[slide_nav_search]',
[2671] Fix | Delete
array(
[2672] Fix | Delete
'default' => 'rgba(255,255,255,0.6)',
[2673] Fix | Delete
'type' => 'option',
[2674] Fix | Delete
'capability' => 'edit_theme_options',
[2675] Fix | Delete
'transport' => 'postMessage',
[2676] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2677] Fix | Delete
)
[2678] Fix | Delete
);
[2679] Fix | Delete
[2680] Fix | Delete
$wp_customize->add_control(
[2681] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[2682] Fix | Delete
$wp_customize,
[2683] Fix | Delete
'et_divi[slide_nav_search]',
[2684] Fix | Delete
array(
[2685] Fix | Delete
'label' => esc_html__( 'Search Bar Text Color', 'Divi' ),
[2686] Fix | Delete
'section' => 'et_divi_header_slide',
[2687] Fix | Delete
'settings' => 'et_divi[slide_nav_search]',
[2688] Fix | Delete
)
[2689] Fix | Delete
)
[2690] Fix | Delete
);
[2691] Fix | Delete
[2692] Fix | Delete
$wp_customize->add_setting(
[2693] Fix | Delete
'et_divi[slide_nav_search_bg]',
[2694] Fix | Delete
array(
[2695] Fix | Delete
'default' => 'rgba(0,0,0,0.2)',
[2696] Fix | Delete
'type' => 'option',
[2697] Fix | Delete
'capability' => 'edit_theme_options',
[2698] Fix | Delete
'transport' => 'postMessage',
[2699] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2700] Fix | Delete
)
[2701] Fix | Delete
);
[2702] Fix | Delete
[2703] Fix | Delete
$wp_customize->add_control(
[2704] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[2705] Fix | Delete
$wp_customize,
[2706] Fix | Delete
'et_divi[slide_nav_search_bg]',
[2707] Fix | Delete
array(
[2708] Fix | Delete
'label' => esc_html__( 'Search Bar Background Color', 'Divi' ),
[2709] Fix | Delete
'section' => 'et_divi_header_slide',
[2710] Fix | Delete
'settings' => 'et_divi[slide_nav_search_bg]',
[2711] Fix | Delete
)
[2712] Fix | Delete
)
[2713] Fix | Delete
);
[2714] Fix | Delete
[2715] Fix | Delete
$wp_customize->add_setting(
[2716] Fix | Delete
'et_divi[nav_fullwidth]',
[2717] Fix | Delete
array(
[2718] Fix | Delete
'type' => 'option',
[2719] Fix | Delete
'capability' => 'edit_theme_options',
[2720] Fix | Delete
'transport' => 'postMessage',
[2721] Fix | Delete
'sanitize_callback' => 'wp_validate_boolean',
[2722] Fix | Delete
)
[2723] Fix | Delete
);
[2724] Fix | Delete
[2725] Fix | Delete
$wp_customize->add_control(
[2726] Fix | Delete
'et_divi[nav_fullwidth]',
[2727] Fix | Delete
array(
[2728] Fix | Delete
'label' => esc_html__( 'Make Full Width', 'Divi' ),
[2729] Fix | Delete
'section' => 'et_divi_header_primary',
[2730] Fix | Delete
'type' => 'checkbox',
[2731] Fix | Delete
)
[2732] Fix | Delete
);
[2733] Fix | Delete
[2734] Fix | Delete
$wp_customize->add_setting(
[2735] Fix | Delete
'et_divi[hide_primary_logo]',
[2736] Fix | Delete
array(
[2737] Fix | Delete
'type' => 'option',
[2738] Fix | Delete
'capability' => 'edit_theme_options',
[2739] Fix | Delete
'transport' => 'postMessage',
[2740] Fix | Delete
'sanitize_callback' => 'wp_validate_boolean',
[2741] Fix | Delete
)
[2742] Fix | Delete
);
[2743] Fix | Delete
[2744] Fix | Delete
$wp_customize->add_control(
[2745] Fix | Delete
'et_divi[hide_primary_logo]',
[2746] Fix | Delete
array(
[2747] Fix | Delete
'label' => esc_html__( 'Hide Logo Image', 'Divi' ),
[2748] Fix | Delete
'section' => 'et_divi_header_primary',
[2749] Fix | Delete
'type' => 'checkbox',
[2750] Fix | Delete
)
[2751] Fix | Delete
);
[2752] Fix | Delete
[2753] Fix | Delete
$wp_customize->add_setting(
[2754] Fix | Delete
'et_divi[menu_height]',
[2755] Fix | Delete
array(
[2756] Fix | Delete
'default' => '66',
[2757] Fix | Delete
'type' => 'option',
[2758] Fix | Delete
'capability' => 'edit_theme_options',
[2759] Fix | Delete
'transport' => 'postMessage',
[2760] Fix | Delete
'sanitize_callback' => 'absint',
[2761] Fix | Delete
)
[2762] Fix | Delete
);
[2763] Fix | Delete
[2764] Fix | Delete
$wp_customize->add_control(
[2765] Fix | Delete
new ET_Divi_Range_Option(
[2766] Fix | Delete
$wp_customize,
[2767] Fix | Delete
'et_divi[menu_height]',
[2768] Fix | Delete
array(
[2769] Fix | Delete
'label' => esc_html__( 'Menu Height', 'Divi' ),
[2770] Fix | Delete
'section' => 'et_divi_header_primary',
[2771] Fix | Delete
'type' => 'range',
[2772] Fix | Delete
'input_attrs' => array(
[2773] Fix | Delete
'min' => 30,
[2774] Fix | Delete
'max' => 300,
[2775] Fix | Delete
'step' => 1,
[2776] Fix | Delete
),
[2777] Fix | Delete
)
[2778] Fix | Delete
)
[2779] Fix | Delete
);
[2780] Fix | Delete
[2781] Fix | Delete
$wp_customize->add_setting(
[2782] Fix | Delete
'et_divi[logo_height]',
[2783] Fix | Delete
array(
[2784] Fix | Delete
'default' => '54',
[2785] Fix | Delete
'type' => 'option',
[2786] Fix | Delete
'capability' => 'edit_theme_options',
[2787] Fix | Delete
'transport' => 'postMessage',
[2788] Fix | Delete
'sanitize_callback' => 'absint',
[2789] Fix | Delete
)
[2790] Fix | Delete
);
[2791] Fix | Delete
[2792] Fix | Delete
$wp_customize->add_control(
[2793] Fix | Delete
new ET_Divi_Range_Option(
[2794] Fix | Delete
$wp_customize,
[2795] Fix | Delete
'et_divi[logo_height]',
[2796] Fix | Delete
array(
[2797] Fix | Delete
'label' => esc_html__( 'Logo Max Height', 'Divi' ),
[2798] Fix | Delete
'section' => 'et_divi_header_primary',
[2799] Fix | Delete
'type' => 'range',
[2800] Fix | Delete
'input_attrs' => array(
[2801] Fix | Delete
'min' => 30,
[2802] Fix | Delete
'max' => 100,
[2803] Fix | Delete
'step' => 1,
[2804] Fix | Delete
),
[2805] Fix | Delete
)
[2806] Fix | Delete
)
[2807] Fix | Delete
);
[2808] Fix | Delete
[2809] Fix | Delete
$wp_customize->add_setting(
[2810] Fix | Delete
'et_divi[menu_margin_top]',
[2811] Fix | Delete
array(
[2812] Fix | Delete
'default' => '0',
[2813] Fix | Delete
'type' => 'option',
[2814] Fix | Delete
'capability' => 'edit_theme_options',
[2815] Fix | Delete
'transport' => 'postMessage',
[2816] Fix | Delete
'sanitize_callback' => 'absint',
[2817] Fix | Delete
)
[2818] Fix | Delete
);
[2819] Fix | Delete
[2820] Fix | Delete
$wp_customize->add_control(
[2821] Fix | Delete
new ET_Divi_Range_Option(
[2822] Fix | Delete
$wp_customize,
[2823] Fix | Delete
'et_divi[menu_margin_top]',
[2824] Fix | Delete
array(
[2825] Fix | Delete
'label' => esc_html__( 'Menu Top Margin', 'Divi' ),
[2826] Fix | Delete
'section' => 'et_divi_header_primary',
[2827] Fix | Delete
'type' => 'range',
[2828] Fix | Delete
'input_attrs' => array(
[2829] Fix | Delete
'min' => 0,
[2830] Fix | Delete
'max' => 300,
[2831] Fix | Delete
'step' => 1,
[2832] Fix | Delete
),
[2833] Fix | Delete
)
[2834] Fix | Delete
)
[2835] Fix | Delete
);
[2836] Fix | Delete
[2837] Fix | Delete
$wp_customize->add_setting(
[2838] Fix | Delete
'et_divi[primary_nav_font_size]',
[2839] Fix | Delete
array(
[2840] Fix | Delete
'default' => '14',
[2841] Fix | Delete
'type' => 'option',
[2842] Fix | Delete
'capability' => 'edit_theme_options',
[2843] Fix | Delete
'transport' => 'postMessage',
[2844] Fix | Delete
'sanitize_callback' => 'absint',
[2845] Fix | Delete
)
[2846] Fix | Delete
);
[2847] Fix | Delete
[2848] Fix | Delete
$wp_customize->add_control(
[2849] Fix | Delete
new ET_Divi_Range_Option(
[2850] Fix | Delete
$wp_customize,
[2851] Fix | Delete
'et_divi[primary_nav_font_size]',
[2852] Fix | Delete
array(
[2853] Fix | Delete
'label' => esc_html__( 'Text Size', 'Divi' ),
[2854] Fix | Delete
'section' => 'et_divi_header_primary',
[2855] Fix | Delete
'type' => 'range',
[2856] Fix | Delete
'input_attrs' => array(
[2857] Fix | Delete
'min' => 12,
[2858] Fix | Delete
'max' => 24,
[2859] Fix | Delete
'step' => 1,
[2860] Fix | Delete
),
[2861] Fix | Delete
)
[2862] Fix | Delete
)
[2863] Fix | Delete
);
[2864] Fix | Delete
[2865] Fix | Delete
$wp_customize->add_setting(
[2866] Fix | Delete
'et_divi[primary_nav_font_spacing]',
[2867] Fix | Delete
array(
[2868] Fix | Delete
'default' => '0',
[2869] Fix | Delete
'type' => 'option',
[2870] Fix | Delete
'capability' => 'edit_theme_options',
[2871] Fix | Delete
'transport' => 'postMessage',
[2872] Fix | Delete
'sanitize_callback' => 'et_sanitize_int_number',
[2873] Fix | Delete
)
[2874] Fix | Delete
);
[2875] Fix | Delete
[2876] Fix | Delete
$wp_customize->add_control(
[2877] Fix | Delete
new ET_Divi_Range_Option(
[2878] Fix | Delete
$wp_customize,
[2879] Fix | Delete
'et_divi[primary_nav_font_spacing]',
[2880] Fix | Delete
array(
[2881] Fix | Delete
'label' => esc_html__( 'Letter Spacing', 'Divi' ),
[2882] Fix | Delete
'section' => 'et_divi_header_primary',
[2883] Fix | Delete
'type' => 'range',
[2884] Fix | Delete
'input_attrs' => array(
[2885] Fix | Delete
'min' => -1,
[2886] Fix | Delete
'max' => 8,
[2887] Fix | Delete
'step' => 1,
[2888] Fix | Delete
),
[2889] Fix | Delete
)
[2890] Fix | Delete
)
[2891] Fix | Delete
);
[2892] Fix | Delete
[2893] Fix | Delete
$wp_customize->add_setting(
[2894] Fix | Delete
'et_divi[primary_nav_font]',
[2895] Fix | Delete
array(
[2896] Fix | Delete
'default' => 'none',
[2897] Fix | Delete
'type' => 'option',
[2898] Fix | Delete
'capability' => 'edit_theme_options',
[2899] Fix | Delete
'transport' => 'postMessage',
[2900] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_choices',
[2901] Fix | Delete
)
[2902] Fix | Delete
);
[2903] Fix | Delete
[2904] Fix | Delete
$wp_customize->add_control(
[2905] Fix | Delete
new ET_Divi_Select_Option(
[2906] Fix | Delete
$wp_customize,
[2907] Fix | Delete
'et_divi[primary_nav_font]',
[2908] Fix | Delete
array(
[2909] Fix | Delete
'label' => esc_html__( 'Font', 'Divi' ),
[2910] Fix | Delete
'section' => 'et_divi_header_primary',
[2911] Fix | Delete
'settings' => 'et_divi[primary_nav_font]',
[2912] Fix | Delete
'type' => 'select',
[2913] Fix | Delete
'choices' => $font_choices,
[2914] Fix | Delete
)
[2915] Fix | Delete
)
[2916] Fix | Delete
);
[2917] Fix | Delete
[2918] Fix | Delete
$wp_customize->add_setting(
[2919] Fix | Delete
'et_divi[primary_nav_font_style]',
[2920] Fix | Delete
array(
[2921] Fix | Delete
'default' => '',
[2922] Fix | Delete
'type' => 'option',
[2923] Fix | Delete
'capability' => 'edit_theme_options',
[2924] Fix | Delete
'transport' => 'postMessage',
[2925] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_style',
[2926] Fix | Delete
)
[2927] Fix | Delete
);
[2928] Fix | Delete
[2929] Fix | Delete
$wp_customize->add_control(
[2930] Fix | Delete
new ET_Divi_Font_Style_Option(
[2931] Fix | Delete
$wp_customize,
[2932] Fix | Delete
'et_divi[primary_nav_font_style]',
[2933] Fix | Delete
array(
[2934] Fix | Delete
'label' => esc_html__( 'Font Style', 'Divi' ),
[2935] Fix | Delete
'section' => 'et_divi_header_primary',
[2936] Fix | Delete
'type' => 'font_style',
[2937] Fix | Delete
'choices' => et_divi_font_style_choices(),
[2938] Fix | Delete
)
[2939] Fix | Delete
)
[2940] Fix | Delete
);
[2941] Fix | Delete
[2942] Fix | Delete
$wp_customize->add_setting(
[2943] Fix | Delete
'et_divi[secondary_nav_font_size]',
[2944] Fix | Delete
array(
[2945] Fix | Delete
'default' => '12',
[2946] Fix | Delete
'type' => 'option',
[2947] Fix | Delete
'capability' => 'edit_theme_options',
[2948] Fix | Delete
'transport' => 'postMessage',
[2949] Fix | Delete
'sanitize_callback' => 'absint',
[2950] Fix | Delete
)
[2951] Fix | Delete
);
[2952] Fix | Delete
[2953] Fix | Delete
$wp_customize->add_setting(
[2954] Fix | Delete
'et_divi[secondary_nav_fullwidth]',
[2955] Fix | Delete
array(
[2956] Fix | Delete
'type' => 'option',
[2957] Fix | Delete
'capability' => 'edit_theme_options',
[2958] Fix | Delete
'transport' => 'postMessage',
[2959] Fix | Delete
'sanitize_callback' => 'wp_validate_boolean',
[2960] Fix | Delete
)
[2961] Fix | Delete
);
[2962] Fix | Delete
[2963] Fix | Delete
$wp_customize->add_control(
[2964] Fix | Delete
'et_divi[secondary_nav_fullwidth]',
[2965] Fix | Delete
array(
[2966] Fix | Delete
'label' => esc_html__( 'Make Full Width', 'Divi' ),
[2967] Fix | Delete
'section' => 'et_divi_header_secondary',
[2968] Fix | Delete
'type' => 'checkbox',
[2969] Fix | Delete
)
[2970] Fix | Delete
);
[2971] Fix | Delete
[2972] Fix | Delete
$wp_customize->add_control(
[2973] Fix | Delete
new ET_Divi_Range_Option(
[2974] Fix | Delete
$wp_customize,
[2975] Fix | Delete
'et_divi[secondary_nav_font_size]',
[2976] Fix | Delete
array(
[2977] Fix | Delete
'label' => esc_html__( 'Text Size', 'Divi' ),
[2978] Fix | Delete
'section' => 'et_divi_header_secondary',
[2979] Fix | Delete
'type' => 'range',
[2980] Fix | Delete
'input_attrs' => array(
[2981] Fix | Delete
'min' => 12,
[2982] Fix | Delete
'max' => 20,
[2983] Fix | Delete
'step' => 1,
[2984] Fix | Delete
),
[2985] Fix | Delete
)
[2986] Fix | Delete
)
[2987] Fix | Delete
);
[2988] Fix | Delete
[2989] Fix | Delete
$wp_customize->add_setting(
[2990] Fix | Delete
'et_divi[secondary_nav_font_spacing]',
[2991] Fix | Delete
array(
[2992] Fix | Delete
'default' => '0',
[2993] Fix | Delete
'type' => 'option',
[2994] Fix | Delete
'capability' => 'edit_theme_options',
[2995] Fix | Delete
'transport' => 'postMessage',
[2996] Fix | Delete
'sanitize_callback' => 'et_sanitize_int_number',
[2997] Fix | Delete
)
[2998] Fix | Delete
);
[2999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function