Server IP : 192.64.112.168 / Your IP : 18.119.19.219 Web Server : Apache System : Linux nc-ph-2300-85.bluforrest.com 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Sat Dec 2 05:23:44 EST 2023 x86_64 User : expressoneac ( 1128) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/expressoneac/www/wp-content/themes/woodmart/inc/configs/ |
Upload File : |
<?php if ( ! defined("WOODMART_THEME_DIR")) exit("No direct script access allowed"); /** * ------------------------------------------------------------------------------------------------ * Default header builder settings * ------------------------------------------------------------------------------------------------ */ $header_settings = array( 'overlap' => array( 'id' => 'overlap', 'title' => esc_html__( 'Make it overlap', 'woodmart' ), 'hint' => '<img src="' . WOODMART_TOOLTIP_URL . 'hb_settings_overlap.jpg" alt="">', 'type' => 'switcher', 'tab' => esc_html__( 'General', 'woodmart' ), 'value' => false, 'description' => esc_html__( 'Make the header overlap the content.', 'woodmart' ), 'extra_class' => 'xts-col-6', ), 'boxed' => array( 'id' => 'boxed', 'title' => esc_html__( 'Make it boxed', 'woodmart' ), 'hint' => '<img src="' . WOODMART_TOOLTIP_URL . 'hb_settings_boxed.jpg" alt="">', 'type' => 'switcher', 'tab' => esc_html__( 'General', 'woodmart' ), 'value' => false, 'description' => esc_html__( 'The header will be boxed instead of full width', 'woodmart' ), 'requires' => array( 'overlap' => array( 'comparison' => 'equal', 'value' => true, ), ), 'extra_class' => 'xts-col-6', ), 'full_width' => array( 'id' => 'full_width', 'title' => esc_html__( 'Full width header', 'woodmart' ), 'hint' => '<video src="' . WOODMART_TOOLTIP_URL . 'hb_settings_full_width.mp4" autoplay loop muted></video>', 'type' => 'switcher', 'tab' => esc_html__( 'General', 'woodmart' ), 'value' => false, 'description' => esc_html__( 'Full width layout for the header container.', 'woodmart' ), ), 'dropdowns_dark' => array( 'id' => 'dropdowns_dark', 'title' => esc_html__( 'Header dropdowns dark', 'woodmart' ), 'hint' => '<video src="' . WOODMART_TOOLTIP_URL . 'hb_settings_dropdowns_dark.mp4" autoplay loop muted></video>', 'type' => 'switcher', 'tab' => esc_html__( 'General', 'woodmart' ), 'value' => false, 'description' => esc_html__( 'Make all menu, shopping cart, search, mobile menu dropdowns in dark color scheme.', 'woodmart' ), ), 'sticky_shadow' => array( 'id' => 'sticky_shadow', 'title' => esc_html__( 'Sticky header shadow', 'woodmart' ), 'type' => 'switcher', 'tab' => esc_html__( 'Sticky header', 'woodmart' ), 'value' => true, 'description' => esc_html__( 'Add a shadow for the header when it is sticked.', 'woodmart' ), ), 'hide_on_scroll' => array( 'id' => 'hide_on_scroll', 'title' => esc_html__( 'Hide when scrolling down', 'woodmart' ), 'hint' => '<video src="' . WOODMART_TOOLTIP_URL . 'hb_settings_hide_on_scroll.mp4" autoplay loop muted></video>', 'type' => 'switcher', 'tab' => esc_html__( 'Sticky header', 'woodmart' ), 'value' => false, 'description' => esc_html__( 'Hides the sticky header when you scroll the page down. And shows only when you scroll top.', 'woodmart' ), ), 'sticky_effect' => array( 'id' => 'sticky_effect', 'title' => esc_html__( 'Sticky effect', 'woodmart' ), 'type' => 'selector', 'tab' => esc_html__( 'Sticky header', 'woodmart' ), 'value' => 'stick', 'options' => array( 'stick' => array( 'value' => 'stick', 'hint' => '<video src="' . WOODMART_TOOLTIP_URL . 'hb_settings_scroll_stick.mp4" autoplay loop muted></video>', 'label' => esc_html__( 'Stick on scroll', 'woodmart' ), ), 'slide' => array( 'value' => 'slide', 'hint' => '<video src="' . WOODMART_TOOLTIP_URL . 'hb_settings_scroll_slide.mp4" autoplay loop muted></video>', 'label' => esc_html__( 'Slide after scrolled down', 'woodmart' ), ), ), 'description' => esc_html__( 'You can choose between two types of sticky header effects.', 'woodmart' ), ), 'sticky_clone' => array( 'id' => 'sticky_clone', 'title' => esc_html__( 'Sticky header clone', 'woodmart' ), 'hint' => '<video src="' . WOODMART_TOOLTIP_URL . 'hb_settings_sticky_clone.mp4" autoplay loop muted></video>', 'type' => 'switcher', 'tab' => esc_html__( 'Sticky header', 'woodmart' ), 'value' => false, 'requires' => array( 'sticky_effect' => array( 'comparison' => 'equal', 'value' => 'slide', ), ), 'description' => esc_html__( 'Sticky header will clone elements from the header (logo, menu, search and shopping cart widget) and show them in one line.', 'woodmart' ), ), 'sticky_height' => array( 'id' => 'sticky_height', 'title' => esc_html__( 'Sticky header height', 'woodmart' ), 'type' => 'slider', 'tab' => esc_html__( 'Sticky header', 'woodmart' ), 'from' => 0, 'to' => 200, 'value' => 50, 'units' => 'px', 'description' => esc_html__( 'Determine header height for sticky header value in pixels.', 'woodmart' ), 'requires' => array( 'sticky_clone' => array( 'comparison' => 'equal', 'value' => true, ), 'sticky_effect' => array( 'comparison' => 'equal', 'value' => 'slide', ), ), ), ); return apply_filters( 'woodmart_default_header_settings', $header_settings );