PluginProbe
Floating Button – Easily Create Sticky, Fixed & Floating Buttons / 6.0
Floating Button – Easily Create Sticky, Fixed & Floating Buttons v6.0
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 / includes / pages / 2.settings.php

2.settings.php in Floating Button – Easily Create Sticky, Fixed & Floating Buttons 6.0, at includes/pages/2.settings.php

56 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 * Page Name: Add New
4 */
5
6 use FloatingButton\Dashboard\Field;
7 use FloatingButton\Dashboard\Settings;
8 use FloatingButton\WOW_Plugin;
9
10 defined( 'ABSPATH' ) || exit;
11
12 $default = Field::getDefault();
13
14 ?>
15
16 <form action="" id="wowp-settings" class="wowp-settings" method="post">
17
18 <div id="poststuff">
19 <div id="post-body" class="metabox-holder columns-2">
20 <div id="post-body-content">
21
22 <div id="titlediv">
23
24 <div id="titlewrap">
25 <label>
26 <span class="screen-reader-text"><?php esc_html_e( 'Enter title here', 'floating-button' ); ?></span>
27 <?php Field::text( 'title' ); ?>
28 </label>
29 </div>
30
31 </div>
32 </div>
33
34 <!-- Sidebar with the setting-->
35 <div id="postbox-container-1" class="postbox-container">
36 <?php require_once plugin_dir_path(__FILE__) . 'sidebar.php';?>
37 </div>
38
39 <div id="postoptions">
40 <div id="postbox-container-2" class="postbox-container wowp-settings-wrapper">
41 <?php Settings::init(); ?>
42 </div>
43 </div>
44 </div>
45
46 </div>
47
48 <input type="hidden" name="tool_id" value="<?php echo absint( $default['id'] ); ?>" id="tool_id"/>
49 <input type="hidden" name="param[time]" value="<?php echo esc_attr( time() ); ?>"/>
50 <?php wp_nonce_field( WOW_Plugin::PREFIX . '_nonce', WOW_Plugin::PREFIX . '_settings' ); ?>
51
52 </form>
53
54
55 <?php
56