| 1 |
<?php |
| 2 |
/** |
| 3 |
* Clone Elements Settings |
| 4 |
* |
| 5 |
* @package Wow_Plugin |
| 6 |
* @copyright Copyright (c) 2018, Dmytro Lobov |
| 7 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 8 |
* @since 1.0 |
| 9 |
*/ |
| 10 |
|
| 11 |
if ( ! defined( 'ABSPATH' ) ) { |
| 12 |
exit; |
| 13 |
} |
| 14 |
|
| 15 |
// Elements for clone Menu 1 |
| 16 |
$menu_1_item_icon = array( |
| 17 |
'name' => 'param[menu_1][item_icon][]', |
| 18 |
'class' => 'icons', |
| 19 |
'type' => 'select', |
| 20 |
'val' => 'fas fa-hand-point-up', |
| 21 |
'option' => $icons_new, |
| 22 |
); |
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
$menu_1_item_tooltip = array( |
| 27 |
'name' => 'param[menu_1][item_tooltip][]', |
| 28 |
'class' => 'item-tooltip', |
| 29 |
'type' => 'text', |
| 30 |
'val' => '', |
| 31 |
); |
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
$menu_1_item_type = array( |
| 36 |
'name' => 'param[menu_1][item_type][]', |
| 37 |
'type' => 'select', |
| 38 |
'val' => 'link', |
| 39 |
'class' => 'item-type', |
| 40 |
'option' => array( |
| 41 |
'link' => esc_attr__( 'Link', $this->plugin['text'] ), |
| 42 |
), |
| 43 |
); |
| 44 |
|
| 45 |
$menu_1_item_link = array( |
| 46 |
'name' => 'param[menu_1][item_link][]', |
| 47 |
'type' => 'text', |
| 48 |
'val' => '', |
| 49 |
); |
| 50 |
|
| 51 |
$menu_1_new_tab = array( |
| 52 |
'name' => 'param[menu_1][new_tab][]', |
| 53 |
'class' => '', |
| 54 |
'type' => 'checkbox', |
| 55 |
'val' => '', |
| 56 |
); |
| 57 |
|
| 58 |
// Font color |
| 59 |
$menu_1_color = array( |
| 60 |
'name' => 'param[menu_1][color][]', |
| 61 |
'type' => 'color', |
| 62 |
'val' => '#ffffff', |
| 63 |
); |
| 64 |
|
| 65 |
|
| 66 |
// Background |
| 67 |
$menu_1_bcolor = array( |
| 68 |
'name' => 'param[menu_1][bcolor][]', |
| 69 |
'type' => 'color', |
| 70 |
'val' => '#128be0', |
| 71 |
); |
| 72 |
|
| 73 |
|
| 74 |
$menu_1_button_id = array( |
| 75 |
'name' => 'param[menu_1][button_id][]', |
| 76 |
'type' => 'text', |
| 77 |
'val' => '', |
| 78 |
); |
| 79 |
|
| 80 |
$menu_1_button_id_help = array( |
| 81 |
'text' => esc_attr__( 'Set ID for element.', $this->plugin['text'] ), |
| 82 |
); |
| 83 |
|
| 84 |
$menu_1_button_class = array( |
| 85 |
'name' => 'param[menu_1][button_class][]', |
| 86 |
'type' => 'text', |
| 87 |
'val' => '', |
| 88 |
); |
| 89 |
|
| 90 |
$menu_1_button_class_help = array( |
| 91 |
'title' => esc_attr__( 'Set Class for element.', $this->plugin['text'] ), |
| 92 |
'ul' => array( |
| 93 |
esc_attr__( 'You may enter several classes separated by a space.', $this->plugin['text'] ), |
| 94 |
) |
| 95 |
); |
| 96 |
|
| 97 |
$menu_1_link_rel = array( |
| 98 |
'name' => 'param[menu_1][link_rel][]', |
| 99 |
'type' => 'text', |
| 100 |
'val' => '', |
| 101 |
); |