Edit File by line
/home/barbar84/www/wp-conte.../themes/Divi/includes/builder/module
File: FullwidthHeader.php
<?php
[0] Fix | Delete
[1] Fix | Delete
class ET_Builder_Module_Fullwidth_Header extends ET_Builder_Module {
[2] Fix | Delete
function init() {
[3] Fix | Delete
$this->name = esc_html__( 'Fullwidth Header', 'et_builder' );
[4] Fix | Delete
$this->plural = esc_html__( 'Fullwidth Headers', 'et_builder' );
[5] Fix | Delete
$this->slug = 'et_pb_fullwidth_header';
[6] Fix | Delete
$this->vb_support = 'on';
[7] Fix | Delete
$this->fullwidth = true;
[8] Fix | Delete
$this->main_css_element = '%%order_class%%';
[9] Fix | Delete
[10] Fix | Delete
$this->settings_modal_toggles = array(
[11] Fix | Delete
'general' => array(
[12] Fix | Delete
'toggles' => array(
[13] Fix | Delete
'main_content' => et_builder_i18n( 'Text' ),
[14] Fix | Delete
'images' => esc_html__( 'Images', 'et_builder' ),
[15] Fix | Delete
),
[16] Fix | Delete
),
[17] Fix | Delete
'advanced' => array(
[18] Fix | Delete
'toggles' => array(
[19] Fix | Delete
'layout' => et_builder_i18n( 'Layout' ),
[20] Fix | Delete
'scroll_down' => esc_html__( 'Scroll Down Icon', 'et_builder' ),
[21] Fix | Delete
'image' => array(
[22] Fix | Delete
'title' => et_builder_i18n( 'Image' ),
[23] Fix | Delete
),
[24] Fix | Delete
'overlay' => et_builder_i18n( 'Overlay' ),
[25] Fix | Delete
'text' => array(
[26] Fix | Delete
'title' => et_builder_i18n( 'Text' ),
[27] Fix | Delete
'priority' => 49,
[28] Fix | Delete
),
[29] Fix | Delete
'width' => array(
[30] Fix | Delete
'title' => et_builder_i18n( 'Sizing' ),
[31] Fix | Delete
'priority' => 80,
[32] Fix | Delete
),
[33] Fix | Delete
),
[34] Fix | Delete
),
[35] Fix | Delete
'custom_css' => array(
[36] Fix | Delete
'toggles' => array(
[37] Fix | Delete
'attributes' => array(
[38] Fix | Delete
'title' => esc_html__( 'Attributes', 'et_builder' ),
[39] Fix | Delete
'priority' => 95,
[40] Fix | Delete
),
[41] Fix | Delete
),
[42] Fix | Delete
),
[43] Fix | Delete
);
[44] Fix | Delete
[45] Fix | Delete
$this->advanced_fields = array(
[46] Fix | Delete
'fonts' => array(
[47] Fix | Delete
'title' => array(
[48] Fix | Delete
'label' => et_builder_i18n( 'Title' ),
[49] Fix | Delete
'css' => array(
[50] Fix | Delete
'main' => '%%order_class%%.et_pb_fullwidth_header .header-content h1, %%order_class%%.et_pb_fullwidth_header .header-content h2.et_pb_module_header, %%order_class%%.et_pb_fullwidth_header .header-content h3.et_pb_module_header, %%order_class%%.et_pb_fullwidth_header .header-content h4.et_pb_module_header, %%order_class%%.et_pb_fullwidth_header .header-content h5.et_pb_module_header, %%order_class%%.et_pb_fullwidth_header .header-content h6.et_pb_module_header',
[51] Fix | Delete
),
[52] Fix | Delete
'font_size' => array(
[53] Fix | Delete
'default' => '30px',
[54] Fix | Delete
),
[55] Fix | Delete
'line_height' => array(
[56] Fix | Delete
'default' => '1em',
[57] Fix | Delete
),
[58] Fix | Delete
'letter_spacing' => array(
[59] Fix | Delete
'default' => '0px',
[60] Fix | Delete
),
[61] Fix | Delete
'header_level' => array(
[62] Fix | Delete
'default' => 'h1',
[63] Fix | Delete
),
[64] Fix | Delete
),
[65] Fix | Delete
'content' => array(
[66] Fix | Delete
'label' => et_builder_i18n( 'Body' ),
[67] Fix | Delete
'css' => array(
[68] Fix | Delete
'main' => '%%order_class%%.et_pb_fullwidth_header .et_pb_header_content_wrapper',
[69] Fix | Delete
),
[70] Fix | Delete
'font_size' => array(
[71] Fix | Delete
'default' => '14px',
[72] Fix | Delete
),
[73] Fix | Delete
'line_height' => array(
[74] Fix | Delete
'default' => '1em',
[75] Fix | Delete
),
[76] Fix | Delete
'letter_spacing' => array(
[77] Fix | Delete
'default' => '0px',
[78] Fix | Delete
),
[79] Fix | Delete
'block_elements' => array(
[80] Fix | Delete
'tabbed_subtoggles' => true,
[81] Fix | Delete
'bb_icons_support' => true,
[82] Fix | Delete
),
[83] Fix | Delete
),
[84] Fix | Delete
'subhead' => array(
[85] Fix | Delete
'label' => esc_html__( 'Subtitle', 'et_builder' ),
[86] Fix | Delete
'css' => array(
[87] Fix | Delete
'main' => '%%order_class%%.et_pb_fullwidth_header .et_pb_fullwidth_header_subhead',
[88] Fix | Delete
),
[89] Fix | Delete
'line_height' => array(
[90] Fix | Delete
'default' => '1em',
[91] Fix | Delete
),
[92] Fix | Delete
'letter_spacing' => array(
[93] Fix | Delete
'default' => '0px',
[94] Fix | Delete
),
[95] Fix | Delete
),
[96] Fix | Delete
),
[97] Fix | Delete
'button' => array(
[98] Fix | Delete
'button_one' => array(
[99] Fix | Delete
'label' => esc_html__( 'Button One', 'et_builder' ),
[100] Fix | Delete
'css' => array(
[101] Fix | Delete
'main' => "{$this->main_css_element} .et_pb_button_one.et_pb_button",
[102] Fix | Delete
),
[103] Fix | Delete
'box_shadow' => array(
[104] Fix | Delete
'css' => array(
[105] Fix | Delete
'main' => '%%order_class%% .et_pb_button_one',
[106] Fix | Delete
),
[107] Fix | Delete
),
[108] Fix | Delete
'margin_padding' => array(
[109] Fix | Delete
'css' => array(
[110] Fix | Delete
'important' => 'all',
[111] Fix | Delete
),
[112] Fix | Delete
),
[113] Fix | Delete
),
[114] Fix | Delete
'button_two' => array(
[115] Fix | Delete
'label' => esc_html__( 'Button Two', 'et_builder' ),
[116] Fix | Delete
'css' => array(
[117] Fix | Delete
'main' => "{$this->main_css_element} .et_pb_button_two.et_pb_button",
[118] Fix | Delete
),
[119] Fix | Delete
'box_shadow' => array(
[120] Fix | Delete
'css' => array(
[121] Fix | Delete
'main' => '%%order_class%% .et_pb_button_two',
[122] Fix | Delete
),
[123] Fix | Delete
),
[124] Fix | Delete
'margin_padding' => array(
[125] Fix | Delete
'css' => array(
[126] Fix | Delete
'important' => 'all',
[127] Fix | Delete
),
[128] Fix | Delete
),
[129] Fix | Delete
),
[130] Fix | Delete
),
[131] Fix | Delete
'background' => array(
[132] Fix | Delete
'css' => array(
[133] Fix | Delete
'main' => '.et_pb_fullwidth_header%%order_class%%',
[134] Fix | Delete
),
[135] Fix | Delete
'options' => array(
[136] Fix | Delete
'background_color' => array(
[137] Fix | Delete
'default' => et_builder_accent_color(),
[138] Fix | Delete
),
[139] Fix | Delete
'parallax_method' => array(
[140] Fix | Delete
'default' => 'off',
[141] Fix | Delete
),
[142] Fix | Delete
),
[143] Fix | Delete
),
[144] Fix | Delete
'max_width' => array(
[145] Fix | Delete
'css' => array(
[146] Fix | Delete
'important' => 'all',
[147] Fix | Delete
),
[148] Fix | Delete
),
[149] Fix | Delete
'text' => array(
[150] Fix | Delete
'use_text_orientation' => false,
[151] Fix | Delete
'use_background_layout' => true,
[152] Fix | Delete
'css' => array(
[153] Fix | Delete
'main' => implode(
[154] Fix | Delete
', ',
[155] Fix | Delete
array(
[156] Fix | Delete
'%%order_class%% .et_pb_module_header',
[157] Fix | Delete
'%%order_class%% .et_pb_fullwidth_header_subhead',
[158] Fix | Delete
'%%order_class%% p',
[159] Fix | Delete
'%%order_class%% .et_pb_button',
[160] Fix | Delete
[161] Fix | Delete
)
[162] Fix | Delete
),
[163] Fix | Delete
'text_shadow' => '%%order_class%% .header-content',
[164] Fix | Delete
),
[165] Fix | Delete
'options' => array(
[166] Fix | Delete
'background_layout' => array(
[167] Fix | Delete
'default' => 'dark',
[168] Fix | Delete
'hover' => 'tabs',
[169] Fix | Delete
),
[170] Fix | Delete
),
[171] Fix | Delete
),
[172] Fix | Delete
'filters' => array(
[173] Fix | Delete
'css' => array(
[174] Fix | Delete
'main' => array(
[175] Fix | Delete
'%%order_class%%',
[176] Fix | Delete
),
[177] Fix | Delete
),
[178] Fix | Delete
'child_filters_target' => array(
[179] Fix | Delete
'tab_slug' => 'advanced',
[180] Fix | Delete
'toggle_slug' => 'image',
[181] Fix | Delete
),
[182] Fix | Delete
),
[183] Fix | Delete
'image' => array(
[184] Fix | Delete
'css' => array(
[185] Fix | Delete
'main' => array(
[186] Fix | Delete
'%%order_class%% .header-logo',
[187] Fix | Delete
'%%order_class%% .header-image-container',
[188] Fix | Delete
),
[189] Fix | Delete
),
[190] Fix | Delete
),
[191] Fix | Delete
'borders' => array(
[192] Fix | Delete
'default' => array(),
[193] Fix | Delete
'image' => array(
[194] Fix | Delete
'css' => array(
[195] Fix | Delete
'main' => array(
[196] Fix | Delete
'border_radii' => '%%order_class%%.et_pb_fullwidth_header .header-logo, %%order_class%%.et_pb_fullwidth_header .header-image-container img',
[197] Fix | Delete
'border_styles' => '%%order_class%%.et_pb_fullwidth_header .header-logo, %%order_class%%.et_pb_fullwidth_header .header-image-container img',
[198] Fix | Delete
),
[199] Fix | Delete
),
[200] Fix | Delete
'label_prefix' => et_builder_i18n( 'Image' ),
[201] Fix | Delete
'tab_slug' => 'advanced',
[202] Fix | Delete
'toggle_slug' => 'image',
[203] Fix | Delete
),
[204] Fix | Delete
),
[205] Fix | Delete
'box_shadow' => array(
[206] Fix | Delete
'default' => array(),
[207] Fix | Delete
'image' => array(
[208] Fix | Delete
'label' => esc_html__( 'Image Box Shadow', 'et_builder' ),
[209] Fix | Delete
'option_category' => 'layout',
[210] Fix | Delete
'tab_slug' => 'advanced',
[211] Fix | Delete
'toggle_slug' => 'image',
[212] Fix | Delete
'css' => array(
[213] Fix | Delete
'main' => '%%order_class%% .header-logo, %%order_class%% .header-image-container img',
[214] Fix | Delete
),
[215] Fix | Delete
'default_on_fronts' => array(
[216] Fix | Delete
'color' => '',
[217] Fix | Delete
'position' => '',
[218] Fix | Delete
),
[219] Fix | Delete
),
[220] Fix | Delete
),
[221] Fix | Delete
'position_fields' => array(
[222] Fix | Delete
'default' => 'relative',
[223] Fix | Delete
),
[224] Fix | Delete
);
[225] Fix | Delete
[226] Fix | Delete
$this->custom_css_fields = array(
[227] Fix | Delete
'header_container' => array(
[228] Fix | Delete
'label' => esc_html__( 'Header Container', 'et_builder' ),
[229] Fix | Delete
'selector' => '.et_pb_fullwidth_header_container',
[230] Fix | Delete
),
[231] Fix | Delete
'header_image' => array(
[232] Fix | Delete
'label' => esc_html__( 'Header Image', 'et_builder' ),
[233] Fix | Delete
'selector' => '.et_pb_fullwidth_header_container .header-image img',
[234] Fix | Delete
),
[235] Fix | Delete
'logo' => array(
[236] Fix | Delete
'label' => esc_html__( 'Logo', 'et_builder' ),
[237] Fix | Delete
'selector' => '.header-content img.header-logo',
[238] Fix | Delete
),
[239] Fix | Delete
'title' => array(
[240] Fix | Delete
'label' => et_builder_i18n( 'Title' ),
[241] Fix | Delete
'selector' => '%%order_class%% .header-content h1,%%order_class%% .header-content .et_pb_module_header',
[242] Fix | Delete
),
[243] Fix | Delete
'content' => array(
[244] Fix | Delete
'label' => et_builder_i18n( 'Body' ),
[245] Fix | Delete
'selector' => '%%order_class%%.et_pb_fullwidth_header .et_pb_header_content_wrapper',
[246] Fix | Delete
),
[247] Fix | Delete
'subtitle' => array(
[248] Fix | Delete
'label' => esc_html__( 'Subtitle', 'et_builder' ),
[249] Fix | Delete
'selector' => '.header-content .et_pb_fullwidth_header_subhead',
[250] Fix | Delete
),
[251] Fix | Delete
'button_1' => array(
[252] Fix | Delete
'label' => esc_html__( 'Button One', 'et_builder' ),
[253] Fix | Delete
'selector' => '.header-content-container .header-content .et_pb_button_one.et_pb_button',
[254] Fix | Delete
),
[255] Fix | Delete
'button_2' => array(
[256] Fix | Delete
'label' => esc_html__( 'Button Two', 'et_builder' ),
[257] Fix | Delete
'selector' => '.header-content-container .header-content .et_pb_button_two.et_pb_button',
[258] Fix | Delete
),
[259] Fix | Delete
'scroll_button' => array(
[260] Fix | Delete
'label' => esc_html__( 'Scroll Down Button', 'et_builder' ),
[261] Fix | Delete
'selector' => '.et_pb_fullwidth_header_scroll a .et-pb-icon',
[262] Fix | Delete
),
[263] Fix | Delete
);
[264] Fix | Delete
[265] Fix | Delete
$this->help_videos = array(
[266] Fix | Delete
array(
[267] Fix | Delete
'id' => 'llLBZCNCEGk',
[268] Fix | Delete
'name' => esc_html__( 'An introduction to the Fullwidth Header module', 'et_builder' ),
[269] Fix | Delete
),
[270] Fix | Delete
);
[271] Fix | Delete
}
[272] Fix | Delete
[273] Fix | Delete
function get_fields() {
[274] Fix | Delete
$fields = array(
[275] Fix | Delete
'title' => array(
[276] Fix | Delete
'label' => et_builder_i18n( 'Title' ),
[277] Fix | Delete
'type' => 'text',
[278] Fix | Delete
'option_category' => 'basic_option',
[279] Fix | Delete
'description' => esc_html__( 'Enter your page title here.', 'et_builder' ),
[280] Fix | Delete
'toggle_slug' => 'main_content',
[281] Fix | Delete
'dynamic_content' => 'text',
[282] Fix | Delete
'mobile_options' => true,
[283] Fix | Delete
'hover' => 'tabs',
[284] Fix | Delete
),
[285] Fix | Delete
'subhead' => array(
[286] Fix | Delete
'label' => esc_html__( 'Subtitle', 'et_builder' ),
[287] Fix | Delete
'type' => 'text',
[288] Fix | Delete
'option_category' => 'basic_option',
[289] Fix | Delete
'description' => esc_html__( 'If you would like to use a subhead, add it here. Your subhead will appear below your title in a small font.', 'et_builder' ),
[290] Fix | Delete
'toggle_slug' => 'main_content',
[291] Fix | Delete
'dynamic_content' => 'text',
[292] Fix | Delete
'mobile_options' => true,
[293] Fix | Delete
'hover' => 'tabs',
[294] Fix | Delete
),
[295] Fix | Delete
'text_orientation' => array(
[296] Fix | Delete
'label' => esc_html__( 'Text & Logo Alignment', 'et_builder' ),
[297] Fix | Delete
'type' => 'text_align',
[298] Fix | Delete
'option_category' => 'layout',
[299] Fix | Delete
'options' => et_builder_get_text_orientation_options( array( 'justified' ) ),
[300] Fix | Delete
'tab_slug' => 'advanced',
[301] Fix | Delete
'toggle_slug' => 'layout',
[302] Fix | Delete
'description' => esc_html__( 'This controls how your text is aligned within the module.', 'et_builder' ),
[303] Fix | Delete
'default_on_front' => 'left',
[304] Fix | Delete
),
[305] Fix | Delete
[306] Fix | Delete
'header_fullscreen' => array(
[307] Fix | Delete
'label' => esc_html__( 'Make Fullscreen', 'et_builder' ),
[308] Fix | Delete
'type' => 'yes_no_button',
[309] Fix | Delete
'option_category' => 'configuration',
[310] Fix | Delete
'options' => array(
[311] Fix | Delete
'off' => et_builder_i18n( 'No' ),
[312] Fix | Delete
'on' => et_builder_i18n( 'Yes' ),
[313] Fix | Delete
),
[314] Fix | Delete
'default_on_front' => 'off',
[315] Fix | Delete
'affects' => array(
[316] Fix | Delete
'content_orientation',
[317] Fix | Delete
),
[318] Fix | Delete
'tab_slug' => 'advanced',
[319] Fix | Delete
'toggle_slug' => 'layout',
[320] Fix | Delete
'description' => esc_html__( 'Here you can choose whether the header is expanded to fullscreen size.', 'et_builder' ),
[321] Fix | Delete
),
[322] Fix | Delete
'header_scroll_down' => array(
[323] Fix | Delete
'label' => esc_html__( 'Show Scroll Down Button', 'et_builder' ),
[324] Fix | Delete
'type' => 'yes_no_button',
[325] Fix | Delete
'option_category' => 'configuration',
[326] Fix | Delete
'options' => array(
[327] Fix | Delete
'off' => et_builder_i18n( 'No' ),
[328] Fix | Delete
'on' => et_builder_i18n( 'Yes' ),
[329] Fix | Delete
),
[330] Fix | Delete
'default_on_front' => 'off',
[331] Fix | Delete
'affects' => array(
[332] Fix | Delete
'scroll_down_icon',
[333] Fix | Delete
'scroll_down_icon_color',
[334] Fix | Delete
'scroll_down_icon_size',
[335] Fix | Delete
),
[336] Fix | Delete
'tab_slug' => 'advanced',
[337] Fix | Delete
'toggle_slug' => 'scroll_down',
[338] Fix | Delete
'description' => esc_html__( 'Here you can choose whether the scroll down button is shown.', 'et_builder' ),
[339] Fix | Delete
),
[340] Fix | Delete
'scroll_down_icon' => array(
[341] Fix | Delete
'default' => ';',
[342] Fix | Delete
'label' => esc_html__( 'Icon', 'et_builder' ),
[343] Fix | Delete
'type' => 'select_icon',
[344] Fix | Delete
'option_category' => 'configuration',
[345] Fix | Delete
'class' => array( 'et-pb-font-icon' ),
[346] Fix | Delete
'renderer_options' => array(
[347] Fix | Delete
'icons_list' => 'icon_down',
[348] Fix | Delete
),
[349] Fix | Delete
'description' => esc_html__( 'Choose an icon to display for the scroll down button.', 'et_builder' ),
[350] Fix | Delete
'depends_show_if' => 'on',
[351] Fix | Delete
'tab_slug' => 'advanced',
[352] Fix | Delete
'toggle_slug' => 'scroll_down',
[353] Fix | Delete
'mobile_options' => true,
[354] Fix | Delete
),
[355] Fix | Delete
'scroll_down_icon_color' => array(
[356] Fix | Delete
'label' => esc_html__( 'Scroll Down Icon Color', 'et_builder' ),
[357] Fix | Delete
'description' => esc_html__( 'Here you can define a custom color for the scroll down icon.', 'et_builder' ),
[358] Fix | Delete
'type' => 'color-alpha',
[359] Fix | Delete
'custom_color' => true,
[360] Fix | Delete
'tab_slug' => 'advanced',
[361] Fix | Delete
'toggle_slug' => 'scroll_down',
[362] Fix | Delete
'hover' => 'tabs',
[363] Fix | Delete
'depends_show_if' => 'on',
[364] Fix | Delete
'mobile_options' => true,
[365] Fix | Delete
'sticky' => true,
[366] Fix | Delete
),
[367] Fix | Delete
'scroll_down_icon_size' => array(
[368] Fix | Delete
'label' => esc_html__( 'Scroll Down Icon Size', 'et_builder' ),
[369] Fix | Delete
'description' => esc_html__( 'Increase or decrease the size of the scroll down arrow that appears towards the bottom of the module.', 'et_builder' ),
[370] Fix | Delete
'type' => 'range',
[371] Fix | Delete
'option_category' => 'layout',
[372] Fix | Delete
'mobile_options' => true,
[373] Fix | Delete
'sticky' => true,
[374] Fix | Delete
'tab_slug' => 'advanced',
[375] Fix | Delete
'toggle_slug' => 'scroll_down',
[376] Fix | Delete
'responsive' => true,
[377] Fix | Delete
'allowed_units' => array( '%', 'em', 'rem', 'px', 'cm', 'mm', 'in', 'pt', 'pc', 'ex', 'vh', 'vw' ),
[378] Fix | Delete
'default_unit' => 'px',
[379] Fix | Delete
'hover' => 'tabs',
[380] Fix | Delete
'depends_show_if' => 'on',
[381] Fix | Delete
),
[382] Fix | Delete
'button_one_text' => array(
[383] Fix | Delete
'label' => sprintf( esc_html__( 'Button %1$s', 'et_builder' ), '#1' ),
[384] Fix | Delete
'type' => 'text',
[385] Fix | Delete
'option_category' => 'basic_option',
[386] Fix | Delete
'description' => esc_html__( 'Enter the text for the Button.', 'et_builder' ),
[387] Fix | Delete
'toggle_slug' => 'main_content',
[388] Fix | Delete
'dynamic_content' => 'text',
[389] Fix | Delete
'mobile_options' => true,
[390] Fix | Delete
'hover' => 'tabs',
[391] Fix | Delete
),
[392] Fix | Delete
'button_one_url' => array(
[393] Fix | Delete
'label' => sprintf( esc_html__( 'Button %1$s Link URL', 'et_builder' ), '#1' ),
[394] Fix | Delete
'type' => 'text',
[395] Fix | Delete
'option_category' => 'basic_option',
[396] Fix | Delete
'description' => esc_html__( 'Enter the URL for the Button.', 'et_builder' ),
[397] Fix | Delete
'toggle_slug' => 'link_options',
[398] Fix | Delete
'dynamic_content' => 'url',
[399] Fix | Delete
),
[400] Fix | Delete
'button_two_text' => array(
[401] Fix | Delete
'label' => sprintf( esc_html__( 'Button %1$s', 'et_builder' ), '#2' ),
[402] Fix | Delete
'type' => 'text',
[403] Fix | Delete
'option_category' => 'basic_option',
[404] Fix | Delete
'description' => esc_html__( 'Enter the text for the Button.', 'et_builder' ),
[405] Fix | Delete
'toggle_slug' => 'main_content',
[406] Fix | Delete
'dynamic_content' => 'text',
[407] Fix | Delete
'mobile_options' => true,
[408] Fix | Delete
'hover' => 'tabs',
[409] Fix | Delete
),
[410] Fix | Delete
'button_two_url' => array(
[411] Fix | Delete
'label' => sprintf( esc_html__( 'Button %1$s Link URL', 'et_builder' ), '#2' ),
[412] Fix | Delete
'type' => 'text',
[413] Fix | Delete
'option_category' => 'basic_option',
[414] Fix | Delete
'description' => esc_html__( 'Enter the URL for the Button.', 'et_builder' ),
[415] Fix | Delete
'toggle_slug' => 'link_options',
[416] Fix | Delete
'dynamic_content' => 'url',
[417] Fix | Delete
),
[418] Fix | Delete
'background_overlay_color' => array(
[419] Fix | Delete
'label' => esc_html__( 'Background Overlay Color', 'et_builder' ),
[420] Fix | Delete
'description' => esc_html__( 'Pick a color to use for the background overlay. Decreasing the opacity will allow background images and gradients to show through while still keeping the text readable.', 'et_builder' ),
[421] Fix | Delete
'type' => 'color-alpha',
[422] Fix | Delete
'tab_slug' => 'advanced',
[423] Fix | Delete
'toggle_slug' => 'overlay',
[424] Fix | Delete
'hover' => 'tabs',
[425] Fix | Delete
'mobile_options' => true,
[426] Fix | Delete
'sticky' => true,
[427] Fix | Delete
),
[428] Fix | Delete
'logo_image_url' => array(
[429] Fix | Delete
'label' => esc_html__( 'Logo Image', 'et_builder' ),
[430] Fix | Delete
'type' => 'upload',
[431] Fix | Delete
'option_category' => 'basic_option',
[432] Fix | Delete
'upload_button_text' => et_builder_i18n( 'Upload an image' ),
[433] Fix | Delete
'choose_text' => esc_attr__( 'Choose an Image', 'et_builder' ),
[434] Fix | Delete
'update_text' => esc_attr__( 'Set As Image', 'et_builder' ),
[435] Fix | Delete
'affects' => array(
[436] Fix | Delete
'logo_alt_text',
[437] Fix | Delete
'logo_title',
[438] Fix | Delete
),
[439] Fix | Delete
'description' => esc_html__( 'Upload your desired image, or type in the URL to the image you would like to display.', 'et_builder' ),
[440] Fix | Delete
'toggle_slug' => 'images',
[441] Fix | Delete
'dynamic_content' => 'image',
[442] Fix | Delete
'mobile_options' => true,
[443] Fix | Delete
'hover' => 'tabs',
[444] Fix | Delete
),
[445] Fix | Delete
'logo_alt_text' => array(
[446] Fix | Delete
'label' => esc_html__( 'Logo Image Alternative Text', 'et_builder' ),
[447] Fix | Delete
'type' => 'text',
[448] Fix | Delete
'option_category' => 'basic_option',
[449] Fix | Delete
'depends_show_if' => 'on',
[450] Fix | Delete
'depends_on' => array(
[451] Fix | Delete
'logo_image_url',
[452] Fix | Delete
),
[453] Fix | Delete
'description' => esc_html__( 'This defines the HTML ALT text. A short description of your image can be placed here.', 'et_builder' ),
[454] Fix | Delete
'tab_slug' => 'custom_css',
[455] Fix | Delete
'toggle_slug' => 'attributes',
[456] Fix | Delete
'dynamic_content' => 'text',
[457] Fix | Delete
),
[458] Fix | Delete
'logo_title' => array(
[459] Fix | Delete
'label' => esc_html__( 'Logo Image Title', 'et_builder' ),
[460] Fix | Delete
'type' => 'text',
[461] Fix | Delete
'option_category' => 'basic_option',
[462] Fix | Delete
'depends_show_if' => 'on',
[463] Fix | Delete
'depends_on' => array(
[464] Fix | Delete
'logo_image_url',
[465] Fix | Delete
),
[466] Fix | Delete
'description' => esc_html__( 'This defines the HTML Title text.', 'et_builder' ),
[467] Fix | Delete
'tab_slug' => 'custom_css',
[468] Fix | Delete
'toggle_slug' => 'attributes',
[469] Fix | Delete
'dynamic_content' => 'text',
[470] Fix | Delete
),
[471] Fix | Delete
'content_orientation' => array(
[472] Fix | Delete
'label' => esc_html__( 'Text Vertical Alignment', 'et_builder' ),
[473] Fix | Delete
'type' => 'select',
[474] Fix | Delete
'option_category' => 'layout',
[475] Fix | Delete
'options' => array(
[476] Fix | Delete
'center' => et_builder_i18n( 'Center' ),
[477] Fix | Delete
'bottom' => et_builder_i18n( 'Bottom' ),
[478] Fix | Delete
),
[479] Fix | Delete
'default_on_front' => 'center',
[480] Fix | Delete
'tab_slug' => 'advanced',
[481] Fix | Delete
'toggle_slug' => 'text',
[482] Fix | Delete
'description' => esc_html__( 'This setting determines the vertical alignment of your content. Your content can either be vertically centered, or aligned to the bottom.', 'et_builder' ),
[483] Fix | Delete
'depends_show_if' => 'on',
[484] Fix | Delete
),
[485] Fix | Delete
[486] Fix | Delete
'header_image_url' => array(
[487] Fix | Delete
'label' => esc_html__( 'Header Image', 'et_builder' ),
[488] Fix | Delete
'type' => 'upload',
[489] Fix | Delete
'option_category' => 'basic_option',
[490] Fix | Delete
'upload_button_text' => et_builder_i18n( 'Upload an image' ),
[491] Fix | Delete
'choose_text' => esc_attr__( 'Choose an Image', 'et_builder' ),
[492] Fix | Delete
'update_text' => esc_attr__( 'Set As Image', 'et_builder' ),
[493] Fix | Delete
'description' => esc_html__( 'Upload your desired image, or type in the URL to the image you would like to display.', 'et_builder' ),
[494] Fix | Delete
'toggle_slug' => 'images',
[495] Fix | Delete
'affects' => array(
[496] Fix | Delete
'image_alt_text',
[497] Fix | Delete
'image_title',
[498] Fix | Delete
),
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function