Edit File by line
/home/barbar84/www/wp-conte.../themes/Divi
File: functions.php
);
[1000] Fix | Delete
[1001] Fix | Delete
$wp_customize->add_panel(
[1002] Fix | Delete
'et_divi_header_panel',
[1003] Fix | Delete
array(
[1004] Fix | Delete
'title' => esc_html__( 'Header & Navigation', 'Divi' ),
[1005] Fix | Delete
'priority' => 2,
[1006] Fix | Delete
)
[1007] Fix | Delete
);
[1008] Fix | Delete
[1009] Fix | Delete
$wp_customize->add_section(
[1010] Fix | Delete
'et_divi_header_layout',
[1011] Fix | Delete
array(
[1012] Fix | Delete
'title' => esc_html__( 'Header Format', 'Divi' ),
[1013] Fix | Delete
'panel' => 'et_divi_header_panel',
[1014] Fix | Delete
)
[1015] Fix | Delete
);
[1016] Fix | Delete
[1017] Fix | Delete
$wp_customize->add_section(
[1018] Fix | Delete
'et_divi_header_primary',
[1019] Fix | Delete
array(
[1020] Fix | Delete
'title' => esc_html__( 'Primary Menu Bar', 'Divi' ),
[1021] Fix | Delete
'panel' => 'et_divi_header_panel',
[1022] Fix | Delete
)
[1023] Fix | Delete
);
[1024] Fix | Delete
[1025] Fix | Delete
$wp_customize->add_section(
[1026] Fix | Delete
'et_divi_header_secondary',
[1027] Fix | Delete
array(
[1028] Fix | Delete
'title' => esc_html__( 'Secondary Menu Bar', 'Divi' ),
[1029] Fix | Delete
'panel' => 'et_divi_header_panel',
[1030] Fix | Delete
)
[1031] Fix | Delete
);
[1032] Fix | Delete
[1033] Fix | Delete
$wp_customize->add_section(
[1034] Fix | Delete
'et_divi_header_slide',
[1035] Fix | Delete
array(
[1036] Fix | Delete
'title' => esc_html__( 'Slide In & Fullscreen Header Settings', 'Divi' ),
[1037] Fix | Delete
'panel' => 'et_divi_header_panel',
[1038] Fix | Delete
)
[1039] Fix | Delete
);
[1040] Fix | Delete
[1041] Fix | Delete
$wp_customize->add_section(
[1042] Fix | Delete
'et_divi_header_fixed',
[1043] Fix | Delete
array(
[1044] Fix | Delete
'title' => esc_html__( 'Fixed Navigation Settings', 'Divi' ),
[1045] Fix | Delete
'panel' => 'et_divi_header_panel',
[1046] Fix | Delete
)
[1047] Fix | Delete
);
[1048] Fix | Delete
[1049] Fix | Delete
$wp_customize->add_section(
[1050] Fix | Delete
'et_divi_header_information',
[1051] Fix | Delete
array(
[1052] Fix | Delete
'title' => esc_html__( 'Header Elements', 'Divi' ),
[1053] Fix | Delete
'panel' => 'et_divi_header_panel',
[1054] Fix | Delete
)
[1055] Fix | Delete
);
[1056] Fix | Delete
[1057] Fix | Delete
$wp_customize->add_panel(
[1058] Fix | Delete
'et_divi_footer_panel',
[1059] Fix | Delete
array(
[1060] Fix | Delete
'title' => esc_html__( 'Footer', 'Divi' ),
[1061] Fix | Delete
'priority' => 3,
[1062] Fix | Delete
)
[1063] Fix | Delete
);
[1064] Fix | Delete
[1065] Fix | Delete
$wp_customize->add_section(
[1066] Fix | Delete
'et_divi_footer_layout',
[1067] Fix | Delete
array(
[1068] Fix | Delete
'title' => esc_html__( 'Layout', 'Divi' ),
[1069] Fix | Delete
'panel' => 'et_divi_footer_panel',
[1070] Fix | Delete
)
[1071] Fix | Delete
);
[1072] Fix | Delete
[1073] Fix | Delete
$wp_customize->add_section(
[1074] Fix | Delete
'et_divi_footer_widgets',
[1075] Fix | Delete
array(
[1076] Fix | Delete
'title' => esc_html__( 'Widgets', 'Divi' ),
[1077] Fix | Delete
'panel' => 'et_divi_footer_panel',
[1078] Fix | Delete
)
[1079] Fix | Delete
);
[1080] Fix | Delete
[1081] Fix | Delete
$wp_customize->add_section(
[1082] Fix | Delete
'et_divi_footer_elements',
[1083] Fix | Delete
array(
[1084] Fix | Delete
'title' => esc_html__( 'Footer Elements', 'Divi' ),
[1085] Fix | Delete
'panel' => 'et_divi_footer_panel',
[1086] Fix | Delete
)
[1087] Fix | Delete
);
[1088] Fix | Delete
[1089] Fix | Delete
$wp_customize->add_section(
[1090] Fix | Delete
'et_divi_footer_menu',
[1091] Fix | Delete
array(
[1092] Fix | Delete
'title' => esc_html__( 'Footer Menu', 'Divi' ),
[1093] Fix | Delete
'panel' => 'et_divi_footer_panel',
[1094] Fix | Delete
)
[1095] Fix | Delete
);
[1096] Fix | Delete
[1097] Fix | Delete
$wp_customize->add_section(
[1098] Fix | Delete
'et_divi_bottom_bar',
[1099] Fix | Delete
array(
[1100] Fix | Delete
'title' => esc_html__( 'Bottom Bar', 'Divi' ),
[1101] Fix | Delete
'panel' => 'et_divi_footer_panel',
[1102] Fix | Delete
)
[1103] Fix | Delete
);
[1104] Fix | Delete
[1105] Fix | Delete
$wp_customize->add_section(
[1106] Fix | Delete
'et_color_schemes',
[1107] Fix | Delete
array(
[1108] Fix | Delete
'title' => esc_html__( 'Color Schemes', 'Divi' ),
[1109] Fix | Delete
'priority' => 7,
[1110] Fix | Delete
'description' => esc_html__( 'Note: Color settings set above should be applied to the Default color scheme.', 'Divi' ),
[1111] Fix | Delete
)
[1112] Fix | Delete
);
[1113] Fix | Delete
[1114] Fix | Delete
$wp_customize->add_panel(
[1115] Fix | Delete
'et_divi_buttons_settings',
[1116] Fix | Delete
array(
[1117] Fix | Delete
'title' => esc_html__( 'Buttons', 'Divi' ),
[1118] Fix | Delete
'priority' => 4,
[1119] Fix | Delete
)
[1120] Fix | Delete
);
[1121] Fix | Delete
[1122] Fix | Delete
$wp_customize->add_section(
[1123] Fix | Delete
'et_divi_buttons',
[1124] Fix | Delete
array(
[1125] Fix | Delete
'title' => esc_html__( 'Buttons Style', 'Divi' ),
[1126] Fix | Delete
'panel' => 'et_divi_buttons_settings',
[1127] Fix | Delete
)
[1128] Fix | Delete
);
[1129] Fix | Delete
[1130] Fix | Delete
$wp_customize->add_section(
[1131] Fix | Delete
'et_divi_buttons_hover',
[1132] Fix | Delete
array(
[1133] Fix | Delete
'title' => esc_html__( 'Buttons Hover Style', 'Divi' ),
[1134] Fix | Delete
'panel' => 'et_divi_buttons_settings',
[1135] Fix | Delete
)
[1136] Fix | Delete
);
[1137] Fix | Delete
[1138] Fix | Delete
$wp_customize->add_panel(
[1139] Fix | Delete
'et_divi_blog_settings',
[1140] Fix | Delete
array(
[1141] Fix | Delete
'title' => esc_html__( 'Blog', 'Divi' ),
[1142] Fix | Delete
'priority' => 5,
[1143] Fix | Delete
)
[1144] Fix | Delete
);
[1145] Fix | Delete
[1146] Fix | Delete
$wp_customize->add_section(
[1147] Fix | Delete
'et_divi_blog_post',
[1148] Fix | Delete
array(
[1149] Fix | Delete
'title' => esc_html__( 'Post', 'Divi' ),
[1150] Fix | Delete
'panel' => 'et_divi_blog_settings',
[1151] Fix | Delete
)
[1152] Fix | Delete
);
[1153] Fix | Delete
[1154] Fix | Delete
$wp_customize->add_setting(
[1155] Fix | Delete
'et_divi[post_meta_font_size]',
[1156] Fix | Delete
array(
[1157] Fix | Delete
'default' => '14',
[1158] Fix | Delete
'type' => 'option',
[1159] Fix | Delete
'capability' => 'edit_theme_options',
[1160] Fix | Delete
'transport' => 'postMessage',
[1161] Fix | Delete
'sanitize_callback' => 'absint',
[1162] Fix | Delete
)
[1163] Fix | Delete
);
[1164] Fix | Delete
[1165] Fix | Delete
$wp_customize->get_setting( 'blogname' )->transport = 'postMessage';
[1166] Fix | Delete
[1167] Fix | Delete
$wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
[1168] Fix | Delete
[1169] Fix | Delete
$wp_customize->add_control(
[1170] Fix | Delete
new ET_Divi_Range_Option(
[1171] Fix | Delete
$wp_customize,
[1172] Fix | Delete
'et_divi[post_meta_font_size]',
[1173] Fix | Delete
array(
[1174] Fix | Delete
'label' => esc_html__( 'Meta Text Size', 'Divi' ),
[1175] Fix | Delete
'section' => 'et_divi_blog_post',
[1176] Fix | Delete
'type' => 'range',
[1177] Fix | Delete
'input_attrs' => array(
[1178] Fix | Delete
'min' => 10,
[1179] Fix | Delete
'max' => 32,
[1180] Fix | Delete
'step' => 1,
[1181] Fix | Delete
),
[1182] Fix | Delete
)
[1183] Fix | Delete
)
[1184] Fix | Delete
);
[1185] Fix | Delete
[1186] Fix | Delete
$wp_customize->add_setting(
[1187] Fix | Delete
'et_divi[post_meta_height]',
[1188] Fix | Delete
array(
[1189] Fix | Delete
'default' => '1',
[1190] Fix | Delete
'type' => 'option',
[1191] Fix | Delete
'capability' => 'edit_theme_options',
[1192] Fix | Delete
'transport' => 'postMessage',
[1193] Fix | Delete
'sanitize_callback' => 'et_sanitize_float_number',
[1194] Fix | Delete
)
[1195] Fix | Delete
);
[1196] Fix | Delete
[1197] Fix | Delete
$wp_customize->add_control(
[1198] Fix | Delete
new ET_Divi_Range_Option(
[1199] Fix | Delete
$wp_customize,
[1200] Fix | Delete
'et_divi[post_meta_height]',
[1201] Fix | Delete
array(
[1202] Fix | Delete
'label' => esc_html__( 'Meta Line Height', 'Divi' ),
[1203] Fix | Delete
'section' => 'et_divi_blog_post',
[1204] Fix | Delete
'type' => 'range',
[1205] Fix | Delete
'input_attrs' => array(
[1206] Fix | Delete
'min' => .8,
[1207] Fix | Delete
'max' => 3,
[1208] Fix | Delete
'step' => .1,
[1209] Fix | Delete
),
[1210] Fix | Delete
)
[1211] Fix | Delete
)
[1212] Fix | Delete
);
[1213] Fix | Delete
[1214] Fix | Delete
$wp_customize->add_setting(
[1215] Fix | Delete
'et_divi[post_meta_spacing]',
[1216] Fix | Delete
array(
[1217] Fix | Delete
'default' => '0',
[1218] Fix | Delete
'type' => 'option',
[1219] Fix | Delete
'capability' => 'edit_theme_options',
[1220] Fix | Delete
'transport' => 'postMessage',
[1221] Fix | Delete
'sanitize_callback' => 'absint',
[1222] Fix | Delete
)
[1223] Fix | Delete
);
[1224] Fix | Delete
[1225] Fix | Delete
$wp_customize->add_control(
[1226] Fix | Delete
new ET_Divi_Range_Option(
[1227] Fix | Delete
$wp_customize,
[1228] Fix | Delete
'et_divi[post_meta_spacing]',
[1229] Fix | Delete
array(
[1230] Fix | Delete
'label' => esc_html__( 'Meta Letter Spacing', 'Divi' ),
[1231] Fix | Delete
'section' => 'et_divi_blog_post',
[1232] Fix | Delete
'type' => 'range',
[1233] Fix | Delete
'input_attrs' => array(
[1234] Fix | Delete
'min' => -2,
[1235] Fix | Delete
'max' => 10,
[1236] Fix | Delete
'step' => 1,
[1237] Fix | Delete
),
[1238] Fix | Delete
)
[1239] Fix | Delete
)
[1240] Fix | Delete
);
[1241] Fix | Delete
[1242] Fix | Delete
$wp_customize->add_setting(
[1243] Fix | Delete
'et_divi[post_meta_style]',
[1244] Fix | Delete
array(
[1245] Fix | Delete
'default' => '',
[1246] Fix | Delete
'type' => 'option',
[1247] Fix | Delete
'capability' => 'edit_theme_options',
[1248] Fix | Delete
'transport' => 'postMessage',
[1249] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_style',
[1250] Fix | Delete
)
[1251] Fix | Delete
);
[1252] Fix | Delete
[1253] Fix | Delete
$wp_customize->add_control(
[1254] Fix | Delete
new ET_Divi_Font_Style_Option(
[1255] Fix | Delete
$wp_customize,
[1256] Fix | Delete
'et_divi[post_meta_style]',
[1257] Fix | Delete
array(
[1258] Fix | Delete
'label' => esc_html__( 'Meta Font Style', 'Divi' ),
[1259] Fix | Delete
'section' => 'et_divi_blog_post',
[1260] Fix | Delete
'type' => 'font_style',
[1261] Fix | Delete
'choices' => et_divi_font_style_choices(),
[1262] Fix | Delete
)
[1263] Fix | Delete
)
[1264] Fix | Delete
);
[1265] Fix | Delete
[1266] Fix | Delete
$wp_customize->add_setting(
[1267] Fix | Delete
'et_divi[post_header_font_size]',
[1268] Fix | Delete
array(
[1269] Fix | Delete
'default' => '30',
[1270] Fix | Delete
'type' => 'option',
[1271] Fix | Delete
'capability' => 'edit_theme_options',
[1272] Fix | Delete
'transport' => 'postMessage',
[1273] Fix | Delete
'sanitize_callback' => 'absint',
[1274] Fix | Delete
)
[1275] Fix | Delete
);
[1276] Fix | Delete
[1277] Fix | Delete
$wp_customize->add_control(
[1278] Fix | Delete
new ET_Divi_Range_Option(
[1279] Fix | Delete
$wp_customize,
[1280] Fix | Delete
'et_divi[post_header_font_size]',
[1281] Fix | Delete
array(
[1282] Fix | Delete
'label' => esc_html__( 'Header Text Size', 'Divi' ),
[1283] Fix | Delete
'section' => 'et_divi_blog_post',
[1284] Fix | Delete
'type' => 'range',
[1285] Fix | Delete
'input_attrs' => array(
[1286] Fix | Delete
'min' => 10,
[1287] Fix | Delete
'max' => 72,
[1288] Fix | Delete
'step' => 1,
[1289] Fix | Delete
),
[1290] Fix | Delete
)
[1291] Fix | Delete
)
[1292] Fix | Delete
);
[1293] Fix | Delete
[1294] Fix | Delete
$wp_customize->add_setting(
[1295] Fix | Delete
'et_divi[post_header_height]',
[1296] Fix | Delete
array(
[1297] Fix | Delete
'default' => '1',
[1298] Fix | Delete
'type' => 'option',
[1299] Fix | Delete
'capability' => 'edit_theme_options',
[1300] Fix | Delete
'transport' => 'postMessage',
[1301] Fix | Delete
'sanitize_callback' => 'et_sanitize_float_number',
[1302] Fix | Delete
)
[1303] Fix | Delete
);
[1304] Fix | Delete
[1305] Fix | Delete
$wp_customize->add_control(
[1306] Fix | Delete
new ET_Divi_Range_Option(
[1307] Fix | Delete
$wp_customize,
[1308] Fix | Delete
'et_divi[post_header_height]',
[1309] Fix | Delete
array(
[1310] Fix | Delete
'label' => esc_html__( 'Header Line Height', 'Divi' ),
[1311] Fix | Delete
'section' => 'et_divi_blog_post',
[1312] Fix | Delete
'type' => 'range',
[1313] Fix | Delete
'input_attrs' => array(
[1314] Fix | Delete
'min' => 0.8,
[1315] Fix | Delete
'max' => 3,
[1316] Fix | Delete
'step' => 0.1,
[1317] Fix | Delete
),
[1318] Fix | Delete
)
[1319] Fix | Delete
)
[1320] Fix | Delete
);
[1321] Fix | Delete
[1322] Fix | Delete
$wp_customize->add_setting(
[1323] Fix | Delete
'et_divi[post_header_spacing]',
[1324] Fix | Delete
array(
[1325] Fix | Delete
'default' => '0',
[1326] Fix | Delete
'type' => 'option',
[1327] Fix | Delete
'capability' => 'edit_theme_options',
[1328] Fix | Delete
'transport' => 'postMessage',
[1329] Fix | Delete
'sanitize_callback' => 'et_sanitize_int_number',
[1330] Fix | Delete
)
[1331] Fix | Delete
);
[1332] Fix | Delete
[1333] Fix | Delete
$wp_customize->add_control(
[1334] Fix | Delete
new ET_Divi_Range_Option(
[1335] Fix | Delete
$wp_customize,
[1336] Fix | Delete
'et_divi[post_header_spacing]',
[1337] Fix | Delete
array(
[1338] Fix | Delete
'label' => esc_html__( 'Header Letter Spacing', 'Divi' ),
[1339] Fix | Delete
'section' => 'et_divi_blog_post',
[1340] Fix | Delete
'type' => 'range',
[1341] Fix | Delete
'input_attrs' => array(
[1342] Fix | Delete
'min' => -2,
[1343] Fix | Delete
'max' => 10,
[1344] Fix | Delete
'step' => 1,
[1345] Fix | Delete
),
[1346] Fix | Delete
)
[1347] Fix | Delete
)
[1348] Fix | Delete
);
[1349] Fix | Delete
[1350] Fix | Delete
$wp_customize->add_setting(
[1351] Fix | Delete
'et_divi[post_header_style]',
[1352] Fix | Delete
array(
[1353] Fix | Delete
'default' => '',
[1354] Fix | Delete
'type' => 'option',
[1355] Fix | Delete
'capability' => 'edit_theme_options',
[1356] Fix | Delete
'transport' => 'postMessage',
[1357] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_style',
[1358] Fix | Delete
)
[1359] Fix | Delete
);
[1360] Fix | Delete
[1361] Fix | Delete
$wp_customize->add_control(
[1362] Fix | Delete
new ET_Divi_Font_Style_Option(
[1363] Fix | Delete
$wp_customize,
[1364] Fix | Delete
'et_divi[post_header_style]',
[1365] Fix | Delete
array(
[1366] Fix | Delete
'label' => esc_html__( 'Header Font Style', 'Divi' ),
[1367] Fix | Delete
'section' => 'et_divi_blog_post',
[1368] Fix | Delete
'type' => 'font_style',
[1369] Fix | Delete
'choices' => et_divi_font_style_choices(),
[1370] Fix | Delete
)
[1371] Fix | Delete
)
[1372] Fix | Delete
);
[1373] Fix | Delete
[1374] Fix | Delete
$wp_customize->add_setting(
[1375] Fix | Delete
'et_divi[boxed_layout]',
[1376] Fix | Delete
array(
[1377] Fix | Delete
'type' => 'option',
[1378] Fix | Delete
'capability' => 'edit_theme_options',
[1379] Fix | Delete
'transport' => 'postMessage',
[1380] Fix | Delete
'sanitize_callback' => 'wp_validate_boolean',
[1381] Fix | Delete
)
[1382] Fix | Delete
);
[1383] Fix | Delete
[1384] Fix | Delete
$wp_customize->add_control(
[1385] Fix | Delete
'et_divi[boxed_layout]',
[1386] Fix | Delete
array(
[1387] Fix | Delete
'label' => esc_html__( 'Enable Boxed Layout', 'Divi' ),
[1388] Fix | Delete
'section' => 'et_divi_general_layout',
[1389] Fix | Delete
'type' => 'checkbox',
[1390] Fix | Delete
)
[1391] Fix | Delete
);
[1392] Fix | Delete
[1393] Fix | Delete
$wp_customize->add_setting(
[1394] Fix | Delete
'et_divi[content_width]',
[1395] Fix | Delete
array(
[1396] Fix | Delete
'default' => '1080',
[1397] Fix | Delete
'type' => 'option',
[1398] Fix | Delete
'capability' => 'edit_theme_options',
[1399] Fix | Delete
'transport' => 'postMessage',
[1400] Fix | Delete
'sanitize_callback' => 'absint',
[1401] Fix | Delete
)
[1402] Fix | Delete
);
[1403] Fix | Delete
[1404] Fix | Delete
$wp_customize->add_control(
[1405] Fix | Delete
new ET_Divi_Range_Option(
[1406] Fix | Delete
$wp_customize,
[1407] Fix | Delete
'et_divi[content_width]',
[1408] Fix | Delete
array(
[1409] Fix | Delete
'label' => esc_html__( 'Website Content Width', 'Divi' ),
[1410] Fix | Delete
'section' => 'et_divi_general_layout',
[1411] Fix | Delete
'type' => 'range',
[1412] Fix | Delete
'input_attrs' => array(
[1413] Fix | Delete
'min' => 960,
[1414] Fix | Delete
'max' => 1920,
[1415] Fix | Delete
'step' => 1,
[1416] Fix | Delete
),
[1417] Fix | Delete
)
[1418] Fix | Delete
)
[1419] Fix | Delete
);
[1420] Fix | Delete
[1421] Fix | Delete
$wp_customize->add_setting(
[1422] Fix | Delete
'et_divi[gutter_width]',
[1423] Fix | Delete
array(
[1424] Fix | Delete
'default' => '3',
[1425] Fix | Delete
'type' => 'option',
[1426] Fix | Delete
'capability' => 'edit_theme_options',
[1427] Fix | Delete
'transport' => 'postMessage',
[1428] Fix | Delete
'sanitize_callback' => 'absint',
[1429] Fix | Delete
)
[1430] Fix | Delete
);
[1431] Fix | Delete
[1432] Fix | Delete
$wp_customize->add_control(
[1433] Fix | Delete
new ET_Divi_Range_Option(
[1434] Fix | Delete
$wp_customize,
[1435] Fix | Delete
'et_divi[gutter_width]',
[1436] Fix | Delete
array(
[1437] Fix | Delete
'label' => esc_html__( 'Website Gutter Width', 'Divi' ),
[1438] Fix | Delete
'section' => 'et_divi_general_layout',
[1439] Fix | Delete
'type' => 'range',
[1440] Fix | Delete
'input_attrs' => array(
[1441] Fix | Delete
'min' => 1,
[1442] Fix | Delete
'max' => 4,
[1443] Fix | Delete
'step' => 1,
[1444] Fix | Delete
),
[1445] Fix | Delete
)
[1446] Fix | Delete
)
[1447] Fix | Delete
);
[1448] Fix | Delete
[1449] Fix | Delete
$wp_customize->add_setting(
[1450] Fix | Delete
'et_divi[use_sidebar_width]',
[1451] Fix | Delete
array(
[1452] Fix | Delete
'type' => 'option',
[1453] Fix | Delete
'capability' => 'edit_theme_options',
[1454] Fix | Delete
'transport' => 'postMessage',
[1455] Fix | Delete
'sanitize_callback' => 'wp_validate_boolean',
[1456] Fix | Delete
)
[1457] Fix | Delete
);
[1458] Fix | Delete
[1459] Fix | Delete
$wp_customize->add_control(
[1460] Fix | Delete
'et_divi[use_sidebar_width]',
[1461] Fix | Delete
array(
[1462] Fix | Delete
'label' => esc_html__( 'Use Custom Sidebar Width', 'Divi' ),
[1463] Fix | Delete
'section' => 'et_divi_general_layout',
[1464] Fix | Delete
'type' => 'checkbox',
[1465] Fix | Delete
)
[1466] Fix | Delete
);
[1467] Fix | Delete
[1468] Fix | Delete
$wp_customize->add_setting(
[1469] Fix | Delete
'et_divi[sidebar_width]',
[1470] Fix | Delete
array(
[1471] Fix | Delete
'default' => '21',
[1472] Fix | Delete
'type' => 'option',
[1473] Fix | Delete
'capability' => 'edit_theme_options',
[1474] Fix | Delete
'transport' => 'postMessage',
[1475] Fix | Delete
'sanitize_callback' => 'absint',
[1476] Fix | Delete
)
[1477] Fix | Delete
);
[1478] Fix | Delete
[1479] Fix | Delete
$wp_customize->add_control(
[1480] Fix | Delete
new ET_Divi_Range_Option(
[1481] Fix | Delete
$wp_customize,
[1482] Fix | Delete
'et_divi[sidebar_width]',
[1483] Fix | Delete
array(
[1484] Fix | Delete
'label' => esc_html__( 'Sidebar Width', 'Divi' ),
[1485] Fix | Delete
'section' => 'et_divi_general_layout',
[1486] Fix | Delete
'type' => 'range',
[1487] Fix | Delete
'input_attrs' => array(
[1488] Fix | Delete
'min' => 19,
[1489] Fix | Delete
'max' => 33,
[1490] Fix | Delete
'step' => 1,
[1491] Fix | Delete
),
[1492] Fix | Delete
)
[1493] Fix | Delete
)
[1494] Fix | Delete
);
[1495] Fix | Delete
[1496] Fix | Delete
$wp_customize->add_setting(
[1497] Fix | Delete
'et_divi[section_padding]',
[1498] Fix | Delete
array(
[1499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function