template_name = 'row'; } public function map() { $this->args = array( 'type' => 'row', 'title' => esc_html__( 'Row', 'woodmart' ), 'text' => esc_html__( 'Row', 'woodmart' ), 'editable' => true, 'container' => false, 'edit_on_create' => false, 'drag_target_for' => array(), 'drag_source' => '', 'removable' => false, 'addable' => false, 'it_works' => 'row', 'class' => '', 'content' => array(), 'params' => array( 'flex_layout' => array( 'id' => 'flex_layout', 'title' => esc_html__( 'Row flex layout', 'woodmart' ), 'type' => 'selector', 'tab' => esc_html__( 'General', 'woodmart' ), 'value' => 'flex-middle', 'options' => array( 'flex-middle' => array( 'label' => esc_html__( 'Flexible middle column', 'woodmart' ), 'value' => 'flex-middle', 'image' => WOODMART_ASSETS . '/images/header-builder/header-layout-2.jpg', ), 'equal-sides' => array( 'label' => esc_html__( 'Equal right and left columns', 'woodmart' ), 'value' => 'equal-sides', 'image' => WOODMART_ASSETS . '/images/header-builder/header-layout-1.jpg', ), ), 'description' => wp_kses( __( 'Determine the "flex layout" for this row. More information about both options read in our documentation here.', 'woodmart' ), 'default' ), ), 'height' => array( 'id' => 'height', 'title' => esc_html__( 'Row height', 'woodmart' ), 'type' => 'slider', 'tab' => esc_html__( 'General', 'woodmart' ), 'from' => 0, 'to'=> 200, 'value' => 50, 'units' => 'px', 'description' => esc_html__( 'Determine the header height value in pixels.', 'woodmart' ), ), 'mobile_height' => array( 'id' => 'mobile_height', 'title' => esc_html__( 'Row height on mobile devices', 'woodmart' ), 'type' => 'slider', 'tab' => esc_html__( 'General', 'woodmart' ), 'from' => 0, 'to'=> 200, 'value' => 40, 'units' => 'px', 'description' => esc_html__( 'Determine the header height for mobile devices value in pixels.', 'woodmart' ), ), 'hide_desktop' => array( 'id' => 'hide_desktop', 'title' => esc_html__( 'Hide on desktop', 'woodmart' ), 'type' => 'switcher', 'tab' => esc_html__( 'General', 'woodmart' ), 'value' => false, 'description' => esc_html__( 'Disable this row for desktop devices completely.', 'woodmart' ), ), 'hide_mobile' => array( 'id' => 'hide_mobile', 'title' => esc_html__( 'Hide on mobile', 'woodmart' ), 'type' => 'switcher', 'tab' => esc_html__( 'General', 'woodmart' ), 'value' => false, 'description' => esc_html__( 'Disable this row for mobile devices completely.', 'woodmart' ), ), 'sticky' => array( 'id' => 'sticky', 'title' => esc_html__( 'Make it sticky', 'woodmart' ), 'type' => 'switcher', 'tab' => esc_html__( 'General', 'woodmart' ), 'value' => false, 'description' => esc_html__( 'Make this row sticky on scroll.', 'woodmart' ), ), 'sticky_height' => array( 'id' => 'sticky_height', 'title' => esc_html__( 'Row height on sticky header', 'woodmart' ), 'type' => 'slider', 'tab' => esc_html__( 'General', 'woodmart' ), 'from' => 0, 'to'=> 200, 'value' => 60, 'units' => 'px', 'description' => esc_html__( 'Determine the header height for sticky header value in pixels.', 'woodmart' ), 'requires' => array( 'sticky' => array( 'comparison' => 'equal', 'value' => true ) ), ), 'color_scheme' => array( 'id' => 'color_scheme', 'title' => esc_html__( 'Text color scheme', 'woodmart' ), 'type' => 'selector', 'tab' => esc_html__( 'Colors', 'woodmart' ), 'value' => 'dark', 'options' => array( 'dark' => array( 'value' => 'dark', 'label' => esc_html__( 'Dark', 'woodmart' ), ), 'light' => array( 'value' => 'light', 'label' => esc_html__( 'Light', 'woodmart' ), ), ), 'description' => esc_html__( 'Select different text color scheme depending on your background.', 'woodmart' ), ), 'shadow' => array( 'id' => 'shadow', 'title' => esc_html__( 'Shadow', 'woodmart' ), 'type' => 'switcher', 'tab' => esc_html__( 'Colors', 'woodmart' ), 'value' => false, 'description' => esc_html__( 'Add shadow to the header section.', 'woodmart' ), ), 'background' => array( 'id' => 'background', 'title' => esc_html__( 'Background settings', 'woodmart' ), 'type' => 'bg', 'tab' => esc_html__( 'Colors', 'woodmart' ), 'value' => '', 'description' => '' ), 'border' => array( 'id' => 'border', 'title' => esc_html__( 'Border bottom', 'woodmart' ), 'type' => 'border', 'sides' => array( 'bottom' ), 'tab' => esc_html__( 'Colors', 'woodmart' ), 'colorpicker_top' => true, 'container' => true, 'value' => '', 'description' => esc_html__( 'Set border bottom for this header row.', 'woodmart' ), ), ) ); } } }