# bubble-menu/3.1/admin/settings/options/clone.php

Bubble Menu – Floating Button Menu with Sticky Navigation, version 3.1. 156 lines.

- Page: https://pluginprobe.com/plugins/bubble-menu/3.1/code/admin/settings/options/clone.php
- Raw: https://pluginprobe.com/plugins/bubble-menu/3.1/raw/admin/settings/options/clone.php
- Modified: 2023-08-29T07:21:42+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/bubble-menu/3.1/code/admin/settings/options/clone.php#L10-L20`.

```php
<?php
/**
 * Clone Elements Settings
 *
 * @package     Wow_Plugin
 * @copyright   Copyright (c) 2018, Dmytro Lobov
 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
 * @since       1.0
 */

// Elements for clone Menu 1
$menu_1_item_icon        = array(
	'name'   => 'param[item_icon][]',
	'class'  => 'icons',
	'type'   => 'select',
	'val'    => 'fas fa-hand-point-up',
	'option' => $icons_new,
);

$menu_1_item_tooltip_include = array(
	'name'  => 'param[item_tooltip_include][]',
	'type'  => 'checkbox',
	'class' => 'tooltip-include',
	'val'   => 0,
	'func'  => 'checkboxchecked(this); itemtooltip(this);',
);

$menu_1_item_tooltip = array(
	'name'  => 'param[item_tooltip][]',
	'class' => 'item-tooltip',
	'type'  => 'text',
	'val'   => '',
);

$menu_1_item_tooltip_show = array(
	'name'   => 'param[item_tooltip_show][]',
	'id'     => 'item_tooltip_show',
	'class'  => '',
	'type'   => 'select',
	'val'    => '1',
	'option' => array(
		'1' => __( 'On hover', 'bubble-menu' ),
	),
	'func'   => '',
);


$menu_1_item_type = array(
	'name'   => 'param[item_type][]',
	'type'   => 'select',
	'val'    => 'link',
	'class'  => 'item-type',
	'option' => array(
		'link'         => __( 'Link', 'bubble-menu' ),
	),
	'func'   => 'itemtype(this);',
);

$menu_1_item_link = array(
	'name' => 'param[item_link][]',
	'type' => 'text',
	'val'  => '',
);

$menu_1_open_link = array(
	'name'   => 'param[open_link][]',
	'id'     => 'open_link',
	'class'  => '',
	'type'   => 'select',
	'val' => '_self',
	'option' => array(
		'_self'  => __( 'Same window', 'bubble-menu' ),
	),
	'func'   => '',
);


$menu_1_item_color = array(
	'name'   => 'param[item_color][]',
	'class'  => 'item-bgcolor',
	'val'    => 'white',
	'type'   => 'select',
	'option' => array(
		'white'  => __( 'White', 'bubble-menu' ),
	),
	'func'   => '',
);

$menu_1_item_hcolor = array(
	'name'   => 'param[item_hcolor][]',
	'class'  => 'item-color',
	'type'   => 'select',
	'val'    => 'black',
	'option' => array(
		'black'  => __( 'Black', 'bubble-menu' ),
	),
	'func'   => '',
);



$menu_1_button_id = array(
	'name' => 'param[button_id][]',
	'type' => 'text',
	'val'  => '',
);

$menu_1_button_id_help = array(
	'text' => __( 'Set ID for element.', 'bubble-menu' ),
);

$menu_1_button_class = array(
	'name' => 'param[button_class][]',
	'type' => 'text',
	'val'  => '',
);

$menu_1_link_rel = array(
	'name' => 'param[link_rel][]',
	'type' => 'text',
	'val'  => '',
);

$menu_1_button_class_help = array(
	'title' => __( 'Set Class for element.', 'bubble-menu' ),
	'ul'    => array(
		__( 'You may enter several classes separated by a space.', 'bubble-menu' ),
	),
);

$menu_1_item_icon_help = array(
	'title' => __( 'Set the icon for menu item. If you want use the custom item:', 'bubble-menu' ),
	'ul'    => array(
		__( '1. Check the box on "custom"', 'bubble-menu' ),
		__( '2. Upload the icon in Media Library', 'bubble-menu' ),
		__( '3. Copy the URL to icon', 'bubble-menu' ),
		__( '4. Paste the icon URL to field', 'bubble-menu' ),
	),
);

$menu_1_item_tooltip_help = array(
	'text' => __( 'Set the text for menu item.', 'bubble-menu' ),
);

$menu_1_item_type_help = array(
	'text' => __( 'Select the type of menu item. Explanation of some types:', 'bubble-menu' ),
	'ul'   => array(
		__( '<strong>Smooth Scroll</strong> - Smooth scrolling of the page to the specified anchors on the page. Enter Link like #anchor',
			'bubble-menu' ),

	),
);

$menu_1_hold_open_help = array(
	'text' => __( 'When the page loads, the menu item will open.', 'bubble-menu' ),
);
```
