PATH:
home
/
thebhoeo
/
public_html
/
lazysleep
/
wp-content
/
themes
/
woodmart
/
inc
/
modules
/
header-builder
/
elements
<?php namespace XTS\Modules\Header_Builder\Elements; use XTS\Modules\Header_Builder\Element; /** * ------------------------------------------------------------------------------------------------ * Languages element * ------------------------------------------------------------------------------------------------ */ class Languages extends Element { public function __construct() { parent::__construct(); $this->template_name = 'languages'; } public function map() { $this->args = array( 'type' => 'languages', 'title' => esc_html__( 'WPML Languages', 'woodmart' ), 'text' => esc_html__( 'Language selectors', 'woodmart' ), 'icon' => 'xts-i-translate', 'editable' => true, 'container' => false, 'edit_on_create' => true, 'drag_target_for' => array(), 'drag_source' => 'content_element', 'removable' => true, 'addable' => true, 'params' => array( 'show_language_flag' => array( 'id' => 'show_language_flag', 'title' => esc_html__( 'Show Flag', 'woodmart' ), 'description' => esc_html__( 'Show flag of languages', 'woodmart' ), 'type' => 'switcher', 'tab' => esc_html__( 'General', 'woodmart' ), 'value' => true, ), 'mouse_event' => array( 'id' => 'mouse_event', 'title' => esc_html__( 'Open on mouse event', 'woodmart' ), 'type' => 'selector', 'tab' => esc_html__( 'General', 'woodmart' ), 'value' => 'hover', 'options' => array( 'hover' => array( 'value' => 'hover', 'label' => esc_html__( 'Hover', 'woodmart' ), ), 'click' => array( 'value' => 'click', 'label' => esc_html__( 'Click', 'woodmart' ), ), ), ), 'color_scheme' => array( 'id' => 'color_scheme', 'title' => esc_html__( 'Text color scheme', 'woodmart' ), 'type' => 'selector', 'tab' => esc_html__( 'General', '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 header background.', 'woodmart' ), ), ), ); } }
[-] class-logo.php
[edit]
[-] class-space.php
[edit]
[-] class-row.php
[edit]
[-] class-languages.php
[edit]
[-] class-htmlblock.php
[edit]
[-] class-column.php
[edit]
[+]
abstract
[-] class-account.php
[edit]
[-] class-cart.php
[edit]
[-] class-menu.php
[edit]
[-] class-stickynavigation.php
[edit]
[-] class-mainmenu.php
[edit]
[-] class-categories.php
[edit]
[-] class-wishlist.php
[edit]
[-] class-infobox.php
[edit]
[-] class-search.php
[edit]
[+]
..
[-] class-social.php
[edit]
[-] class-divider.php
[edit]
[-] class-button.php
[edit]
[-] class-text.php
[edit]
[-] class-burger.php
[edit]
[-] class-root.php
[edit]
[-] class-compare.php
[edit]
[-] class-mobilesearch.php
[edit]