PluginProbe
Bubble Menu – Floating Button Menu with Sticky Navigation / 3.1.1
Bubble Menu – Floating Button Menu with Sticky Navigation v3.1.1
trunk 1.3 2.0 2.2 2.2.1 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 4.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.0.7 4.1 4.1.1
bubble-menu / admin / page-generator.php

page-generator.php in Bubble Menu – Floating Button Menu with Sticky Navigation 3.1.1, at admin/page-generator.php

95 lines 3.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Generate class for main menu icon
4 *
5 * @package Wow_Plugin
6 * @subpackage Admin/Main_page
7 * @author Wow-Company <yoda@wow-company.com>
8 * @copyright 2019 Wow-Company
9 * @license GNU Public License
10 * @version 1.0
11 */
12
13 if ( ! defined( 'ABSPATH' ) ) {
14 exit;
15 }
16
17 include_once plugin_dir_path( __FILE__ ) . 'settings/options/icons.php';
18
19 ?>
20 <div class="about-wrap wow-support">
21 <div class="feature-section one-col">
22 <div class="col">
23
24 <div class="wow-plugin">
25
26 <h3>
27 <?php _e( 'Generate icon class for main menu', 'bubble-menu' ); ?>
28 </h3>
29
30
31 <div class="columns">
32 <div class="column">
33 <div class="field">
34 <label class="label">
35 <?php _e( 'Select icon', 'bubble-menu' ); ?>
36 </label>
37 <select class="icons" id="select_icon">
38 <?php
39 $icon_select = '';
40 foreach ( $icons as $icon ) {
41 $icon_select .= '<option value="' . $icon . '">' . $icon . '</option>';
42 };
43 echo $icon_select;
44 ?>
45 </select>
46 </div>
47
48 </div>
49 <div class="column">
50 <div class="field">
51 <label class="label">
52 <?php _e( 'Icon position', 'bubble-menu' ); ?>
53 </label>
54 <select id="icon_position">
55 <option value=""><?php _e( 'Before Menu item', 'bubble-menu' ); ?></option>
56 <option value=" fa-after"><?php _e( 'After Menu item', 'bubble-menu' ); ?></option>
57 </select>
58 </div>
59
60
61 </div>
62 </div>
63
64 <div class="container">
65 <div class="element">
66 <h4><?php _e( 'Icon Class', 'bubble-menu' ); ?>: <span id="icon_class"
67 style="color:#37c781;"/></span>
68 </h4>
69 </div>
70 </div>
71
72 <fieldset class="triggers-open-notice">
73 <legend style="color:red"><?php _e( 'Notice!', 'bubble-menu' ); ?></legend>
74 <div class="container">
75 <div class="element">
76 <?php _e( 'You can open popup via adding to the element:', 'bubble-menu' ); ?>
77 <ul>
78 <li>&bull; Copy Icon Class</li>
79 <li>&bull; Go to Appearance -> Menus, select which menu item to which you want to add
80 the icon, and add the icon class(es) under 'CSS Classes (optional)'. Click 'Screen
81 Options' (top right of screen) and make sure that 'CSS Classes' is checked. If not -
82 check it!
83 </li>
84 <li>&bull; Paste Icon Class to item 'CSS Classes'</li>
85 </ul>
86 </div>
87 </div>
88 </fieldset>
89
90
91 </div>
92 </div>
93 </div>
94 </div>
95