Responsive Menu - Version 3.0.13

Version Description

(22nd September 2016) = * Requires PHP 5.4 * Made menu background image option free (feeling generous today!)

Download this release

Release Info

Developer ResponsiveMenu
Plugin Icon 128x128 Responsive Menu
Version 3.0.13
Comparing to
See all releases

Code changes from version 3.0.12 to 3.0.13

readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://responsive.menu/donate
4
  Tags: responsive, menu, responsive menu, mobile menu, wordpress responsive menu, wp responsive menu, tablet menu, mobile, tablet, 3 lines, 3 line, three line, three lines
5
  Requires at least: 3.5.0
6
  Tested up to: 4.6
7
- Stable tag: 3.0.12
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -27,12 +27,17 @@ PHP 5.4+
27
  <br /><br />
28
  <a href="https://responsive.menu/docs/">https://responsive.menu/docs/</a>
29
  <br /><br />
 
 
 
 
30
  **Basic Functionality:**
31
  <ul>
32
  <li>Change every colour</li>
33
  <li>Set the fonts, font sizes and text alignment you want to use</li>
34
  <li>Set which side and where you want the button to show</li>
35
  <li>Set which side the menu appears from (left, right, top or bottom)</li>
 
36
  <li>Choice of menu animations (slide over the top or push the content)</li>
37
  <li>Choice of which Menu to use</li>
38
  <li>Choice of screen size at which the menu will be shown</li>
@@ -54,7 +59,6 @@ PHP 5.4+
54
 
55
  **Advanced & Pro Functionality:**
56
  <ul>
57
- <li>Use background image for the menu</li>
58
  <li>Preview your changes before implementing</li>
59
  <li>FontIcon Support for individual menu items</li>
60
  <li>15 button animation effects</li>
@@ -66,6 +70,8 @@ PHP 5.4+
66
 
67
  For more reasons to go Pro, please visit <a target="_blank" href="https://responsive.menu/why-go-pro/">this page</a>.
68
 
 
 
69
  == Installation ==
70
 
71
  1. Upload `responsive-menu` to the `/wp-content/plugins/` directory
@@ -94,22 +100,28 @@ To view our whole FAQ, please go to https://responsive.menu/faq/
94
 
95
  == Screenshots ==
96
 
97
- 1. Example Front End Menu Button
98
 
99
- 2. Front End Expanded Menu with Background Image (requires Pro)
100
 
101
- 3. Alternative Example Front End Expanded Menu with Background Image (requires Pro)
102
 
103
- 4. Alternative Example Front End Expanded Menu with Background Image (requires Pro)
104
 
105
- 5. Alternative Example Front End Expanded Menu with Background Image (requires Pro)
106
 
107
- 6. Fully customisable Admin Screen
 
 
108
 
109
  == Changelog ==
110
 
 
 
 
 
111
  = 3.0.12 (22nd September 2016) =
112
- ** Requires PHP 5.4**
113
  * Fixed close menu on link click bug with single header (Pro only)
114
  * Fixed conflict bug with "close on link clicks" and "disable parent click" options
115
  * Added header bar title link to WPML/Polylang
@@ -117,7 +129,7 @@ To view our whole FAQ, please go to https://responsive.menu/faq/
117
  * Link target now taken into account with "Close Menu on Link Clicks"
118
 
119
  = 3.0.11 (29th August 2016) =
120
- ** Requires PHP 5.4**
121
  * Fixed export options bug (Pro only)
122
  * Fixed shortcode attributes bug
123
 
4
  Tags: responsive, menu, responsive menu, mobile menu, wordpress responsive menu, wp responsive menu, tablet menu, mobile, tablet, 3 lines, 3 line, three line, three lines
5
  Requires at least: 3.5.0
6
  Tested up to: 4.6
7
+ Stable tag: 3.0.13
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
27
  <br /><br />
28
  <a href="https://responsive.menu/docs/">https://responsive.menu/docs/</a>
29
  <br /><br />
30
+ **Fully unit tested:**
31
+ <br /><br />
32
+ 100% unit test coverage with tests included in the plugin so you can run them yourself for peace of mind.
33
+ <br /><br />
34
  **Basic Functionality:**
35
  <ul>
36
  <li>Change every colour</li>
37
  <li>Set the fonts, font sizes and text alignment you want to use</li>
38
  <li>Set which side and where you want the button to show</li>
39
  <li>Set which side the menu appears from (left, right, top or bottom)</li>
40
+ <li>Use background image for the menu</li>
41
  <li>Choice of menu animations (slide over the top or push the content)</li>
42
  <li>Choice of which Menu to use</li>
43
  <li>Choice of screen size at which the menu will be shown</li>
59
 
60
  **Advanced & Pro Functionality:**
61
  <ul>
 
62
  <li>Preview your changes before implementing</li>
63
  <li>FontIcon Support for individual menu items</li>
64
  <li>15 button animation effects</li>
70
 
71
  For more reasons to go Pro, please visit <a target="_blank" href="https://responsive.menu/why-go-pro/">this page</a>.
72
 
73
+ [youtube https://www.youtube.com/watch?v=aj6ba0tGKPg]
74
+
75
  == Installation ==
76
 
77
  1. Upload `responsive-menu` to the `/wp-content/plugins/` directory
100
 
101
  == Screenshots ==
102
 
103
+ 1. Animated Screencast
104
 
105
+ 2. Example Front End Menu Button
106
 
107
+ 3. Front End Expanded Menu with Background Image
108
 
109
+ 4. Alternative Example Front End Expanded Menu with Background Image
110
 
111
+ 5. Alternative Example Front End Expanded Menu with Background Image
112
 
113
+ 6. Alternative Example Front End Expanded Menu with Background Image
114
+
115
+ 7. Fully customisable Admin Screen
116
 
117
  == Changelog ==
118
 
119
+ = 3.0.13 (22nd September 2016) =
120
+ * **Requires PHP 5.4**
121
+ * Made menu background image option free (feeling generous today!)
122
+
123
  = 3.0.12 (22nd September 2016) =
124
+ * **Requires PHP 5.4**
125
  * Fixed close menu on link click bug with single header (Pro only)
126
  * Fixed conflict bug with "close on link clicks" and "disable parent click" options
127
  * Added header bar title link to WPML/Polylang
129
  * Link target now taken into account with "Close Menu on Link Clicks"
130
 
131
  = 3.0.11 (29th August 2016) =
132
+ * **Requires PHP 5.4**
133
  * Fixed export options bug (Pro only)
134
  * Fixed shortcode attributes bug
135
 
responsive-menu.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Responsive Menu
5
  Plugin URI: https://responsive.menu
6
  Description: Highly Customisable Responsive Menu Plugin for WordPress
7
- Version: 3.0.12
8
  Author: Responsive Menu
9
  Text Domain: responsive-menu
10
  Author URI: https://responsive.menu
4
  Plugin Name: Responsive Menu
5
  Plugin URI: https://responsive.menu
6
  Description: Highly Customisable Responsive Menu Plugin for WordPress
7
+ Version: 3.0.13
8
  Author: Responsive Menu
9
  Text Domain: responsive-menu
10
  Author URI: https://responsive.menu
src/app/Mappers/ScssMenuMapper.php CHANGED
@@ -33,6 +33,7 @@ class ScssMenuMapper extends ScssMapper {
33
  #responsive-menu-container {
34
  width: {$options['menu_width']}%;
35
  {$options['menu_appear_from']}: 0;
 
36
  background: {$options['menu_background_colour']};
37
  transition: transform {$options['animation_speed']}s;
38
  text-align: {$options['menu_text_alignment']};
@@ -157,6 +158,25 @@ class ScssMenuMapper extends ScssMapper {
157
  }
158
  }
159
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  }
161
  @if '{$options['menu_to_hide']}' != '' {
162
  & {$options['menu_to_hide']} {
33
  #responsive-menu-container {
34
  width: {$options['menu_width']}%;
35
  {$options['menu_appear_from']}: 0;
36
+
37
  background: {$options['menu_background_colour']};
38
  transition: transform {$options['animation_speed']}s;
39
  text-align: {$options['menu_text_alignment']};
158
  }
159
  }
160
  }
161
+
162
+ @if '{$options['menu_background_image']}' != '' {
163
+ background: url('{$options['menu_background_image']}');
164
+ background-size: cover;
165
+ #responsive-menu-title,
166
+ #responsive-menu-title:hover,
167
+ #responsive-menu li.responsive-menu-item a,
168
+ #responsive-menu li.responsive-menu-item a:hover,
169
+ #responsive-menu li.responsive-menu-item a .responsive-menu-subarrow,
170
+ #responsive-menu li.responsive-menu-item a .responsive-menu-subarrow:hover,
171
+ #responsive-menu li.responsive-menu-item a:hover .responsive-menu-subarrow,
172
+ #responsive-menu li.responsive-menu-item.responsive-menu-current-item > .responsive-menu-item-link,
173
+ #responsive-menu li.responsive-menu-item.responsive-menu-current-item > .responsive-menu-item-link:hover,
174
+ #responsive-menu-wrapper {
175
+ background: none;
176
+ border: 0;
177
+ }
178
+ }
179
+
180
  }
181
  @if '{$options['menu_to_hide']}' != '' {
182
  & {$options['menu_to_hide']} {
src/config/admin_ordering.php CHANGED
@@ -271,9 +271,8 @@ $order_mapping = [
271
  [
272
  'option' => 'menu_background_image',
273
  'title' => __('Background Image', 'responsive-menu'),
274
- 'label' => __('', 'responsive-menu'),
275
- 'type' => 'image',
276
- 'pro' => true
277
  ],
278
  [
279
  'option' => 'menu_background_colour',
271
  [
272
  'option' => 'menu_background_image',
273
  'title' => __('Background Image', 'responsive-menu'),
274
+ 'label' => __('Enabling this will deactivate all other colour options', 'responsive-menu'),
275
+ 'type' => 'image'
 
276
  ],
277
  [
278
  'option' => 'menu_background_colour',
src/config/services.php CHANGED
@@ -3,7 +3,7 @@
3
  $container = new ResponsiveMenu\Routing\Container();
4
 
5
  $container['current_version'] = function($c) {
6
- return '3.0.12';
7
  };
8
 
9
  $container['option_helpers'] = function($c) {
3
  $container = new ResponsiveMenu\Routing\Container();
4
 
5
  $container['current_version'] = function($c) {
6
+ return '3.0.13';
7
  };
8
 
9
  $container['option_helpers'] = function($c) {