PluginProbe
Float menu – awesome floating side menu / 5.1
Float menu – awesome floating side menu v5.1
7.2.5 trunk 2.1 2.2 3.0.1 3.1 3.2.2 3.3.1 3.5 3.5.1 3.5.2 3.5.3. 3.5.4 4.0 4.1 4.1.1 4.2 4.3 4.3.1 4.3.2 5.0 5.0.1 5.0.2 5.0.3 5.1 All 57 releases
float-menu / admin / settings / options / general.php

general.php in Float menu – awesome floating side menu 5.1, at admin/settings/options/general.php

63 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Main 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 $menu_status = array(
16 'id' => 'menu_status',
17 'name' => 'param[menu_status]',
18 'type' => 'checkbox',
19 'val' => isset( $param['menu_status'] ) ? $param['menu_status'] : 1,
20 );
21
22 $menu_status_help = array(
23 'text' => esc_attr__( 'If check - the menu will show on the frontend. If uncheck - menu not displayed on the frontend.', $this->plugin['text'] ),
24 );
25
26 $test_mode = array(
27 'id' => 'test_mode',
28 'name' => 'param[test_mode]',
29 'type' => 'checkbox',
30 'val' => isset( $param['test_mode'] ) ? $param['test_mode'] : 0,
31 );
32
33 $test_mode_help = array(
34 'text' => esc_attr__( 'If test mode is enabled, the menu will show for admin only.', $this->plugin['text'] ),
35 );
36
37 $tax_args = array(
38 'public' => true,
39 '_builtin' => false
40 );
41 $output = 'names';
42 $operator = 'and';
43 $taxonomies = get_taxonomies( $tax_args, $output, $operator );
44
45 $show_option = array(
46 'all' => esc_attr__( 'All posts and pages', 'float-menu' ),
47 'shortecode' => esc_attr__( 'Shortcode', 'float-menu' ),
48 );
49
50
51 $show = array(
52 'id' => 'show',
53 'name' => 'param[show]',
54 'type' => 'select',
55 'val' => isset( $param['show'] ) ? $param['show'] : 'all',
56 'option' => $show_option,
57 'func' => 'showchange(this);',
58 'sep' => 'p',
59 );
60
61 $show_help = array(
62 'text' => esc_attr__( 'Choose a condition to target to specific content.', $this->plugin['text'] ),
63 );