Edit File by line
/home/barbar84/www/wp-conte.../themes/Divi
File: functions.php
)
[3500] Fix | Delete
)
[3501] Fix | Delete
);
[3502] Fix | Delete
[3503] Fix | Delete
$wp_customize->add_setting(
[3504] Fix | Delete
'et_divi[fixed_primary_nav_bg]',
[3505] Fix | Delete
array(
[3506] Fix | Delete
'default' => et_get_option( 'primary_nav_bg', '#ffffff' ),
[3507] Fix | Delete
'type' => 'option',
[3508] Fix | Delete
'capability' => 'edit_theme_options',
[3509] Fix | Delete
'transport' => 'postMessage',
[3510] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[3511] Fix | Delete
)
[3512] Fix | Delete
);
[3513] Fix | Delete
[3514] Fix | Delete
$wp_customize->add_control(
[3515] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[3516] Fix | Delete
$wp_customize,
[3517] Fix | Delete
'et_divi[fixed_primary_nav_bg]',
[3518] Fix | Delete
array(
[3519] Fix | Delete
'label' => esc_html__( 'Primary Menu Background Color', 'Divi' ),
[3520] Fix | Delete
'section' => 'et_divi_header_fixed',
[3521] Fix | Delete
'settings' => 'et_divi[fixed_primary_nav_bg]',
[3522] Fix | Delete
)
[3523] Fix | Delete
)
[3524] Fix | Delete
);
[3525] Fix | Delete
[3526] Fix | Delete
$wp_customize->add_setting(
[3527] Fix | Delete
'et_divi[fixed_secondary_nav_bg]',
[3528] Fix | Delete
array(
[3529] Fix | Delete
'default' => et_get_option( 'secondary_nav_bg', '#2ea3f2' ),
[3530] Fix | Delete
'type' => 'option',
[3531] Fix | Delete
'capability' => 'edit_theme_options',
[3532] Fix | Delete
'transport' => 'postMessage',
[3533] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[3534] Fix | Delete
)
[3535] Fix | Delete
);
[3536] Fix | Delete
[3537] Fix | Delete
$wp_customize->add_control(
[3538] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[3539] Fix | Delete
$wp_customize,
[3540] Fix | Delete
'et_divi[fixed_secondary_nav_bg]',
[3541] Fix | Delete
array(
[3542] Fix | Delete
'label' => esc_html__( 'Secondary Menu Background Color', 'Divi' ),
[3543] Fix | Delete
'section' => 'et_divi_header_fixed',
[3544] Fix | Delete
'settings' => 'et_divi[fixed_secondary_nav_bg]',
[3545] Fix | Delete
)
[3546] Fix | Delete
)
[3547] Fix | Delete
);
[3548] Fix | Delete
[3549] Fix | Delete
$wp_customize->add_setting(
[3550] Fix | Delete
'et_divi[fixed_menu_link]',
[3551] Fix | Delete
array(
[3552] Fix | Delete
'default' => et_get_option( 'menu_link', 'rgba(0,0,0,0.6)' ),
[3553] Fix | Delete
'type' => 'option',
[3554] Fix | Delete
'capability' => 'edit_theme_options',
[3555] Fix | Delete
'transport' => 'postMessage',
[3556] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[3557] Fix | Delete
)
[3558] Fix | Delete
);
[3559] Fix | Delete
[3560] Fix | Delete
$wp_customize->add_control(
[3561] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[3562] Fix | Delete
$wp_customize,
[3563] Fix | Delete
'et_divi[fixed_menu_link]',
[3564] Fix | Delete
array(
[3565] Fix | Delete
'label' => esc_html__( 'Primary Menu Link Color', 'Divi' ),
[3566] Fix | Delete
'section' => 'et_divi_header_fixed',
[3567] Fix | Delete
'settings' => 'et_divi[fixed_menu_link]',
[3568] Fix | Delete
)
[3569] Fix | Delete
)
[3570] Fix | Delete
);
[3571] Fix | Delete
[3572] Fix | Delete
$wp_customize->add_setting(
[3573] Fix | Delete
'et_divi[fixed_secondary_menu_link]',
[3574] Fix | Delete
array(
[3575] Fix | Delete
'default' => et_get_option( 'secondary_nav_text_color_new', '#ffffff' ),
[3576] Fix | Delete
'type' => 'option',
[3577] Fix | Delete
'capability' => 'edit_theme_options',
[3578] Fix | Delete
'transport' => 'postMessage',
[3579] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[3580] Fix | Delete
)
[3581] Fix | Delete
);
[3582] Fix | Delete
[3583] Fix | Delete
$wp_customize->add_control(
[3584] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[3585] Fix | Delete
$wp_customize,
[3586] Fix | Delete
'et_divi[fixed_secondary_menu_link]',
[3587] Fix | Delete
array(
[3588] Fix | Delete
'label' => esc_html__( 'Secondary Menu Link Color', 'Divi' ),
[3589] Fix | Delete
'section' => 'et_divi_header_fixed',
[3590] Fix | Delete
'settings' => 'et_divi[fixed_secondary_menu_link]',
[3591] Fix | Delete
)
[3592] Fix | Delete
)
[3593] Fix | Delete
);
[3594] Fix | Delete
[3595] Fix | Delete
$wp_customize->add_setting(
[3596] Fix | Delete
'et_divi[fixed_menu_link_active]',
[3597] Fix | Delete
array(
[3598] Fix | Delete
'default' => et_get_option( 'menu_link_active', '#2ea3f2' ),
[3599] Fix | Delete
'type' => 'option',
[3600] Fix | Delete
'capability' => 'edit_theme_options',
[3601] Fix | Delete
'transport' => 'postMessage',
[3602] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[3603] Fix | Delete
)
[3604] Fix | Delete
);
[3605] Fix | Delete
[3606] Fix | Delete
$wp_customize->add_control(
[3607] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[3608] Fix | Delete
$wp_customize,
[3609] Fix | Delete
'et_divi[fixed_menu_link_active]',
[3610] Fix | Delete
array(
[3611] Fix | Delete
'label' => esc_html__( 'Active Primary Menu Link Color', 'Divi' ),
[3612] Fix | Delete
'section' => 'et_divi_header_fixed',
[3613] Fix | Delete
'settings' => 'et_divi[fixed_menu_link_active]',
[3614] Fix | Delete
)
[3615] Fix | Delete
)
[3616] Fix | Delete
);
[3617] Fix | Delete
}
[3618] Fix | Delete
[3619] Fix | Delete
$wp_customize->add_setting(
[3620] Fix | Delete
'et_divi[phone_number]',
[3621] Fix | Delete
array(
[3622] Fix | Delete
'type' => 'option',
[3623] Fix | Delete
'capability' => 'edit_theme_options',
[3624] Fix | Delete
'transport' => 'postMessage',
[3625] Fix | Delete
'sanitize_callback' => 'et_sanitize_html_input_text',
[3626] Fix | Delete
)
[3627] Fix | Delete
);
[3628] Fix | Delete
[3629] Fix | Delete
$wp_customize->add_control(
[3630] Fix | Delete
'et_divi[phone_number]',
[3631] Fix | Delete
array(
[3632] Fix | Delete
'label' => esc_html__( 'Phone Number', 'Divi' ),
[3633] Fix | Delete
'section' => 'et_divi_header_information',
[3634] Fix | Delete
'type' => 'text',
[3635] Fix | Delete
)
[3636] Fix | Delete
);
[3637] Fix | Delete
[3638] Fix | Delete
$wp_customize->add_setting(
[3639] Fix | Delete
'et_divi[header_email]',
[3640] Fix | Delete
array(
[3641] Fix | Delete
'type' => 'option',
[3642] Fix | Delete
'capability' => 'edit_theme_options',
[3643] Fix | Delete
'transport' => 'postMessage',
[3644] Fix | Delete
'sanitize_callback' => 'sanitize_email',
[3645] Fix | Delete
)
[3646] Fix | Delete
);
[3647] Fix | Delete
[3648] Fix | Delete
$wp_customize->add_control(
[3649] Fix | Delete
'et_divi[header_email]',
[3650] Fix | Delete
array(
[3651] Fix | Delete
'label' => esc_html__( 'Email', 'Divi' ),
[3652] Fix | Delete
'section' => 'et_divi_header_information',
[3653] Fix | Delete
'type' => 'text',
[3654] Fix | Delete
)
[3655] Fix | Delete
);
[3656] Fix | Delete
[3657] Fix | Delete
$wp_customize->add_setting(
[3658] Fix | Delete
'et_divi[show_footer_social_icons]',
[3659] Fix | Delete
array(
[3660] Fix | Delete
'default' => 'on',
[3661] Fix | Delete
'type' => 'option',
[3662] Fix | Delete
'capability' => 'edit_theme_options',
[3663] Fix | Delete
'transport' => 'postMessage',
[3664] Fix | Delete
'sanitize_callback' => 'wp_validate_boolean',
[3665] Fix | Delete
)
[3666] Fix | Delete
);
[3667] Fix | Delete
[3668] Fix | Delete
$wp_customize->add_control(
[3669] Fix | Delete
'et_divi[show_footer_social_icons]',
[3670] Fix | Delete
array(
[3671] Fix | Delete
'label' => esc_html__( 'Show Social Icons', 'Divi' ),
[3672] Fix | Delete
'section' => 'et_divi_footer_elements',
[3673] Fix | Delete
'type' => 'checkbox',
[3674] Fix | Delete
)
[3675] Fix | Delete
);
[3676] Fix | Delete
[3677] Fix | Delete
$wp_customize->add_setting(
[3678] Fix | Delete
'et_divi[footer_columns]',
[3679] Fix | Delete
array(
[3680] Fix | Delete
'default' => '4',
[3681] Fix | Delete
'type' => 'option',
[3682] Fix | Delete
'capability' => 'edit_theme_options',
[3683] Fix | Delete
'transport' => 'postMessage',
[3684] Fix | Delete
'sanitize_callback' => 'et_sanitize_footer_column',
[3685] Fix | Delete
)
[3686] Fix | Delete
);
[3687] Fix | Delete
[3688] Fix | Delete
$wp_customize->add_control(
[3689] Fix | Delete
'et_divi[footer_columns]',
[3690] Fix | Delete
array(
[3691] Fix | Delete
'label' => esc_html__( 'Column Layout', 'Divi' ),
[3692] Fix | Delete
'section' => 'et_divi_footer_layout',
[3693] Fix | Delete
'settings' => 'et_divi[footer_columns]',
[3694] Fix | Delete
'type' => 'select',
[3695] Fix | Delete
'choices' => et_divi_footer_column_choices(),
[3696] Fix | Delete
)
[3697] Fix | Delete
);
[3698] Fix | Delete
[3699] Fix | Delete
$wp_customize->add_setting(
[3700] Fix | Delete
'et_divi[footer_bg]',
[3701] Fix | Delete
array(
[3702] Fix | Delete
'default' => '#222222',
[3703] Fix | Delete
'type' => 'option',
[3704] Fix | Delete
'capability' => 'edit_theme_options',
[3705] Fix | Delete
'transport' => 'postMessage',
[3706] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[3707] Fix | Delete
)
[3708] Fix | Delete
);
[3709] Fix | Delete
[3710] Fix | Delete
$wp_customize->add_control(
[3711] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[3712] Fix | Delete
$wp_customize,
[3713] Fix | Delete
'et_divi[footer_bg]',
[3714] Fix | Delete
array(
[3715] Fix | Delete
'label' => esc_html__( 'Footer Background Color', 'Divi' ),
[3716] Fix | Delete
'section' => 'et_divi_footer_layout',
[3717] Fix | Delete
'settings' => 'et_divi[footer_bg]',
[3718] Fix | Delete
)
[3719] Fix | Delete
)
[3720] Fix | Delete
);
[3721] Fix | Delete
[3722] Fix | Delete
$wp_customize->add_setting(
[3723] Fix | Delete
'et_divi[widget_header_font_size]',
[3724] Fix | Delete
array(
[3725] Fix | Delete
'default' => absint( et_get_option( 'body_header_size', '30' ) ) * .6,
[3726] Fix | Delete
'type' => 'option',
[3727] Fix | Delete
'capability' => 'edit_theme_options',
[3728] Fix | Delete
'transport' => 'postMessage',
[3729] Fix | Delete
'sanitize_callback' => 'absint',
[3730] Fix | Delete
)
[3731] Fix | Delete
);
[3732] Fix | Delete
[3733] Fix | Delete
$wp_customize->add_control(
[3734] Fix | Delete
new ET_Divi_Range_Option(
[3735] Fix | Delete
$wp_customize,
[3736] Fix | Delete
'et_divi[widget_header_font_size]',
[3737] Fix | Delete
array(
[3738] Fix | Delete
'label' => esc_html__( 'Header Text Size', 'Divi' ),
[3739] Fix | Delete
'section' => 'et_divi_footer_widgets',
[3740] Fix | Delete
'type' => 'range',
[3741] Fix | Delete
'input_attrs' => array(
[3742] Fix | Delete
'min' => 10,
[3743] Fix | Delete
'max' => 72,
[3744] Fix | Delete
'step' => 1,
[3745] Fix | Delete
),
[3746] Fix | Delete
)
[3747] Fix | Delete
)
[3748] Fix | Delete
);
[3749] Fix | Delete
[3750] Fix | Delete
$wp_customize->add_setting(
[3751] Fix | Delete
'et_divi[widget_header_font_style]',
[3752] Fix | Delete
array(
[3753] Fix | Delete
'default' => et_get_option( 'widget_header_font_style', '' ),
[3754] Fix | Delete
'type' => 'option',
[3755] Fix | Delete
'capability' => 'edit_theme_options',
[3756] Fix | Delete
'transport' => 'postMessage',
[3757] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_style',
[3758] Fix | Delete
)
[3759] Fix | Delete
);
[3760] Fix | Delete
[3761] Fix | Delete
$wp_customize->add_control(
[3762] Fix | Delete
new ET_Divi_Font_Style_Option(
[3763] Fix | Delete
$wp_customize,
[3764] Fix | Delete
'et_divi[widget_header_font_style]',
[3765] Fix | Delete
array(
[3766] Fix | Delete
'label' => esc_html__( 'Header Font Style', 'Divi' ),
[3767] Fix | Delete
'section' => 'et_divi_footer_widgets',
[3768] Fix | Delete
'type' => 'font_style',
[3769] Fix | Delete
'choices' => et_divi_font_style_choices(),
[3770] Fix | Delete
)
[3771] Fix | Delete
)
[3772] Fix | Delete
);
[3773] Fix | Delete
[3774] Fix | Delete
$wp_customize->add_setting(
[3775] Fix | Delete
'et_divi[widget_body_font_size]',
[3776] Fix | Delete
array(
[3777] Fix | Delete
'default' => et_get_option( 'body_font_size', '14' ),
[3778] Fix | Delete
'type' => 'option',
[3779] Fix | Delete
'capability' => 'edit_theme_options',
[3780] Fix | Delete
'transport' => 'postMessage',
[3781] Fix | Delete
'sanitize_callback' => 'absint',
[3782] Fix | Delete
)
[3783] Fix | Delete
);
[3784] Fix | Delete
[3785] Fix | Delete
$wp_customize->add_control(
[3786] Fix | Delete
new ET_Divi_Range_Option(
[3787] Fix | Delete
$wp_customize,
[3788] Fix | Delete
'et_divi[widget_body_font_size]',
[3789] Fix | Delete
array(
[3790] Fix | Delete
'label' => esc_html__( 'Body/Link Text Size', 'Divi' ),
[3791] Fix | Delete
'section' => 'et_divi_footer_widgets',
[3792] Fix | Delete
'type' => 'range',
[3793] Fix | Delete
'input_attrs' => array(
[3794] Fix | Delete
'min' => 10,
[3795] Fix | Delete
'max' => 32,
[3796] Fix | Delete
'step' => 1,
[3797] Fix | Delete
),
[3798] Fix | Delete
)
[3799] Fix | Delete
)
[3800] Fix | Delete
);
[3801] Fix | Delete
[3802] Fix | Delete
$wp_customize->add_setting(
[3803] Fix | Delete
'et_divi[widget_body_line_height]',
[3804] Fix | Delete
array(
[3805] Fix | Delete
'default' => '1.7',
[3806] Fix | Delete
'type' => 'option',
[3807] Fix | Delete
'capability' => 'edit_theme_options',
[3808] Fix | Delete
'transport' => 'postMessage',
[3809] Fix | Delete
'sanitize_callback' => 'et_sanitize_float_number',
[3810] Fix | Delete
)
[3811] Fix | Delete
);
[3812] Fix | Delete
[3813] Fix | Delete
$wp_customize->add_control(
[3814] Fix | Delete
new ET_Divi_Range_Option(
[3815] Fix | Delete
$wp_customize,
[3816] Fix | Delete
'et_divi[widget_body_line_height]',
[3817] Fix | Delete
array(
[3818] Fix | Delete
'label' => esc_html__( 'Body/Link Line Height', 'Divi' ),
[3819] Fix | Delete
'section' => 'et_divi_footer_widgets',
[3820] Fix | Delete
'type' => 'range',
[3821] Fix | Delete
'input_attrs' => array(
[3822] Fix | Delete
'min' => 0.8,
[3823] Fix | Delete
'max' => 3,
[3824] Fix | Delete
'step' => 0.1,
[3825] Fix | Delete
),
[3826] Fix | Delete
)
[3827] Fix | Delete
)
[3828] Fix | Delete
);
[3829] Fix | Delete
[3830] Fix | Delete
$wp_customize->add_setting(
[3831] Fix | Delete
'et_divi[widget_body_font_style]',
[3832] Fix | Delete
array(
[3833] Fix | Delete
'default' => et_get_option( 'footer_widget_body_font_style', '' ),
[3834] Fix | Delete
'type' => 'option',
[3835] Fix | Delete
'capability' => 'edit_theme_options',
[3836] Fix | Delete
'transport' => 'postMessage',
[3837] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_style',
[3838] Fix | Delete
)
[3839] Fix | Delete
);
[3840] Fix | Delete
[3841] Fix | Delete
$wp_customize->add_control(
[3842] Fix | Delete
new ET_Divi_Font_Style_Option(
[3843] Fix | Delete
$wp_customize,
[3844] Fix | Delete
'et_divi[widget_body_font_style]',
[3845] Fix | Delete
array(
[3846] Fix | Delete
'label' => esc_html__( 'Body Font Style', 'Divi' ),
[3847] Fix | Delete
'section' => 'et_divi_footer_widgets',
[3848] Fix | Delete
'type' => 'font_style',
[3849] Fix | Delete
'choices' => et_divi_font_style_choices(),
[3850] Fix | Delete
)
[3851] Fix | Delete
)
[3852] Fix | Delete
);
[3853] Fix | Delete
[3854] Fix | Delete
$wp_customize->add_setting(
[3855] Fix | Delete
'et_divi[footer_widget_text_color]',
[3856] Fix | Delete
array(
[3857] Fix | Delete
'default' => '#fff',
[3858] Fix | Delete
'type' => 'option',
[3859] Fix | Delete
'capability' => 'edit_theme_options',
[3860] Fix | Delete
'transport' => 'postMessage',
[3861] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[3862] Fix | Delete
)
[3863] Fix | Delete
);
[3864] Fix | Delete
[3865] Fix | Delete
$wp_customize->add_control(
[3866] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[3867] Fix | Delete
$wp_customize,
[3868] Fix | Delete
'et_divi[footer_widget_text_color]',
[3869] Fix | Delete
array(
[3870] Fix | Delete
'label' => esc_html__( 'Widget Text Color', 'Divi' ),
[3871] Fix | Delete
'section' => 'et_divi_footer_widgets',
[3872] Fix | Delete
'settings' => 'et_divi[footer_widget_text_color]',
[3873] Fix | Delete
)
[3874] Fix | Delete
)
[3875] Fix | Delete
);
[3876] Fix | Delete
[3877] Fix | Delete
$wp_customize->add_setting(
[3878] Fix | Delete
'et_divi[footer_widget_link_color]',
[3879] Fix | Delete
array(
[3880] Fix | Delete
'default' => '#fff',
[3881] Fix | Delete
'type' => 'option',
[3882] Fix | Delete
'capability' => 'edit_theme_options',
[3883] Fix | Delete
'transport' => 'postMessage',
[3884] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[3885] Fix | Delete
)
[3886] Fix | Delete
);
[3887] Fix | Delete
[3888] Fix | Delete
$wp_customize->add_control(
[3889] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[3890] Fix | Delete
$wp_customize,
[3891] Fix | Delete
'et_divi[footer_widget_link_color]',
[3892] Fix | Delete
array(
[3893] Fix | Delete
'label' => esc_html__( 'Widget Link Color', 'Divi' ),
[3894] Fix | Delete
'section' => 'et_divi_footer_widgets',
[3895] Fix | Delete
'settings' => 'et_divi[footer_widget_link_color]',
[3896] Fix | Delete
)
[3897] Fix | Delete
)
[3898] Fix | Delete
);
[3899] Fix | Delete
[3900] Fix | Delete
$wp_customize->add_setting(
[3901] Fix | Delete
'et_divi[footer_widget_header_color]',
[3902] Fix | Delete
array(
[3903] Fix | Delete
'default' => et_get_option( 'accent_color', '#2ea3f2' ),
[3904] Fix | Delete
'type' => 'option',
[3905] Fix | Delete
'capability' => 'edit_theme_options',
[3906] Fix | Delete
'transport' => 'postMessage',
[3907] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[3908] Fix | Delete
)
[3909] Fix | Delete
);
[3910] Fix | Delete
[3911] Fix | Delete
$wp_customize->add_control(
[3912] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[3913] Fix | Delete
$wp_customize,
[3914] Fix | Delete
'et_divi[footer_widget_header_color]',
[3915] Fix | Delete
array(
[3916] Fix | Delete
'label' => esc_html__( 'Widget Header Color', 'Divi' ),
[3917] Fix | Delete
'section' => 'et_divi_footer_widgets',
[3918] Fix | Delete
'settings' => 'et_divi[footer_widget_header_color]',
[3919] Fix | Delete
)
[3920] Fix | Delete
)
[3921] Fix | Delete
);
[3922] Fix | Delete
[3923] Fix | Delete
$wp_customize->add_setting(
[3924] Fix | Delete
'et_divi[footer_widget_bullet_color]',
[3925] Fix | Delete
array(
[3926] Fix | Delete
'default' => et_get_option( 'accent_color', '#2ea3f2' ),
[3927] Fix | Delete
'type' => 'option',
[3928] Fix | Delete
'capability' => 'edit_theme_options',
[3929] Fix | Delete
'transport' => 'postMessage',
[3930] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[3931] Fix | Delete
)
[3932] Fix | Delete
);
[3933] Fix | Delete
[3934] Fix | Delete
$wp_customize->add_control(
[3935] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[3936] Fix | Delete
$wp_customize,
[3937] Fix | Delete
'et_divi[footer_widget_bullet_color]',
[3938] Fix | Delete
array(
[3939] Fix | Delete
'label' => esc_html__( 'Widget Bullet Color', 'Divi' ),
[3940] Fix | Delete
'section' => 'et_divi_footer_widgets',
[3941] Fix | Delete
'settings' => 'et_divi[footer_widget_bullet_color]',
[3942] Fix | Delete
)
[3943] Fix | Delete
)
[3944] Fix | Delete
);
[3945] Fix | Delete
[3946] Fix | Delete
/* Footer Menu */
[3947] Fix | Delete
$wp_customize->add_setting(
[3948] Fix | Delete
'et_divi[footer_menu_background_color]',
[3949] Fix | Delete
array(
[3950] Fix | Delete
'default' => 'rgba(255,255,255,0.05)',
[3951] Fix | Delete
'type' => 'option',
[3952] Fix | Delete
'capability' => 'edit_theme_options',
[3953] Fix | Delete
'transport' => 'postMessage',
[3954] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[3955] Fix | Delete
)
[3956] Fix | Delete
);
[3957] Fix | Delete
[3958] Fix | Delete
$wp_customize->add_control(
[3959] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[3960] Fix | Delete
$wp_customize,
[3961] Fix | Delete
'et_divi[footer_menu_background_color]',
[3962] Fix | Delete
array(
[3963] Fix | Delete
'label' => esc_html__( 'Footer Menu Background Color', 'Divi' ),
[3964] Fix | Delete
'section' => 'et_divi_footer_menu',
[3965] Fix | Delete
'settings' => 'et_divi[footer_menu_background_color]',
[3966] Fix | Delete
)
[3967] Fix | Delete
)
[3968] Fix | Delete
);
[3969] Fix | Delete
[3970] Fix | Delete
$wp_customize->add_setting(
[3971] Fix | Delete
'et_divi[footer_menu_text_color]',
[3972] Fix | Delete
array(
[3973] Fix | Delete
'default' => '#bbbbbb',
[3974] Fix | Delete
'type' => 'option',
[3975] Fix | Delete
'capability' => 'edit_theme_options',
[3976] Fix | Delete
'transport' => 'postMessage',
[3977] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[3978] Fix | Delete
)
[3979] Fix | Delete
);
[3980] Fix | Delete
[3981] Fix | Delete
$wp_customize->add_control(
[3982] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[3983] Fix | Delete
$wp_customize,
[3984] Fix | Delete
'et_divi[footer_menu_text_color]',
[3985] Fix | Delete
array(
[3986] Fix | Delete
'label' => esc_html__( 'Footer Menu Text Color', 'Divi' ),
[3987] Fix | Delete
'section' => 'et_divi_footer_menu',
[3988] Fix | Delete
'settings' => 'et_divi[footer_menu_text_color]',
[3989] Fix | Delete
)
[3990] Fix | Delete
)
[3991] Fix | Delete
);
[3992] Fix | Delete
[3993] Fix | Delete
$wp_customize->add_setting(
[3994] Fix | Delete
'et_divi[footer_menu_active_link_color]',
[3995] Fix | Delete
array(
[3996] Fix | Delete
'default' => et_get_option( 'accent_color', '#2ea3f2' ),
[3997] Fix | Delete
'type' => 'option',
[3998] Fix | Delete
'capability' => 'edit_theme_options',
[3999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function