PluginProbe
Float menu – awesome floating side menu / 6.1.2
Float menu – awesome floating side menu v6.1.2
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 / pages / 2.settings.php

2.settings.php in Float menu – awesome floating side menu 6.1.2, at admin/pages/2.settings.php

47 lines 1.3 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 FloatMenuLite\Admin\CreateFields;
7 use FloatMenuLite\Admin\Settings;
8 use FloatMenuLite\WOWP_Plugin;
9
10 defined( 'ABSPATH' ) || exit;
11
12 $options = Settings::get_options();
13
14 $title = $options['title'] ?? '';
15 $id = $options['id'] ?? '';
16 ?>
17 <form action="" id="wpie-settings" class="wpie-settings__wrapper" method="post">
18
19 <div class="wpie-settings__main">
20
21 <div class="wpie-field">
22 <label class="wpie-field__label">
23 <span class="screen-reader-text">
24 <?php esc_html_e( 'Enter title here', 'float-menu' ); ?></span>
25 <input type="text" name="title" size="30" value="<?php
26 echo esc_attr( $title ); ?>" id="title" placeholder="<?php
27 esc_attr_e( 'Add title', 'float-menu' ); ?>">
28 </label>
29 </div>
30 <?php
31 Settings::init(); ?>
32
33 </div>
34
35 <div class="wpie-settings__sidebar">
36 <?php
37 require_once WOWP_Plugin::dir() . 'admin/settings/sidebar.php'; ?>
38 </div>
39
40 <input type="hidden" name="tool_id" value="<?php
41 echo absint( $id ); ?>" id="tool_id"/>
42 <input type="hidden" name="item_time" value="<?php
43 echo esc_attr( time() ); ?>"/>
44 <?php
45 wp_nonce_field( WOWP_Plugin::PREFIX . '_nonce', WOWP_Plugin::PREFIX . '_settings' ); ?>
46 </form>
47