Version Description
- Better compatibility with themes that remove the wp_nav_menu 'container' parameter.
Download this release
Release Info
Developer | sevenspark |
Plugin | Responsive Select Menu |
Version | 1.3 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.3
- readme.txt +11 -1
- responsive-select-menu.php +21 -9
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: sevenspark
|
|
3 |
Donate link: http://bit.ly/DonateResponsiveSelect
|
4 |
Tags: responsive, menu, select, drop down,
|
5 |
Requires at least: 3.3
|
6 |
-
Tested up to: 3.
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -58,6 +58,10 @@ You can change the name of this item, but it has to exist. Otherwise, you won't
|
|
58 |
if you're not using the "Show currently selected item" - even if you have that option enabled, the issue would still exist on pages not
|
59 |
in the menu.
|
60 |
|
|
|
|
|
|
|
|
|
61 |
|
62 |
|
63 |
== Screenshots ==
|
@@ -67,6 +71,9 @@ in the menu.
|
|
67 |
|
68 |
== Changelog ==
|
69 |
|
|
|
|
|
|
|
70 |
= 1.2 =
|
71 |
* Added option to select specific theme locations to apply the responsive select menu to.
|
72 |
|
@@ -79,6 +86,9 @@ in the menu.
|
|
79 |
|
80 |
== Upgrade Notice ==
|
81 |
|
|
|
|
|
|
|
82 |
= 1.2 =
|
83 |
* Allows you to apply the menu selectively to registered theme locations.
|
84 |
|
3 |
Donate link: http://bit.ly/DonateResponsiveSelect
|
4 |
Tags: responsive, menu, select, drop down,
|
5 |
Requires at least: 3.3
|
6 |
+
Tested up to: 3.5
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
58 |
if you're not using the "Show currently selected item" - even if you have that option enabled, the issue would still exist on pages not
|
59 |
in the menu.
|
60 |
|
61 |
+
= It doesn't work =
|
62 |
+
|
63 |
+
If your theme creates a menu the standard way with wp_nav_menu, it should work. If not, make sure you're using 1.3, as this resolves the most common "it doesn't work" issue.
|
64 |
+
|
65 |
|
66 |
|
67 |
== Screenshots ==
|
71 |
|
72 |
== Changelog ==
|
73 |
|
74 |
+
= 1.3 =
|
75 |
+
* Better compatibility with themes that remove the wp_nav_menu 'container' parameter.
|
76 |
+
|
77 |
= 1.2 =
|
78 |
* Added option to select specific theme locations to apply the responsive select menu to.
|
79 |
|
86 |
|
87 |
== Upgrade Notice ==
|
88 |
|
89 |
+
= 1.3 =
|
90 |
+
* Solves the most common "it doesn't work" scenario. Merry Christmas! :)
|
91 |
+
|
92 |
= 1.2 =
|
93 |
* Allows you to apply the menu selectively to registered theme locations.
|
94 |
|
responsive-select-menu.php
CHANGED
@@ -4,13 +4,13 @@
|
|
4 |
Plugin Name: Responsive Select Menu
|
5 |
Plugin URI: http://wpmegamenu.com/responsive-select-menu
|
6 |
Description: Turn your menu into a select box at small viewport sizes
|
7 |
-
Version: 1.
|
8 |
Author: Chris Mavricos, SevenSpark
|
9 |
Author URI: http://sevenspark.com
|
10 |
Copyright 2011-2012 Chris Mavricos, SevenSpark http://sevenspark.com (email : chris@sevenspark.com)
|
11 |
*/
|
12 |
|
13 |
-
define( 'RESPONSIVE_SELECT_MENU_VERSION', '1.
|
14 |
define( 'RESPONSIVE_SELECT_MENU_SETTINGS', 'responsive-select-menu' );
|
15 |
|
16 |
require_once( 'sparkoptions/SparkOptions.class.php' ); //SevenSpark Options Panel
|
@@ -113,7 +113,7 @@ class ResponsiveMenuSelect{
|
|
113 |
<!-- Responsive Select CSS
|
114 |
================================================================ -->
|
115 |
<style type="text/css" id="responsive-select-css">
|
116 |
-
.responsiveSelectContainer select.responsiveMenuSelect{
|
117 |
display:none;
|
118 |
}
|
119 |
|
@@ -123,10 +123,10 @@ class ResponsiveMenuSelect{
|
|
123 |
background:none !important;
|
124 |
box-shadow:none !important;
|
125 |
}
|
126 |
-
.responsiveSelectContainer ul{
|
127 |
display: none !important;
|
128 |
}
|
129 |
-
.responsiveSelectContainer select.responsiveMenuSelect {
|
130 |
display: inline-block;
|
131 |
width:100%;
|
132 |
}
|
@@ -159,9 +159,13 @@ jQuery(document).ready( function($){
|
|
159 |
return $args;
|
160 |
}
|
161 |
|
162 |
-
$selectNav = $this->selectNavMenu( $args );
|
163 |
|
164 |
-
$args['container_class'].= ' responsiveSelectContainer';
|
|
|
|
|
|
|
|
|
165 |
|
166 |
$args['items_wrap'] = '<ul id="%1$s" class="%2$s">%3$s</ul>'.$selectNav;
|
167 |
|
@@ -411,7 +415,7 @@ jQuery(document).ready( function($){
|
|
411 |
<div class="cf">
|
412 |
<h4>UberMenu - Responsive WordPress Mega Menu Plugin</h4>
|
413 |
|
414 |
-
<a href="http://wpmegamenu.com"><img src="http://
|
415 |
|
416 |
<p>UberMenu is a user-friendly, highly customizable responsive Mega Menu WordPress plugin.
|
417 |
It works out of the box with the WordPress 3 Menu System, making it simple to get started
|
@@ -426,8 +430,16 @@ jQuery(document).ready( function($){
|
|
426 |
|
427 |
<img src="http://3.s3.envato.com/files/12296998/Preview/01_Agility_-_Responsive_Minimal_HTML5.__large_preview.jpg" alt="Agility" />
|
428 |
|
429 |
-
<a href="http://agility.sevenspark.com" class="button save-button" target="_blank">
|
|
|
|
|
|
|
|
|
|
|
|
|
430 |
|
|
|
|
|
431 |
|
432 |
';
|
433 |
|
4 |
Plugin Name: Responsive Select Menu
|
5 |
Plugin URI: http://wpmegamenu.com/responsive-select-menu
|
6 |
Description: Turn your menu into a select box at small viewport sizes
|
7 |
+
Version: 1.3
|
8 |
Author: Chris Mavricos, SevenSpark
|
9 |
Author URI: http://sevenspark.com
|
10 |
Copyright 2011-2012 Chris Mavricos, SevenSpark http://sevenspark.com (email : chris@sevenspark.com)
|
11 |
*/
|
12 |
|
13 |
+
define( 'RESPONSIVE_SELECT_MENU_VERSION', '1.3' );
|
14 |
define( 'RESPONSIVE_SELECT_MENU_SETTINGS', 'responsive-select-menu' );
|
15 |
|
16 |
require_once( 'sparkoptions/SparkOptions.class.php' ); //SevenSpark Options Panel
|
113 |
<!-- Responsive Select CSS
|
114 |
================================================================ -->
|
115 |
<style type="text/css" id="responsive-select-css">
|
116 |
+
.responsiveSelectContainer select.responsiveMenuSelect, select.responsiveMenuSelect{
|
117 |
display:none;
|
118 |
}
|
119 |
|
123 |
background:none !important;
|
124 |
box-shadow:none !important;
|
125 |
}
|
126 |
+
.responsiveSelectContainer ul, ul.responsiveSelectFullMenu{
|
127 |
display: none !important;
|
128 |
}
|
129 |
+
.responsiveSelectContainer select.responsiveMenuSelect, select.responsiveMenuSelect {
|
130 |
display: inline-block;
|
131 |
width:100%;
|
132 |
}
|
159 |
return $args;
|
160 |
}
|
161 |
|
162 |
+
$selectNav = $this->selectNavMenu( $args );
|
163 |
|
164 |
+
$args['container_class'].= ' responsiveSelectContainer';
|
165 |
+
$args['menu_class'].= ' responsiveSelectFullMenu';
|
166 |
+
|
167 |
+
//This line would add a container if it doesn't exist, but has the potential to break certain theme menus
|
168 |
+
//if( $args['container'] != 'nav' ) $args['container'] = 'div'; //make sure there's a container to add class to
|
169 |
|
170 |
$args['items_wrap'] = '<ul id="%1$s" class="%2$s">%3$s</ul>'.$selectNav;
|
171 |
|
415 |
<div class="cf">
|
416 |
<h4>UberMenu - Responsive WordPress Mega Menu Plugin</h4>
|
417 |
|
418 |
+
<a href="http://wpmegamenu.com"><img src="http://2.s3.envato.com/files/43473217/UberMenu_packaging_main_2.2.png" alt="UberMenu" /></a>
|
419 |
|
420 |
<p>UberMenu is a user-friendly, highly customizable responsive Mega Menu WordPress plugin.
|
421 |
It works out of the box with the WordPress 3 Menu System, making it simple to get started
|
430 |
|
431 |
<img src="http://3.s3.envato.com/files/12296998/Preview/01_Agility_-_Responsive_Minimal_HTML5.__large_preview.jpg" alt="Agility" />
|
432 |
|
433 |
+
<a href="http://agility.sevenspark.com" class="button save-button" target="_blank">View the demo →</a>
|
434 |
+
</div>
|
435 |
+
|
436 |
+
<div class="cf">
|
437 |
+
<h4>WordPress Menu Management Enhancer</h4>
|
438 |
+
|
439 |
+
<img src="http://3.s3.envato.com/files/6124310/MenuManager_packaging_main.jpg" alt="Agility" />
|
440 |
|
441 |
+
<a href="http://codecanyon.net/item/menu-management-enhancer-for-wordpress/529353?ref=sevenspark" class="button save-button" target="_blank">View the demo →</a>
|
442 |
+
</div>
|
443 |
|
444 |
';
|
445 |
|