Version Description
- Improved widget interaction handling.
- Synced styles between block, classic, and customizer widgets.
- Fixed customizer widget buttons.
Download this release
Release Info
Developer | Mat Lipe |
Plugin | Advanced Sidebar Menu |
Version | 8.6.1 |
Comparing to | |
See all releases |
Code changes from version 8.6.0 to 8.6.1
- advanced-sidebar-menu.php +3 -3
- readme.txt +6 -1
- resources/css/advanced-sidebar-menu.css +70 -19
- src/List_Pages.php +0 -4
advanced-sidebar-menu.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: https://onpointplugins.com/advanced-sidebar-menu/
|
5 |
* Description: Creates dynamic menus based on parent/child relationship of your pages or categories.
|
6 |
* Author: OnPoint Plugins
|
7 |
-
* Version: 8.6.
|
8 |
* Author URI: https://onpointplugins.com
|
9 |
* Text Domain: advanced-sidebar-menu
|
10 |
* Domain Path: /languages/
|
@@ -19,8 +19,8 @@ if ( defined( 'ADVANCED_SIDEBAR_BASIC_VERSION' ) ) {
|
|
19 |
return;
|
20 |
}
|
21 |
|
22 |
-
define( 'ADVANCED_SIDEBAR_BASIC_VERSION', '8.6.
|
23 |
-
define( 'ADVANCED_SIDEBAR_MENU_REQUIRED_PRO_VERSION', '8.3.
|
24 |
define( 'ADVANCED_SIDEBAR_DIR', plugin_dir_path( __FILE__ ) );
|
25 |
define( 'ADVANCED_SIDEBAR_MENU_URL', plugin_dir_url( __FILE__ ) );
|
26 |
|
4 |
* Plugin URI: https://onpointplugins.com/advanced-sidebar-menu/
|
5 |
* Description: Creates dynamic menus based on parent/child relationship of your pages or categories.
|
6 |
* Author: OnPoint Plugins
|
7 |
+
* Version: 8.6.1
|
8 |
* Author URI: https://onpointplugins.com
|
9 |
* Text Domain: advanced-sidebar-menu
|
10 |
* Domain Path: /languages/
|
19 |
return;
|
20 |
}
|
21 |
|
22 |
+
define( 'ADVANCED_SIDEBAR_BASIC_VERSION', '8.6.1' );
|
23 |
+
define( 'ADVANCED_SIDEBAR_MENU_REQUIRED_PRO_VERSION', '8.3.1' );
|
24 |
define( 'ADVANCED_SIDEBAR_DIR', plugin_dir_path( __FILE__ ) );
|
25 |
define( 'ADVANCED_SIDEBAR_MENU_URL', plugin_dir_url( __FILE__ ) );
|
26 |
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: menus, sidebar menu, hierarchy, category menu, pages menu, dynamic
|
|
6 |
Requires at least: 5.2.0
|
7 |
Tested up to: 5.8.0
|
8 |
Requires PHP: 5.6.0
|
9 |
-
Stable tag: 8.6.
|
10 |
|
11 |
== Description ==
|
12 |
|
@@ -156,6 +156,11 @@ Yes. Based on whatever page, post, or category you are on, the menu will change
|
|
156 |
|
157 |
|
158 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
159 |
= 8.6.0 =
|
160 |
* Support WordPress version 5.8.
|
161 |
* Support Gutenberg widgets screen.
|
6 |
Requires at least: 5.2.0
|
7 |
Tested up to: 5.8.0
|
8 |
Requires PHP: 5.6.0
|
9 |
+
Stable tag: 8.6.1
|
10 |
|
11 |
== Description ==
|
12 |
|
156 |
|
157 |
|
158 |
== Changelog ==
|
159 |
+
= 8.6.1 =
|
160 |
+
* Improved widget interaction handling.
|
161 |
+
* Synced styles between block, classic, and customizer widgets.
|
162 |
+
* Fixed customizer widget buttons.
|
163 |
+
|
164 |
= 8.6.0 =
|
165 |
* Support WordPress version 5.8.
|
166 |
* Support Gutenberg widgets screen.
|
resources/css/advanced-sidebar-menu.css
CHANGED
@@ -112,16 +112,6 @@
|
|
112 |
margin: 0 0 6px !important;
|
113 |
}
|
114 |
|
115 |
-
.advanced-sidebar-menu-styles-box .wp-picker-active {
|
116 |
-
width: 200%;
|
117 |
-
display: block;
|
118 |
-
margin: 25px 0 10px calc(-100% - 5px);
|
119 |
-
}
|
120 |
-
|
121 |
-
.advanced-sidebar-menu-styles-box .wp-picker-clear {
|
122 |
-
width: auto !important;
|
123 |
-
}
|
124 |
-
|
125 |
.advanced-sidebar-menu-column .description {
|
126 |
padding: 0 !important;
|
127 |
margin: 4px 0 0 0 !important;
|
@@ -131,19 +121,38 @@
|
|
131 |
color: #646970;
|
132 |
}
|
133 |
|
|
|
|
|
|
|
|
|
134 |
.advanced-sidebar-menu-column .wp-color-result-text {
|
135 |
background: #fff;
|
136 |
}
|
137 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
.advanced-sidebar-menu-icon-preview {
|
139 |
display: inline-block;
|
140 |
margin: 0 0 0 5px;
|
141 |
}
|
142 |
|
143 |
-
.wp-customizer .advanced-sidebar-menu-icon-preview {
|
144 |
-
margin: 5px 0 0 5px;
|
145 |
-
}
|
146 |
-
|
147 |
.advanced-sidebar-menu-icon-preview .dashicons {
|
148 |
font-size: 25px;
|
149 |
outline: none !important;
|
@@ -202,6 +211,35 @@ select.advanced-sidebar-menu-block-field {
|
|
202 |
color: #0073aa !important;
|
203 |
}
|
204 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
@media all and ( max-width: 1024px ) {
|
206 |
.advanced-sidebar-menu-column {
|
207 |
width: 100%;
|
@@ -226,14 +264,24 @@ select.advanced-sidebar-menu-block-field {
|
|
226 |
.advanced-sidebar-menu-open .advanced-sidebar-menu-column-box {
|
227 |
display: inherit;
|
228 |
}
|
|
|
229 |
|
230 |
-
|
231 |
-
|
232 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
233 |
}
|
234 |
}
|
235 |
|
236 |
-
/**
|
|
|
|
|
|
|
237 |
.elementor-control-content .advanced-sidebar-menu-column {
|
238 |
width: 100%;
|
239 |
}
|
@@ -298,7 +346,10 @@ select.advanced-sidebar-menu-block-field {
|
|
298 |
}
|
299 |
}
|
300 |
|
301 |
-
/**
|
|
|
|
|
|
|
302 |
.fl-field-control-wrapper .advanced-sidebar-menu-column {
|
303 |
width: calc(100% + 20px) !important;
|
304 |
margin-left: -20px !important;
|
112 |
margin: 0 0 6px !important;
|
113 |
}
|
114 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
.advanced-sidebar-menu-column .description {
|
116 |
padding: 0 !important;
|
117 |
margin: 4px 0 0 0 !important;
|
121 |
color: #646970;
|
122 |
}
|
123 |
|
124 |
+
/**
|
125 |
+
* Color pickers
|
126 |
+
*
|
127 |
+
* --------------------------------------------------- */
|
128 |
.advanced-sidebar-menu-column .wp-color-result-text {
|
129 |
background: #fff;
|
130 |
}
|
131 |
|
132 |
+
.advanced-sidebar-menu-column .asm-color-select {
|
133 |
+
width: 100px !important;
|
134 |
+
display: inline-block !important;
|
135 |
+
}
|
136 |
+
|
137 |
+
.advanced-sidebar-menu-styles-box .wp-picker-active {
|
138 |
+
margin: 30px 0 10px calc(-100% - 5px) !important;
|
139 |
+
}
|
140 |
+
|
141 |
+
.advanced-sidebar-menu-column .wp-picker-active .wp-picker-clear {
|
142 |
+
width: auto !important;
|
143 |
+
margin: 0 0 0 6px !important;
|
144 |
+
display: inline-block !important;
|
145 |
+
height: 30px !important;
|
146 |
+
min-height: inherit !important;
|
147 |
+
line-height: 1 !important;
|
148 |
+
vertical-align: top !important;
|
149 |
+
}
|
150 |
+
|
151 |
.advanced-sidebar-menu-icon-preview {
|
152 |
display: inline-block;
|
153 |
margin: 0 0 0 5px;
|
154 |
}
|
155 |
|
|
|
|
|
|
|
|
|
156 |
.advanced-sidebar-menu-icon-preview .dashicons {
|
157 |
font-size: 25px;
|
158 |
outline: none !important;
|
211 |
color: #0073aa !important;
|
212 |
}
|
213 |
|
214 |
+
/**
|
215 |
+
* Customizer
|
216 |
+
*
|
217 |
+
------------------------------------- */
|
218 |
+
.wp-customizer .advanced-sidebar-menu-icon-preview {
|
219 |
+
margin: 5px 0 0 5px;
|
220 |
+
}
|
221 |
+
|
222 |
+
.wp-customizer .advanced-sidebar-menu-column {
|
223 |
+
width: 100%;
|
224 |
+
}
|
225 |
+
|
226 |
+
.wp-customizer .advanced-sidebar-menu-column .advanced-sidebar-menu-column {
|
227 |
+
width: 49%;
|
228 |
+
}
|
229 |
+
|
230 |
+
.wp-customizer .advanced-sidebar-menu-column-right {
|
231 |
+
margin-left: 0;
|
232 |
+
}
|
233 |
+
|
234 |
+
.wp-customizer .advanced-sidebar-menu-column .asm-color-select {
|
235 |
+
width: 100px !important;
|
236 |
+
display: inline-block !important;
|
237 |
+
}
|
238 |
+
|
239 |
+
/*
|
240 |
+
* Media Queries
|
241 |
+
*
|
242 |
+
------------------------------------------ */
|
243 |
@media all and ( max-width: 1024px ) {
|
244 |
.advanced-sidebar-menu-column {
|
245 |
width: 100%;
|
264 |
.advanced-sidebar-menu-open .advanced-sidebar-menu-column-box {
|
265 |
display: inherit;
|
266 |
}
|
267 |
+
}
|
268 |
|
269 |
+
@media all and (max-width: 780px) {
|
270 |
+
.advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column select,
|
271 |
+
.advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column input {
|
272 |
+
width: 145px !important;
|
273 |
+
}
|
274 |
+
|
275 |
+
.wp-customizer .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column select,
|
276 |
+
.wp-customizer .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column input {
|
277 |
+
width: 132px !important;
|
278 |
}
|
279 |
}
|
280 |
|
281 |
+
/**
|
282 |
+
* Elementor
|
283 |
+
*
|
284 |
+
----------------------------------------------*/
|
285 |
.elementor-control-content .advanced-sidebar-menu-column {
|
286 |
width: 100%;
|
287 |
}
|
346 |
}
|
347 |
}
|
348 |
|
349 |
+
/**
|
350 |
+
* Beaver Builder
|
351 |
+
*
|
352 |
+
----------------------------------------------*/
|
353 |
.fl-field-control-wrapper .advanced-sidebar-menu-column {
|
354 |
width: calc(100% + 20px) !important;
|
355 |
margin-left: -20px !important;
|
src/List_Pages.php
CHANGED
@@ -279,10 +279,6 @@ class List_Pages {
|
|
279 |
$inside .= "</li>\n";
|
280 |
}
|
281 |
|
282 |
-
if ( '' === $inside ) {
|
283 |
-
return '';
|
284 |
-
}
|
285 |
-
|
286 |
return $content . $inside . "</ul>\n";
|
287 |
}
|
288 |
|
279 |
$inside .= "</li>\n";
|
280 |
}
|
281 |
|
|
|
|
|
|
|
|
|
282 |
return $content . $inside . "</ul>\n";
|
283 |
}
|
284 |
|