| 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 |
// Elements for clone Menu 1 |
| 12 |
$menu_1_item_icon = array( |
| 13 |
'name' => 'param[item_icon][]', |
| 14 |
'class' => 'icons', |
| 15 |
'type' => 'select', |
| 16 |
'val' => 'fas fa-hand-point-up', |
| 17 |
'option' => $icons_new, |
| 18 |
); |
| 19 |
|
| 20 |
$menu_1_item_tooltip_include = array( |
| 21 |
'name' => 'param[item_tooltip_include][]', |
| 22 |
'type' => 'checkbox', |
| 23 |
'class' => 'tooltip-include', |
| 24 |
'val' => 0, |
| 25 |
'func' => 'checkboxchecked(this); itemtooltip(this);', |
| 26 |
); |
| 27 |
|
| 28 |
$menu_1_item_tooltip = array( |
| 29 |
'name' => 'param[item_tooltip][]', |
| 30 |
'class' => 'item-tooltip', |
| 31 |
'type' => 'text', |
| 32 |
'val' => '', |
| 33 |
); |
| 34 |
|
| 35 |
$menu_1_item_tooltip_show = array( |
| 36 |
'name' => 'param[item_tooltip_show][]', |
| 37 |
'id' => 'item_tooltip_show', |
| 38 |
'class' => '', |
| 39 |
'type' => 'select', |
| 40 |
'val' => '1', |
| 41 |
'option' => array( |
| 42 |
'1' => __( 'On hover', 'bubble-menu' ), |
| 43 |
), |
| 44 |
'func' => '', |
| 45 |
); |
| 46 |
|
| 47 |
|
| 48 |
$menu_1_item_type = array( |
| 49 |
'name' => 'param[item_type][]', |
| 50 |
'type' => 'select', |
| 51 |
'val' => 'link', |
| 52 |
'class' => 'item-type', |
| 53 |
'option' => array( |
| 54 |
'link' => __( 'Link', 'bubble-menu' ), |
| 55 |
), |
| 56 |
'func' => 'itemtype(this);', |
| 57 |
); |
| 58 |
|
| 59 |
$menu_1_item_link = array( |
| 60 |
'name' => 'param[item_link][]', |
| 61 |
'type' => 'text', |
| 62 |
'val' => '', |
| 63 |
); |
| 64 |
|
| 65 |
$menu_1_open_link = array( |
| 66 |
'name' => 'param[open_link][]', |
| 67 |
'id' => 'open_link', |
| 68 |
'class' => '', |
| 69 |
'type' => 'select', |
| 70 |
'val' => '_self', |
| 71 |
'option' => array( |
| 72 |
'_self' => __( 'Same window', 'bubble-menu' ), |
| 73 |
), |
| 74 |
'func' => '', |
| 75 |
); |
| 76 |
|
| 77 |
|
| 78 |
$menu_1_item_color = array( |
| 79 |
'name' => 'param[item_color][]', |
| 80 |
'class' => 'item-bgcolor', |
| 81 |
'val' => 'white', |
| 82 |
'type' => 'select', |
| 83 |
'option' => array( |
| 84 |
'white' => __( 'White', 'bubble-menu' ), |
| 85 |
), |
| 86 |
'func' => '', |
| 87 |
); |
| 88 |
|
| 89 |
$menu_1_item_hcolor = array( |
| 90 |
'name' => 'param[item_hcolor][]', |
| 91 |
'class' => 'item-color', |
| 92 |
'type' => 'select', |
| 93 |
'val' => 'black', |
| 94 |
'option' => array( |
| 95 |
'black' => __( 'Black', 'bubble-menu' ), |
| 96 |
), |
| 97 |
'func' => '', |
| 98 |
); |
| 99 |
|
| 100 |
|
| 101 |
|
| 102 |
$menu_1_button_id = array( |
| 103 |
'name' => 'param[button_id][]', |
| 104 |
'type' => 'text', |
| 105 |
'val' => '', |
| 106 |
); |
| 107 |
|
| 108 |
$menu_1_button_id_help = array( |
| 109 |
'text' => __( 'Set ID for element.', 'bubble-menu' ), |
| 110 |
); |
| 111 |
|
| 112 |
$menu_1_button_class = array( |
| 113 |
'name' => 'param[button_class][]', |
| 114 |
'type' => 'text', |
| 115 |
'val' => '', |
| 116 |
); |
| 117 |
|
| 118 |
$menu_1_link_rel = array( |
| 119 |
'name' => 'param[link_rel][]', |
| 120 |
'type' => 'text', |
| 121 |
'val' => '', |
| 122 |
); |
| 123 |
|
| 124 |
$menu_1_button_class_help = array( |
| 125 |
'title' => __( 'Set Class for element.', 'bubble-menu' ), |
| 126 |
'ul' => array( |
| 127 |
__( 'You may enter several classes separated by a space.', 'bubble-menu' ), |
| 128 |
), |
| 129 |
); |
| 130 |
|
| 131 |
$menu_1_item_icon_help = array( |
| 132 |
'title' => __( 'Set the icon for menu item. If you want use the custom item:', 'bubble-menu' ), |
| 133 |
'ul' => array( |
| 134 |
__( '1. Check the box on "custom"', 'bubble-menu' ), |
| 135 |
__( '2. Upload the icon in Media Library', 'bubble-menu' ), |
| 136 |
__( '3. Copy the URL to icon', 'bubble-menu' ), |
| 137 |
__( '4. Paste the icon URL to field', 'bubble-menu' ), |
| 138 |
), |
| 139 |
); |
| 140 |
|
| 141 |
$menu_1_item_tooltip_help = array( |
| 142 |
'text' => __( 'Set the text for menu item.', 'bubble-menu' ), |
| 143 |
); |
| 144 |
|
| 145 |
$menu_1_item_type_help = array( |
| 146 |
'text' => __( 'Select the type of menu item. Explanation of some types:', 'bubble-menu' ), |
| 147 |
'ul' => array( |
| 148 |
__( '<strong>Smooth Scroll</strong> - Smooth scrolling of the page to the specified anchors on the page. Enter Link like #anchor', |
| 149 |
'bubble-menu' ), |
| 150 |
|
| 151 |
), |
| 152 |
); |
| 153 |
|
| 154 |
$menu_1_hold_open_help = array( |
| 155 |
'text' => __( 'When the page loads, the menu item will open.', 'bubble-menu' ), |
| 156 |
); |