PluginProbe
Floating Button – Easily Create Sticky, Fixed & Floating Buttons / 5.1
Floating Button – Easily Create Sticky, Fixed & Floating Buttons v5.1
trunk 2.0.2 3.0 4.0 4.1.2 4.3 5.0 5.0.1 5.1 5.1.1 5.2 5.3 5.3.1 6.0 6.0.1 6.0.10 6.0.11 6.0.12 6.0.13 6.0.2 6.0.3 6.0.4 6.0.5 6.0.6 6.0.7 All 31 releases
floating-button / admin / settings / options / general.php

general.php in Floating Button – Easily Create Sticky, Fixed & Floating Buttons 5.1, at admin/settings/options/general.php

56 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * General 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 popup will show on the frontend. If uncheck - popup not displayed on the frontend.', 'floating-button' ),
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 popup will show for admin only.', 'floating-button' ),
35 );
36
37
38
39 $show_option = array(
40 'all' => esc_attr__( 'All posts and pages', 'floating-button' ),
41 'shortecode' => esc_attr__( 'Where shortcode is inserted', 'floating-button' ),
42 );
43
44 $show = array(
45 'id' => 'show',
46 'name' => 'param[show]',
47 'type' => 'select',
48 'val' => isset( $param['show'] ) ? $param['show'] : 'all',
49 'option' => $show_option,
50 'func' => 'showchange(this);',
51 'sep' => '<p/>',
52 );
53
54 $show_help = array(
55 'text' => esc_attr__( 'Choose a condition to target to specific content.', 'floating-button' ),
56 );