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
if ( ! isset( $et_one_font_languages[$site_domain] ) ) {
[2000] Fix | Delete
$wp_customize->add_setting( 'et_divi[slide_nav_font]', array(
[2001] Fix | Delete
'default' => 'none',
[2002] Fix | Delete
'type' => 'option',
[2003] Fix | Delete
'capability' => 'edit_theme_options',
[2004] Fix | Delete
'transport' => 'postMessage',
[2005] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_choices',
[2006] Fix | Delete
) );
[2007] Fix | Delete
[2008] Fix | Delete
$wp_customize->add_control( new ET_Divi_Select_Option ( $wp_customize, 'et_divi[slide_nav_font]', array(
[2009] Fix | Delete
'label' => esc_html__( 'Font', 'Divi' ),
[2010] Fix | Delete
'section' => 'et_divi_header_slide',
[2011] Fix | Delete
'settings' => 'et_divi[slide_nav_font]',
[2012] Fix | Delete
'type' => 'select',
[2013] Fix | Delete
'choices' => $font_choices
[2014] Fix | Delete
) ) );
[2015] Fix | Delete
}
[2016] Fix | Delete
[2017] Fix | Delete
$wp_customize->add_setting( 'et_divi[slide_nav_font_style]', array(
[2018] Fix | Delete
'default' => '',
[2019] Fix | Delete
'type' => 'option',
[2020] Fix | Delete
'capability' => 'edit_theme_options',
[2021] Fix | Delete
'transport' => 'postMessage',
[2022] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_style',
[2023] Fix | Delete
) );
[2024] Fix | Delete
[2025] Fix | Delete
$wp_customize->add_control( new ET_Divi_Font_Style_Option ( $wp_customize, 'et_divi[slide_nav_font_style]', array(
[2026] Fix | Delete
'label' => esc_html__( 'Font Style', 'Divi' ),
[2027] Fix | Delete
'section' => 'et_divi_header_slide',
[2028] Fix | Delete
'type' => 'font_style',
[2029] Fix | Delete
'choices' => et_divi_font_style_choices(),
[2030] Fix | Delete
) ) );
[2031] Fix | Delete
[2032] Fix | Delete
$wp_customize->add_setting( 'et_divi[slide_nav_bg]', array(
[2033] Fix | Delete
'default' => et_get_option( 'accent_color', '#2ea3f2' ),
[2034] Fix | Delete
'type' => 'option',
[2035] Fix | Delete
'capability' => 'edit_theme_options',
[2036] Fix | Delete
'transport' => 'postMessage',
[2037] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2038] Fix | Delete
) );
[2039] Fix | Delete
[2040] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[slide_nav_bg]', array(
[2041] Fix | Delete
'label' => esc_html__( 'Background Color', 'Divi' ),
[2042] Fix | Delete
'section' => 'et_divi_header_slide',
[2043] Fix | Delete
'settings' => 'et_divi[slide_nav_bg]',
[2044] Fix | Delete
) ) );
[2045] Fix | Delete
[2046] Fix | Delete
$wp_customize->add_setting( 'et_divi[slide_nav_links_color]', array(
[2047] Fix | Delete
'default' => '#ffffff',
[2048] Fix | Delete
'type' => 'option',
[2049] Fix | Delete
'capability' => 'edit_theme_options',
[2050] Fix | Delete
'transport' => 'postMessage',
[2051] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2052] Fix | Delete
) );
[2053] Fix | Delete
[2054] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[slide_nav_links_color]', array(
[2055] Fix | Delete
'label' => esc_html__( 'Menu Link Color', 'Divi' ),
[2056] Fix | Delete
'section' => 'et_divi_header_slide',
[2057] Fix | Delete
'settings' => 'et_divi[slide_nav_links_color]',
[2058] Fix | Delete
) ) );
[2059] Fix | Delete
[2060] Fix | Delete
$wp_customize->add_setting( 'et_divi[slide_nav_links_color_active]', array(
[2061] Fix | Delete
'default' => '#ffffff',
[2062] Fix | Delete
'type' => 'option',
[2063] Fix | Delete
'capability' => 'edit_theme_options',
[2064] Fix | Delete
'transport' => 'postMessage',
[2065] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2066] Fix | Delete
) );
[2067] Fix | Delete
[2068] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[slide_nav_links_color_active]', array(
[2069] Fix | Delete
'label' => esc_html__( 'Active Link Color', 'Divi' ),
[2070] Fix | Delete
'section' => 'et_divi_header_slide',
[2071] Fix | Delete
'settings' => 'et_divi[slide_nav_links_color_active]',
[2072] Fix | Delete
) ) );
[2073] Fix | Delete
[2074] Fix | Delete
$wp_customize->add_setting( 'et_divi[slide_nav_top_color]', array(
[2075] Fix | Delete
'default' => 'rgba(255,255,255,0.6)',
[2076] Fix | Delete
'type' => 'option',
[2077] Fix | Delete
'capability' => 'edit_theme_options',
[2078] Fix | Delete
'transport' => 'postMessage',
[2079] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2080] Fix | Delete
) );
[2081] Fix | Delete
[2082] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[slide_nav_top_color]', array(
[2083] Fix | Delete
'label' => esc_html__( 'Top Bar Text Color', 'Divi' ),
[2084] Fix | Delete
'section' => 'et_divi_header_slide',
[2085] Fix | Delete
'settings' => 'et_divi[slide_nav_top_color]',
[2086] Fix | Delete
) ) );
[2087] Fix | Delete
[2088] Fix | Delete
$wp_customize->add_setting( 'et_divi[slide_nav_search]', array(
[2089] Fix | Delete
'default' => 'rgba(255,255,255,0.6)',
[2090] Fix | Delete
'type' => 'option',
[2091] Fix | Delete
'capability' => 'edit_theme_options',
[2092] Fix | Delete
'transport' => 'postMessage',
[2093] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2094] Fix | Delete
) );
[2095] Fix | Delete
[2096] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[slide_nav_search]', array(
[2097] Fix | Delete
'label' => esc_html__( 'Search Bar Text Color', 'Divi' ),
[2098] Fix | Delete
'section' => 'et_divi_header_slide',
[2099] Fix | Delete
'settings' => 'et_divi[slide_nav_search]',
[2100] Fix | Delete
) ) );
[2101] Fix | Delete
[2102] Fix | Delete
$wp_customize->add_setting( 'et_divi[slide_nav_search_bg]', array(
[2103] Fix | Delete
'default' => 'rgba(0,0,0,0.2)',
[2104] Fix | Delete
'type' => 'option',
[2105] Fix | Delete
'capability' => 'edit_theme_options',
[2106] Fix | Delete
'transport' => 'postMessage',
[2107] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2108] Fix | Delete
) );
[2109] Fix | Delete
[2110] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[slide_nav_search_bg]', array(
[2111] Fix | Delete
'label' => esc_html__( 'Search Bar Background Color', 'Divi' ),
[2112] Fix | Delete
'section' => 'et_divi_header_slide',
[2113] Fix | Delete
'settings' => 'et_divi[slide_nav_search_bg]',
[2114] Fix | Delete
) ) );
[2115] Fix | Delete
[2116] Fix | Delete
$wp_customize->add_setting( 'et_divi[nav_fullwidth]', array(
[2117] Fix | Delete
'type' => 'option',
[2118] Fix | Delete
'capability' => 'edit_theme_options',
[2119] Fix | Delete
'transport' => 'postMessage',
[2120] Fix | Delete
'sanitize_callback' => 'wp_validate_boolean',
[2121] Fix | Delete
) );
[2122] Fix | Delete
[2123] Fix | Delete
$wp_customize->add_control( 'et_divi[nav_fullwidth]', array(
[2124] Fix | Delete
'label' => esc_html__( 'Make Full Width', 'Divi' ),
[2125] Fix | Delete
'section' => 'et_divi_header_primary',
[2126] Fix | Delete
'type' => 'checkbox',
[2127] Fix | Delete
) );
[2128] Fix | Delete
[2129] Fix | Delete
$wp_customize->add_setting( 'et_divi[hide_primary_logo]', array(
[2130] Fix | Delete
'type' => 'option',
[2131] Fix | Delete
'capability' => 'edit_theme_options',
[2132] Fix | Delete
'transport' => 'postMessage',
[2133] Fix | Delete
'sanitize_callback' => 'wp_validate_boolean',
[2134] Fix | Delete
) );
[2135] Fix | Delete
[2136] Fix | Delete
$wp_customize->add_control( 'et_divi[hide_primary_logo]', array(
[2137] Fix | Delete
'label' => esc_html__( 'Hide Logo Image', 'Divi' ),
[2138] Fix | Delete
'section' => 'et_divi_header_primary',
[2139] Fix | Delete
'type' => 'checkbox',
[2140] Fix | Delete
) );
[2141] Fix | Delete
[2142] Fix | Delete
$wp_customize->add_setting( 'et_divi[menu_height]', array(
[2143] Fix | Delete
'default' => '66',
[2144] Fix | Delete
'type' => 'option',
[2145] Fix | Delete
'capability' => 'edit_theme_options',
[2146] Fix | Delete
'transport' => 'postMessage',
[2147] Fix | Delete
'sanitize_callback' => 'absint',
[2148] Fix | Delete
) );
[2149] Fix | Delete
[2150] Fix | Delete
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'et_divi[menu_height]', array(
[2151] Fix | Delete
'label' => esc_html__( 'Menu Height', 'Divi' ),
[2152] Fix | Delete
'section' => 'et_divi_header_primary',
[2153] Fix | Delete
'type' => 'range',
[2154] Fix | Delete
'input_attrs' => array(
[2155] Fix | Delete
'min' => 30,
[2156] Fix | Delete
'max' => 300,
[2157] Fix | Delete
'step' => 1
[2158] Fix | Delete
),
[2159] Fix | Delete
) ) );
[2160] Fix | Delete
[2161] Fix | Delete
$wp_customize->add_setting( 'et_divi[logo_height]', array(
[2162] Fix | Delete
'default' => '54',
[2163] Fix | Delete
'type' => 'option',
[2164] Fix | Delete
'capability' => 'edit_theme_options',
[2165] Fix | Delete
'transport' => 'postMessage',
[2166] Fix | Delete
'sanitize_callback' => 'absint',
[2167] Fix | Delete
) );
[2168] Fix | Delete
[2169] Fix | Delete
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'et_divi[logo_height]', array(
[2170] Fix | Delete
'label' => esc_html__( 'Logo Max Height', 'Divi' ),
[2171] Fix | Delete
'section' => 'et_divi_header_primary',
[2172] Fix | Delete
'type' => 'range',
[2173] Fix | Delete
'input_attrs' => array(
[2174] Fix | Delete
'min' => 30,
[2175] Fix | Delete
'max' => 100,
[2176] Fix | Delete
'step' => 1,
[2177] Fix | Delete
),
[2178] Fix | Delete
) ) );
[2179] Fix | Delete
[2180] Fix | Delete
$wp_customize->add_setting( 'et_divi[menu_margin_top]', array(
[2181] Fix | Delete
'default' => '0',
[2182] Fix | Delete
'type' => 'option',
[2183] Fix | Delete
'capability' => 'edit_theme_options',
[2184] Fix | Delete
'transport' => 'postMessage',
[2185] Fix | Delete
'sanitize_callback' => 'absint',
[2186] Fix | Delete
) );
[2187] Fix | Delete
[2188] Fix | Delete
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'et_divi[menu_margin_top]', array(
[2189] Fix | Delete
'label' => esc_html__( 'Menu Top Margin', 'Divi' ),
[2190] Fix | Delete
'section' => 'et_divi_header_primary',
[2191] Fix | Delete
'type' => 'range',
[2192] Fix | Delete
'input_attrs' => array(
[2193] Fix | Delete
'min' => 0,
[2194] Fix | Delete
'max' => 300,
[2195] Fix | Delete
'step' => 1
[2196] Fix | Delete
),
[2197] Fix | Delete
) ) );
[2198] Fix | Delete
[2199] Fix | Delete
$wp_customize->add_setting( 'et_divi[primary_nav_font_size]', array(
[2200] Fix | Delete
'default' => '14',
[2201] Fix | Delete
'type' => 'option',
[2202] Fix | Delete
'capability' => 'edit_theme_options',
[2203] Fix | Delete
'transport' => 'postMessage',
[2204] Fix | Delete
'sanitize_callback' => 'absint',
[2205] Fix | Delete
) );
[2206] Fix | Delete
[2207] Fix | Delete
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'et_divi[primary_nav_font_size]', array(
[2208] Fix | Delete
'label' => esc_html__( 'Text Size', 'Divi' ),
[2209] Fix | Delete
'section' => 'et_divi_header_primary',
[2210] Fix | Delete
'type' => 'range',
[2211] Fix | Delete
'input_attrs' => array(
[2212] Fix | Delete
'min' => 12,
[2213] Fix | Delete
'max' => 24,
[2214] Fix | Delete
'step' => 1
[2215] Fix | Delete
),
[2216] Fix | Delete
) ) );
[2217] Fix | Delete
[2218] Fix | Delete
$wp_customize->add_setting( 'et_divi[primary_nav_font_spacing]', array(
[2219] Fix | Delete
'default' => '0',
[2220] Fix | Delete
'type' => 'option',
[2221] Fix | Delete
'capability' => 'edit_theme_options',
[2222] Fix | Delete
'transport' => 'postMessage',
[2223] Fix | Delete
'sanitize_callback' => 'et_sanitize_int_number',
[2224] Fix | Delete
) );
[2225] Fix | Delete
[2226] Fix | Delete
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'et_divi[primary_nav_font_spacing]', array(
[2227] Fix | Delete
'label' => esc_html__( 'Letter Spacing', 'Divi' ),
[2228] Fix | Delete
'section' => 'et_divi_header_primary',
[2229] Fix | Delete
'type' => 'range',
[2230] Fix | Delete
'input_attrs' => array(
[2231] Fix | Delete
'min' => -1,
[2232] Fix | Delete
'max' => 8,
[2233] Fix | Delete
'step' => 1
[2234] Fix | Delete
),
[2235] Fix | Delete
) ) );
[2236] Fix | Delete
[2237] Fix | Delete
if ( ! isset( $et_one_font_languages[$site_domain] ) ) {
[2238] Fix | Delete
$wp_customize->add_setting( 'et_divi[primary_nav_font]', array(
[2239] Fix | Delete
'default' => 'none',
[2240] Fix | Delete
'type' => 'option',
[2241] Fix | Delete
'capability' => 'edit_theme_options',
[2242] Fix | Delete
'transport' => 'postMessage',
[2243] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_choices',
[2244] Fix | Delete
) );
[2245] Fix | Delete
[2246] Fix | Delete
$wp_customize->add_control( new ET_Divi_Select_Option ( $wp_customize, 'et_divi[primary_nav_font]', array(
[2247] Fix | Delete
'label' => esc_html__( 'Font', 'Divi' ),
[2248] Fix | Delete
'section' => 'et_divi_header_primary',
[2249] Fix | Delete
'settings' => 'et_divi[primary_nav_font]',
[2250] Fix | Delete
'type' => 'select',
[2251] Fix | Delete
'choices' => $font_choices
[2252] Fix | Delete
) ) );
[2253] Fix | Delete
}
[2254] Fix | Delete
[2255] Fix | Delete
$wp_customize->add_setting( 'et_divi[primary_nav_font_style]', array(
[2256] Fix | Delete
'default' => '',
[2257] Fix | Delete
'type' => 'option',
[2258] Fix | Delete
'capability' => 'edit_theme_options',
[2259] Fix | Delete
'transport' => 'postMessage',
[2260] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_style',
[2261] Fix | Delete
) );
[2262] Fix | Delete
[2263] Fix | Delete
$wp_customize->add_control( new ET_Divi_Font_Style_Option ( $wp_customize, 'et_divi[primary_nav_font_style]', array(
[2264] Fix | Delete
'label' => esc_html__( 'Font Style', 'Divi' ),
[2265] Fix | Delete
'section' => 'et_divi_header_primary',
[2266] Fix | Delete
'type' => 'font_style',
[2267] Fix | Delete
'choices' => et_divi_font_style_choices(),
[2268] Fix | Delete
) ) );
[2269] Fix | Delete
[2270] Fix | Delete
$wp_customize->add_setting( 'et_divi[secondary_nav_font_size]', array(
[2271] Fix | Delete
'default' => '12',
[2272] Fix | Delete
'type' => 'option',
[2273] Fix | Delete
'capability' => 'edit_theme_options',
[2274] Fix | Delete
'transport' => 'postMessage',
[2275] Fix | Delete
'sanitize_callback' => 'absint',
[2276] Fix | Delete
) );
[2277] Fix | Delete
[2278] Fix | Delete
$wp_customize->add_setting( 'et_divi[secondary_nav_fullwidth]', array(
[2279] Fix | Delete
'type' => 'option',
[2280] Fix | Delete
'capability' => 'edit_theme_options',
[2281] Fix | Delete
'transport' => 'postMessage',
[2282] Fix | Delete
'sanitize_callback' => 'wp_validate_boolean',
[2283] Fix | Delete
) );
[2284] Fix | Delete
[2285] Fix | Delete
$wp_customize->add_control( 'et_divi[secondary_nav_fullwidth]', array(
[2286] Fix | Delete
'label' => esc_html__( 'Make Full Width', 'Divi' ),
[2287] Fix | Delete
'section' => 'et_divi_header_secondary',
[2288] Fix | Delete
'type' => 'checkbox',
[2289] Fix | Delete
) );
[2290] Fix | Delete
[2291] Fix | Delete
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'et_divi[secondary_nav_font_size]', array(
[2292] Fix | Delete
'label' => esc_html__( 'Text Size', 'Divi' ),
[2293] Fix | Delete
'section' => 'et_divi_header_secondary',
[2294] Fix | Delete
'type' => 'range',
[2295] Fix | Delete
'input_attrs' => array(
[2296] Fix | Delete
'min' => 12,
[2297] Fix | Delete
'max' => 20,
[2298] Fix | Delete
'step' => 1
[2299] Fix | Delete
),
[2300] Fix | Delete
) ) );
[2301] Fix | Delete
[2302] Fix | Delete
$wp_customize->add_setting( 'et_divi[secondary_nav_font_spacing]', array(
[2303] Fix | Delete
'default' => '0',
[2304] Fix | Delete
'type' => 'option',
[2305] Fix | Delete
'capability' => 'edit_theme_options',
[2306] Fix | Delete
'transport' => 'postMessage',
[2307] Fix | Delete
'sanitize_callback' => 'et_sanitize_int_number',
[2308] Fix | Delete
) );
[2309] Fix | Delete
[2310] Fix | Delete
$wp_customize->add_control( new ET_Divi_Range_Option ( $wp_customize, 'et_divi[secondary_nav_font_spacing]', array(
[2311] Fix | Delete
'label' => esc_html__( 'Letter Spacing', 'Divi' ),
[2312] Fix | Delete
'section' => 'et_divi_header_secondary',
[2313] Fix | Delete
'type' => 'range',
[2314] Fix | Delete
'input_attrs' => array(
[2315] Fix | Delete
'min' => -1,
[2316] Fix | Delete
'max' => 8,
[2317] Fix | Delete
'step' => 1
[2318] Fix | Delete
),
[2319] Fix | Delete
) ) );
[2320] Fix | Delete
[2321] Fix | Delete
if ( ! isset( $et_one_font_languages[$site_domain] ) ) {
[2322] Fix | Delete
$wp_customize->add_setting( 'et_divi[secondary_nav_font]', array(
[2323] Fix | Delete
'default' => 'none',
[2324] Fix | Delete
'type' => 'option',
[2325] Fix | Delete
'capability' => 'edit_theme_options',
[2326] Fix | Delete
'transport' => 'postMessage',
[2327] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_choices',
[2328] Fix | Delete
) );
[2329] Fix | Delete
[2330] Fix | Delete
$wp_customize->add_control( new ET_Divi_Select_Option ( $wp_customize, 'et_divi[secondary_nav_font]', array(
[2331] Fix | Delete
'label' => esc_html__( 'Font', 'Divi' ),
[2332] Fix | Delete
'section' => 'et_divi_header_secondary',
[2333] Fix | Delete
'settings' => 'et_divi[secondary_nav_font]',
[2334] Fix | Delete
'type' => 'select',
[2335] Fix | Delete
'choices' => $font_choices
[2336] Fix | Delete
) ) );
[2337] Fix | Delete
}
[2338] Fix | Delete
[2339] Fix | Delete
$wp_customize->add_setting( 'et_divi[secondary_nav_font_style]', array(
[2340] Fix | Delete
'default' => '',
[2341] Fix | Delete
'type' => 'option',
[2342] Fix | Delete
'capability' => 'edit_theme_options',
[2343] Fix | Delete
'transport' => 'postMessage',
[2344] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_style',
[2345] Fix | Delete
) );
[2346] Fix | Delete
[2347] Fix | Delete
$wp_customize->add_control( new ET_Divi_Font_Style_Option ( $wp_customize, 'et_divi[secondary_nav_font_style]', array(
[2348] Fix | Delete
'label' => esc_html__( 'Font Style', 'Divi' ),
[2349] Fix | Delete
'section' => 'et_divi_header_secondary',
[2350] Fix | Delete
'type' => 'font_style',
[2351] Fix | Delete
'choices' => et_divi_font_style_choices(),
[2352] Fix | Delete
) ) );
[2353] Fix | Delete
[2354] Fix | Delete
$wp_customize->add_setting( 'et_divi[menu_link]', array(
[2355] Fix | Delete
'default' => 'rgba(0,0,0,0.6)',
[2356] Fix | Delete
'type' => 'option',
[2357] Fix | Delete
'capability' => 'edit_theme_options',
[2358] Fix | Delete
'transport' => 'postMessage',
[2359] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2360] Fix | Delete
) );
[2361] Fix | Delete
[2362] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[menu_link]', array(
[2363] Fix | Delete
'label' => esc_html__( 'Text Color', 'Divi' ),
[2364] Fix | Delete
'section' => 'et_divi_header_primary',
[2365] Fix | Delete
'settings' => 'et_divi[menu_link]',
[2366] Fix | Delete
) ) );
[2367] Fix | Delete
[2368] Fix | Delete
$wp_customize->add_setting( 'et_divi[hide_mobile_logo]', array(
[2369] Fix | Delete
'type' => 'option',
[2370] Fix | Delete
'capability' => 'edit_theme_options',
[2371] Fix | Delete
'transport' => 'postMessage',
[2372] Fix | Delete
'sanitize_callback' => 'wp_validate_boolean',
[2373] Fix | Delete
) );
[2374] Fix | Delete
[2375] Fix | Delete
$wp_customize->add_control( 'et_divi[hide_mobile_logo]', array(
[2376] Fix | Delete
'label' => esc_html__( 'Hide Logo Image', 'Divi' ),
[2377] Fix | Delete
'section' => 'et_divi_mobile_menu',
[2378] Fix | Delete
'type' => 'checkbox',
[2379] Fix | Delete
) );
[2380] Fix | Delete
[2381] Fix | Delete
$wp_customize->add_setting( 'et_divi[mobile_menu_link]', array(
[2382] Fix | Delete
'default' => et_get_option( 'menu_link', 'rgba(0,0,0,0.6)' ),
[2383] Fix | Delete
'type' => 'option',
[2384] Fix | Delete
'capability' => 'edit_theme_options',
[2385] Fix | Delete
'transport' => 'postMessage',
[2386] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2387] Fix | Delete
) );
[2388] Fix | Delete
[2389] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[mobile_menu_link]', array(
[2390] Fix | Delete
'label' => esc_html__( 'Text Color', 'Divi' ),
[2391] Fix | Delete
'section' => 'et_divi_mobile_menu',
[2392] Fix | Delete
'settings' => 'et_divi[mobile_menu_link]',
[2393] Fix | Delete
) ) );
[2394] Fix | Delete
[2395] Fix | Delete
$wp_customize->add_setting( 'et_divi[menu_link_active]', array(
[2396] Fix | Delete
'default' => et_get_option( 'accent_color', '#2ea3f2' ),
[2397] Fix | Delete
'type' => 'option',
[2398] Fix | Delete
'capability' => 'edit_theme_options',
[2399] Fix | Delete
'transport' => 'postMessage',
[2400] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2401] Fix | Delete
) );
[2402] Fix | Delete
[2403] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[menu_link_active]', array(
[2404] Fix | Delete
'label' => esc_html__( 'Active Link Color', 'Divi' ),
[2405] Fix | Delete
'section' => 'et_divi_header_primary',
[2406] Fix | Delete
'settings' => 'et_divi[menu_link_active]',
[2407] Fix | Delete
) ) );
[2408] Fix | Delete
[2409] Fix | Delete
$wp_customize->add_setting( 'et_divi[primary_nav_bg]', array(
[2410] Fix | Delete
'default' => '#ffffff',
[2411] Fix | Delete
'type' => 'option',
[2412] Fix | Delete
'capability' => 'edit_theme_options',
[2413] Fix | Delete
'transport' => 'postMessage',
[2414] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2415] Fix | Delete
) );
[2416] Fix | Delete
[2417] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[primary_nav_bg]', array(
[2418] Fix | Delete
'label' => esc_html__( 'Background Color', 'Divi' ),
[2419] Fix | Delete
'section' => 'et_divi_header_primary',
[2420] Fix | Delete
'settings' => 'et_divi[primary_nav_bg]',
[2421] Fix | Delete
) ) );
[2422] Fix | Delete
[2423] Fix | Delete
$wp_customize->add_setting( 'et_divi[primary_nav_dropdown_bg]', array(
[2424] Fix | Delete
'default' => et_get_option( 'primary_nav_bg', '#ffffff' ),
[2425] Fix | Delete
'type' => 'option',
[2426] Fix | Delete
'capability' => 'edit_theme_options',
[2427] Fix | Delete
'transport' => 'postMessage',
[2428] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2429] Fix | Delete
) );
[2430] Fix | Delete
[2431] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[primary_nav_dropdown_bg]', array(
[2432] Fix | Delete
'label' => esc_html__( 'Dropdown Menu Background Color', 'Divi' ),
[2433] Fix | Delete
'section' => 'et_divi_header_primary',
[2434] Fix | Delete
'settings' => 'et_divi[primary_nav_dropdown_bg]',
[2435] Fix | Delete
) ) );
[2436] Fix | Delete
[2437] Fix | Delete
$wp_customize->add_setting( 'et_divi[primary_nav_dropdown_line_color]', array(
[2438] Fix | Delete
'default' => et_get_option( 'accent_color', '#2ea3f2' ),
[2439] Fix | Delete
'type' => 'option',
[2440] Fix | Delete
'capability' => 'edit_theme_options',
[2441] Fix | Delete
'transport' => 'postMessage',
[2442] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2443] Fix | Delete
) );
[2444] Fix | Delete
[2445] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[primary_nav_dropdown_line_color]', array(
[2446] Fix | Delete
'label' => esc_html__( 'Dropdown Menu Line Color', 'Divi' ),
[2447] Fix | Delete
'section' => 'et_divi_header_primary',
[2448] Fix | Delete
'settings' => 'et_divi[primary_nav_dropdown_line_color]',
[2449] Fix | Delete
) ) );
[2450] Fix | Delete
[2451] Fix | Delete
$wp_customize->add_setting( 'et_divi[primary_nav_dropdown_link_color]', array(
[2452] Fix | Delete
'default' => et_get_option( 'menu_link', 'rgba(0,0,0,0.7)' ),
[2453] Fix | Delete
'type' => 'option',
[2454] Fix | Delete
'capability' => 'edit_theme_options',
[2455] Fix | Delete
'transport' => 'postMessage',
[2456] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2457] Fix | Delete
) );
[2458] Fix | Delete
[2459] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[primary_nav_dropdown_link_color]', array(
[2460] Fix | Delete
'label' => esc_html__( 'Dropdown Menu Text Color', 'Divi' ),
[2461] Fix | Delete
'section' => 'et_divi_header_primary',
[2462] Fix | Delete
'settings' => 'et_divi[primary_nav_dropdown_link_color]',
[2463] Fix | Delete
) ) );
[2464] Fix | Delete
[2465] Fix | Delete
$wp_customize->add_setting( 'et_divi[primary_nav_dropdown_animation]', array(
[2466] Fix | Delete
'default' => 'fade',
[2467] Fix | Delete
'type' => 'option',
[2468] Fix | Delete
'capability' => 'edit_theme_options',
[2469] Fix | Delete
'transport' => 'postMessage',
[2470] Fix | Delete
'sanitize_callback' => 'et_sanitize_dropdown_animation',
[2471] Fix | Delete
) );
[2472] Fix | Delete
[2473] Fix | Delete
$wp_customize->add_control( 'et_divi[primary_nav_dropdown_animation]', array(
[2474] Fix | Delete
'label' => esc_html__( 'Dropdown Menu Animation', 'Divi' ),
[2475] Fix | Delete
'section' => 'et_divi_header_primary',
[2476] Fix | Delete
'type' => 'select',
[2477] Fix | Delete
'choices' => et_divi_dropdown_animation_choices(),
[2478] Fix | Delete
) );
[2479] Fix | Delete
[2480] Fix | Delete
$wp_customize->add_setting( 'et_divi[mobile_primary_nav_bg]', array(
[2481] Fix | Delete
'default' => et_get_option( 'primary_nav_bg', '#ffffff' ),
[2482] Fix | Delete
'type' => 'option',
[2483] Fix | Delete
'capability' => 'edit_theme_options',
[2484] Fix | Delete
'transport' => 'postMessage',
[2485] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2486] Fix | Delete
) );
[2487] Fix | Delete
[2488] Fix | Delete
$wp_customize->add_control( new ET_Divi_Customize_Color_Alpha_Control( $wp_customize, 'et_divi[mobile_primary_nav_bg]', array(
[2489] Fix | Delete
'label' => esc_html__( 'Background Color', 'Divi' ),
[2490] Fix | Delete
'section' => 'et_divi_mobile_menu',
[2491] Fix | Delete
'settings' => 'et_divi[mobile_primary_nav_bg]',
[2492] Fix | Delete
) ) );
[2493] Fix | Delete
[2494] Fix | Delete
$wp_customize->add_setting( 'et_divi[secondary_nav_bg]', array(
[2495] Fix | Delete
'default' => et_get_option( 'accent_color', '#2ea3f2' ),
[2496] Fix | Delete
'type' => 'option',
[2497] Fix | Delete
'capability' => 'edit_theme_options',
[2498] Fix | Delete
'transport' => 'postMessage',
[2499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function