ShiftNav – Responsive Mobile Menu - Version 1.5.2

Version Description

  • Enhancement: Reorganize code to better handle deferred and async javascript
  • Enhancement: Add disable_content attribute to shiftnav_toggle shortcode
  • Enhancement: Don't throw error when there's an invalid hash string
Download this release

Release Info

Developer sevenspark
Plugin Icon 128x128 ShiftNav – Responsive Mobile Menu
Version 1.5.2
Comparing to
See all releases

Code changes from version 1.5.1.2 to 1.5.2

Gruntfile.js CHANGED
@@ -16,7 +16,7 @@ module.exports = function(grunt) {
16
  minify: {
17
  files: {
18
  'assets/css/shiftnav.min.css' : ['assets/css/shiftnav.css'],
19
- //'pro/assets/css/shiftnav.min.css' : ['pro/assets/css/shiftnav.css']
20
  }
21
  }
22
  /*
@@ -32,7 +32,7 @@ module.exports = function(grunt) {
32
 
33
  'closure-compiler': {
34
  frontend: {
35
- //closurePath: '/usr/local/lib/closure-compiler',
36
  js: 'assets/js/*.js',
37
  jsOutputFile: 'assets/js/shiftnav.min.js',
38
  maxBuffer: 500,
@@ -52,6 +52,9 @@ module.exports = function(grunt) {
52
  {
53
  "assets/css/shiftnav.css": "assets/css/shiftnav.less"
54
  },
 
 
 
55
  ]
56
  }
57
  },
@@ -59,7 +62,7 @@ module.exports = function(grunt) {
59
  makepot: {
60
  target: {
61
  options: {
62
- mainFile: 'shiftnav-responsive-mobile-menu.php',
63
  domainPath: '/languages',
64
  potFilename: 'shiftnav.pot',
65
  // include: [
@@ -89,7 +92,6 @@ module.exports = function(grunt) {
89
  grunt.registerTask('compile', ['closure-compiler']);
90
 
91
  // Default task(s).
92
- //grunt.registerTask('default', ['less','closure-compiler','makepot']);
93
- grunt.registerTask('default', ['less','cssmin','closure-compiler','makepot']);
94
 
95
  };
16
  minify: {
17
  files: {
18
  'assets/css/shiftnav.min.css' : ['assets/css/shiftnav.css'],
19
+ 'pro/assets/css/shiftnav.min.css' : ['pro/assets/css/shiftnav.css']
20
  }
21
  }
22
  /*
32
 
33
  'closure-compiler': {
34
  frontend: {
35
+ closurePath: '/usr/local/opt/closure-compiler/libexec',
36
  js: 'assets/js/*.js',
37
  jsOutputFile: 'assets/js/shiftnav.min.js',
38
  maxBuffer: 500,
52
  {
53
  "assets/css/shiftnav.css": "assets/css/shiftnav.less"
54
  },
55
+ {
56
+ "pro/assets/css/shiftnav.css": "pro/assets/css/shiftnav.less"
57
+ },
58
  ]
59
  }
60
  },
62
  makepot: {
63
  target: {
64
  options: {
65
+ mainFile: 'shiftnav.php',
66
  domainPath: '/languages',
67
  potFilename: 'shiftnav.pot',
68
  // include: [
92
  grunt.registerTask('compile', ['closure-compiler']);
93
 
94
  // Default task(s).
95
+ grunt.registerTask('default', ['less','closure-compiler','makepot']);
 
96
 
97
  };
admin/settings.config.php CHANGED
@@ -82,13 +82,6 @@ function shiftnav_get_settings_fields(){
82
 
83
  ),
84
 
85
- 90040 => array(
86
- 'name' => 'swipe_open',
87
- 'label' => __( 'Swipe Open', 'shiftnav' ),
88
- 'desc' => __( 'Swipe to open the main ShiftNav Panel in iOS and Android. Not all themes will be compatible, as touch swipes can conflict with theme scripts. Make sure enabling this doesn\'t prevent other touch functionality on your site from working', 'shiftnav' ),
89
- 'type' => 'checkbox',
90
- 'default' => 'off'
91
- ),
92
 
93
  50 => array(
94
  'name' => 'skin',
@@ -487,38 +480,6 @@ function shiftnav_get_settings_fields(){
487
 
488
 
489
 
490
- 120 => array(
491
- 'name' => 'swipe_close',
492
- 'label' => __( 'Swipe Close', 'shiftnav' ),
493
- 'desc' => __( 'Enable swiping to close the ShiftNav panel on Android and iOS. Touch events may not interact well with all themes.', 'shiftnav' ),
494
- 'type' => 'checkbox',
495
- 'default' => 'off'
496
- ),
497
-
498
- 130 => array(
499
- 'name' => 'swipe_tolerance_x',
500
- 'label' => __( 'Swipe Tolerance: Horizontal', 'shiftnav' ),
501
- 'desc' => __( 'The minimum horizontal pixel distance before the swipe is triggered. Do not include <code>px</code>', 'shiftnav' ),
502
- 'type' => 'text',
503
- 'default' => 150
504
- ),
505
-
506
- 140 => array(
507
- 'name' => 'swipe_tolerance_y',
508
- 'label' => __( 'Swipe Tolerance: Vertical', 'shiftnav' ),
509
- 'desc' => __( 'The maximum horizontal pixel distance allowed for the swipe to be triggered. Do not include <code>px</code>', 'shiftnav' ),
510
- 'type' => 'text',
511
- 'default' => 60
512
- ),
513
-
514
- 150 => array(
515
- 'name' => 'swipe_edge_proximity',
516
- 'label' => __( 'Swipe Edge Proximity', 'shiftnav' ),
517
- 'desc' => __( 'The distance from the edge, within which the first touch event must occur for the swipe to be triggered. Do not include <code>px</code>', 'shiftnav' ),
518
- 'type' => 'text',
519
- 'default' => 80
520
- ),
521
-
522
  160 => array(
523
  'name' => 'open_current',
524
  'label' => __( 'Open Current Accordion Submenu', 'shiftnav' ),
82
 
83
  ),
84
 
 
 
 
 
 
 
 
85
 
86
  50 => array(
87
  'name' => 'skin',
480
 
481
 
482
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
483
  160 => array(
484
  'name' => 'open_current',
485
  'label' => __( 'Open Current Accordion Submenu', 'shiftnav' ),
assets/js/shiftnav.js CHANGED
@@ -6,6 +6,55 @@
6
  * Copyright Chris Mavricos, SevenSpark http://sevenspark.com
7
  */
8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  ;(function ( $, window, document, undefined ) {
10
 
11
  var pluginName = "shiftnav",
@@ -16,9 +65,7 @@
16
  clicktest: false,
17
  windowstest: false,
18
  debug: false,
19
- swipe_tolerance_x: 150, //min distance to swipe
20
- swipe_tolerance_y: 30, //max vertical displacement
21
- swipe_edge_proximity: 70, //maximum distance from edge
22
  open_current: false,
23
  collapse_accordions: false,
24
  scroll_offset:100,
@@ -83,7 +130,6 @@
83
  this.initializeSubmenuToggleMouseEvents();
84
  this.initializeRetractors();
85
  this.initializeResponsiveToggle();
86
- this.initializeSwipeHandler();
87
 
88
  //this.initializeTouchoffClose(); //attached on open instead
89
 
@@ -163,69 +209,6 @@
163
  }
164
 
165
 
166
- //Setup swipe open on MAIN SHIFTNAV only
167
- if( shiftnav_data.swipe_open == 'on' ){
168
- var wrap_start_y = 0,
169
- wrap_start_x = 0,
170
- wrap_cur_y = 0,
171
- wrap_cur_x = 0,
172
- viewport_width = $( window ).width();
173
-
174
-
175
- if( shiftnav_data.shift_body == 'off' ) $wrap = $( 'body' );
176
-
177
- $wrap.on( 'touchstart' , function( e ){
178
- if( plugin.settings.breakpoint && $( window ).width() > plugin.settings.breakpoint ) return;
179
- wrap_start_y = e.originalEvent.changedTouches[0].pageY;
180
- wrap_start_x = e.originalEvent.changedTouches[0].pageX;
181
- //console.log( "START: " + wrap_start_x );
182
- });
183
-
184
- //Left edge activate on swipe from left
185
- if( $( '#shiftnav-main' ).hasClass( 'shiftnav-left-edge' ) ){
186
- $wrap.on( 'touchmove' , function( e ){
187
- wrap_cur_x = e.originalEvent.changedTouches[0].pageX;
188
- //console.log( wrap_cur_x );
189
-
190
- //if close to left edge
191
- if( wrap_start_x < plugin.settings.swipe_edge_proximity ){
192
- e.preventDefault();
193
-
194
- //if swipe more than 150
195
- if( wrap_cur_x - wrap_start_x > plugin.settings.swipe_tolerance_x ){
196
- wrap_cur_y = e.originalEvent.changedTouches[0].pageY;
197
- if( Math.abs( wrap_cur_y - wrap_start_y ) < plugin.settings.swipe_tolerance_y ){
198
- plugin.openShiftNav( 'swipe right' );
199
- e.stopPropagation();
200
- }
201
- }
202
- }
203
- });
204
- }
205
- //Right edge activate on swipe from right
206
- else{
207
- $wrap.on( 'touchmove' , function( e ){
208
- wrap_cur_x = e.originalEvent.changedTouches[0].pageX;
209
-
210
- //if we start from the edge, tell android we've got this covered
211
- if( wrap_start_x > ( viewport_width - plugin.settings.swipe_edge_proximity ) ){
212
- e.preventDefault();
213
-
214
- //if swipe more than 150, open panel
215
- if( ( wrap_start_x - wrap_cur_x > plugin.settings.swipe_tolerance_x ) ){
216
- wrap_cur_y = e.originalEvent.changedTouches[0].pageY;
217
- if( Math.abs( wrap_cur_y - wrap_start_y ) < plugin.settings.swipe_tolerance_y ){
218
- plugin.openShiftNav( 'swipe left' );
219
- e.stopPropagation();
220
- }
221
- }
222
- }
223
-
224
-
225
- });
226
- }
227
- }
228
-
229
  //Handle searchbar toggle
230
  $( '.shiftnav-searchbar-toggle' ).on( this.toggleevent , function( e ){
231
  e.stopPropagation();
@@ -453,102 +436,7 @@
453
  return false;
454
  },
455
 
456
- initializeSwipeHandler: function(){
457
-
458
- var $body = $('body'),
459
- start_y = 0,
460
- start_x = 0,
461
- cur_y = 0,
462
- cur_x = 0,
463
- diff_y = 0,
464
- diff_x = 0,
465
- plugin = this,
466
- scrollprevented = false,
467
- viewport_height = $(window).height(),
468
- $scrollPanel = this.$shiftnav.find( '.shiftnav-inner' );
469
-
470
- //Track where touches start
471
- $scrollPanel.on( 'touchstart' , function( e ){
472
- start_y = e.originalEvent.changedTouches[0].pageY;
473
- start_x = e.originalEvent.changedTouches[0].pageX;
474
- });
475
-
476
- //On drag, when at extents of scroll panel, prevent scrolling of background
477
- $scrollPanel.on( this.touchMove , function( e ){
478
-
479
- scrollprevented = false; //keep track to maximize efficiency
480
-
481
- //If the ShiftNav panel is too short to scroll, prevent scrolling entirely
482
- //Check here because panel height can change when submenus are expanded
483
- if( viewport_height >= $scrollPanel[0].scrollHeight ){
484
- scrollprevented = true;
485
- e.preventDefault();
486
- }
487
- //If at top of scroll panel, prevent scrolling up
488
- else if( e.currentTarget.scrollTop === 0 ){
489
- cur_y = e.originalEvent.changedTouches[0].pageY;
490
- if( cur_y > start_y ){
491
- //console.log( 'TOP | scrolling up' );
492
- scrollprevented = true;
493
- e.preventDefault();
494
- }
495
- }
496
- //If at bottom of scroll panel, prevent scrolling down
497
- else if( e.currentTarget.scrollHeight === e.currentTarget.scrollTop + e.currentTarget.offsetHeight ){
498
- cur_y = e.originalEvent.changedTouches[0].pageY;
499
- if( cur_y < start_y ){
500
- //console.log( 'BOTTOM | scrolling down' );
501
- scrollprevented = true;
502
- e.preventDefault();
503
- }
504
- }
505
-
506
- //If the scroll hasn't already been nuked, but
507
- //we're scrolling horizontally instead of vertically, stop that
508
- if( !scrollprevented ){
509
- diff_y = Math.abs( start_y - e.originalEvent.changedTouches[0].pageY );
510
- diff_x = Math.abs( start_x - e.originalEvent.changedTouches[0].pageX );
511
- if( diff_y < diff_x ){
512
- e.preventDefault();
513
- //console.log( 'scroll prevented ! ' + diff_y + ' ' + diff_x );
514
- }
515
- }
516
- });
517
-
518
- //Swipe in the appropriate direction to close the menu
519
- if( shiftnav_data.swipe_close == 'on' ){
520
-
521
- if( this.$shiftnav.hasClass( 'shiftnav-right-edge' ) ){
522
- $scrollPanel.on( 'touchmove' , function( e ){
523
- cur_x = e.originalEvent.changedTouches[0].pageX;
524
- //console.log( cur_x );
525
- if( cur_x - start_x > plugin.settings.swipe_tolerance_x ){
526
- if( Math.abs( cur_y - start_y ) < plugin.settings.swipe_tolerance_y ){
527
- plugin.closeShiftNav();
528
- e.preventDefault();
529
- }
530
- }
531
- });
532
- }
533
- else{
534
- $scrollPanel.on( 'touchmove' , function( e ){
535
- cur_x = e.originalEvent.changedTouches[0].pageX;
536
- //console.log( cur_x );
537
- if( start_x - cur_x > plugin.settings.swipe_tolerance_x ){
538
- cur_y = e.originalEvent.changedTouches[0].pageY;
539
- if( Math.abs( cur_y - start_y ) < plugin.settings.swipe_tolerance_y ){
540
- plugin.closeShiftNav();
541
- e.preventDefault();
542
- }
543
- }
544
- e.stopPropagation();
545
- });
546
- }
547
- }
548
-
549
-
550
-
551
- },
552
 
553
  openShiftNav: function( tag ){
554
 
@@ -842,9 +730,6 @@
842
 
843
  //Run ShiftNav
844
  jQuery( '.shiftnav' ).shiftnav({
845
- swipe_tolerance_x : parseInt( shiftnav_data.swipe_tolerance_x ),
846
- swipe_tolerance_y : parseInt( shiftnav_data.swipe_tolerance_y ),
847
- swipe_edge_proximity : parseInt( shiftnav_data.swipe_edge_proximity ),
848
  open_current : shiftnav_data.open_current == 'on' ? true : false,
849
  collapse_accordions : shiftnav_data.collapse_accordions == 'on' ? true : false,
850
  breakpoint : parseInt( shiftnav_data.breakpoint ),
@@ -858,9 +743,11 @@
858
 
859
  //Scroll to non-ID "hashes"
860
  if( window.location.hash.substring(1,2) == '.' ){
861
- var $scrollTarget = $( window.location.hash.substring(1) );
862
- var top = $scrollTarget.offset().top - shiftnav_data.scroll_offset;
863
- if( $scrollTarget.length ) window.scrollTo( 0 , top );
 
 
864
  }
865
 
866
  if( window.location.hash ){
@@ -880,52 +767,3 @@
880
  }
881
 
882
  })(jQuery);
883
-
884
-
885
- (function($,sr){
886
- // debouncing function from John Hann
887
- // http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/
888
- var debounce = function (func, threshold, execAsap) {
889
- var timeout;
890
- return function debounced () {
891
- var obj = this, args = arguments;
892
- function delayed () {
893
- if (!execAsap)
894
- func.apply(obj, args);
895
- timeout = null;
896
- };
897
- if (timeout)
898
- clearTimeout(timeout);
899
- else if (execAsap)
900
- func.apply(obj, args);
901
- timeout = setTimeout(delayed, threshold || 100);
902
- };
903
- }
904
- jQuery.fn[sr] = function(fn){ return fn ? this.bind('resize', debounce(fn)) : this.trigger(sr); };
905
-
906
- })(jQuery,'shiftsmartresize');
907
-
908
-
909
- var shift_supports = (function() {
910
- var div = document.createElement('div'),
911
- vendors = 'Khtml Ms O Moz Webkit'.split(' ');
912
-
913
-
914
- return function(prop) {
915
-
916
- var len = vendors.length;
917
-
918
- if ( prop in div.style ) return true;
919
-
920
- prop = prop.replace(/^[a-z]/, function(val) {
921
- return val.toUpperCase();
922
- });
923
-
924
- while(len--) {
925
- if ( vendors[len] + prop in div.style ) {
926
- return true;
927
- }
928
- }
929
- return false;
930
- };
931
- })();
6
  * Copyright Chris Mavricos, SevenSpark http://sevenspark.com
7
  */
8
 
9
+ ;(function($,sr){
10
+ // debouncing function from John Hann
11
+ // http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/
12
+ var debounce = function (func, threshold, execAsap) {
13
+ var timeout;
14
+ return function debounced () {
15
+ var obj = this, args = arguments;
16
+ function delayed () {
17
+ if (!execAsap)
18
+ func.apply(obj, args);
19
+ timeout = null;
20
+ };
21
+ if (timeout)
22
+ clearTimeout(timeout);
23
+ else if (execAsap)
24
+ func.apply(obj, args);
25
+ timeout = setTimeout(delayed, threshold || 100);
26
+ };
27
+ }
28
+ jQuery.fn[sr] = function(fn){ return fn ? this.bind('resize', debounce(fn)) : this.trigger(sr); };
29
+
30
+ })(jQuery,'shiftsmartresize');
31
+
32
+
33
+ var shift_supports = (function() {
34
+ var div = document.createElement('div'),
35
+ vendors = 'Khtml Ms O Moz Webkit'.split(' ');
36
+
37
+
38
+ return function(prop) {
39
+
40
+ var len = vendors.length;
41
+
42
+ if ( prop in div.style ) return true;
43
+
44
+ prop = prop.replace(/^[a-z]/, function(val) {
45
+ return val.toUpperCase();
46
+ });
47
+
48
+ while(len--) {
49
+ if ( vendors[len] + prop in div.style ) {
50
+ return true;
51
+ }
52
+ }
53
+ return false;
54
+ };
55
+ })();
56
+
57
+
58
  ;(function ( $, window, document, undefined ) {
59
 
60
  var pluginName = "shiftnav",
65
  clicktest: false,
66
  windowstest: false,
67
  debug: false,
68
+
 
 
69
  open_current: false,
70
  collapse_accordions: false,
71
  scroll_offset:100,
130
  this.initializeSubmenuToggleMouseEvents();
131
  this.initializeRetractors();
132
  this.initializeResponsiveToggle();
 
133
 
134
  //this.initializeTouchoffClose(); //attached on open instead
135
 
209
  }
210
 
211
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
212
  //Handle searchbar toggle
213
  $( '.shiftnav-searchbar-toggle' ).on( this.toggleevent , function( e ){
214
  e.stopPropagation();
436
  return false;
437
  },
438
 
439
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
440
 
441
  openShiftNav: function( tag ){
442
 
730
 
731
  //Run ShiftNav
732
  jQuery( '.shiftnav' ).shiftnav({
 
 
 
733
  open_current : shiftnav_data.open_current == 'on' ? true : false,
734
  collapse_accordions : shiftnav_data.collapse_accordions == 'on' ? true : false,
735
  breakpoint : parseInt( shiftnav_data.breakpoint ),
743
 
744
  //Scroll to non-ID "hashes"
745
  if( window.location.hash.substring(1,2) == '.' ){
746
+ var $scrollTarget = $( window.location.hash.substring(1) );
747
+ if( $scrollTarget.length ){
748
+ var top = $scrollTarget.offset().top - shiftnav_data.scroll_offset;
749
+ if( $scrollTarget.length ) window.scrollTo( 0 , top );
750
+ }
751
  }
752
 
753
  if( window.location.hash ){
767
  }
768
 
769
  })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/shiftnav.min.js CHANGED
@@ -1,31 +1,27 @@
1
- (function(b,g,h,e){function k(a,d){this.element=a;this.$shiftnav=b(this.element);this.$menu=this.$shiftnav.find("ul.shiftnav-menu");this.settings=b.extend({},p,d);this._defaults=p;this._name="shiftnav";this.touchenabled="ontouchstart"in g||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints;g.navigator.pointerEnabled?(this.touchStart="pointerdown",this.touchEnd="pointerup",this.touchMove="pointermove"):g.navigator.msPointerEnabled?(this.touchStart="MSPointerDown",this.touchEnd="MSPointerUp",
2
- this.touchMove="MSPointerMove"):(this.touchStart="touchstart",this.touchEnd="touchend",this.touchMove="touchmove");this.toggleevent="touchend"==this.touchEnd?this.touchEnd+" click":this.touchEnd;this.transitionend="transitionend.shiftnav webkitTransitionEnd.shiftnav msTransitionEnd.shiftnav oTransitionEnd.shiftnav";this.settings.clicktest&&(this.touchEnd="click");this.init()}var p={mouseEvents:!0,retractors:!0,touchOffClose:!0,clicktest:!1,windowstest:!1,debug:!1,swipe_tolerance_x:150,swipe_tolerance_y:30,
3
- swipe_edge_proximity:70,open_current:!1,collapse_accordions:!1,scroll_offset:100,disable_transforms:!1};k.prototype={init:function(){this.$shiftnav.removeClass("shiftnav-nojs");this.$toggles=b('.shiftnav-toggle[data-shiftnav-target="'+this.$shiftnav.data("shiftnav-id")+'"]');this.initializeShiftNav();this.initializeTargets();this.initializeSubmenuToggleMouseEvents();this.initializeRetractors();this.initializeResponsiveToggle();this.initializeSwipeHandler()},initializeShiftNav:function(){var a=b("body"),
4
- d=this;if(!a.hasClass("shiftnav-enabled")){a.addClass("shiftnav-enabled");"on"==shiftnav_data.lock_body&&a.addClass("shiftnav-lock");"on"==shiftnav_data.lock_body_x&&a.addClass("shiftnav-lock-x");"off"!=shiftnav_data.shift_body?""!=shiftnav_data.shift_body_wrapper?b(shiftnav_data.shift_body_wrapper).addClass("shiftnav-wrap"):(a.wrapInner('<div class="shiftnav-wrap"></div>'),b("video[autoplay]").each(function(){b(this).get(0).play()})):a.addClass("shiftnav-disable-shift-body");b("#shiftnav-toggle-main, #wpadminbar, .shiftnav-fixed-left, .shiftnav-fixed-right").appendTo("body");
5
- var c=b(".shiftnav-wrap"),f=b("#shiftnav-toggle-main");if(!f.hasClass("shiftnav-toggle-style-burger_only")&&f.hasClass("shiftnav-togglebar-gap-auto")||f.hasClass("shiftnav-togglebar-gap-on")){var e=f.outerHeight();c.css("padding-top",e);f.addClass("shiftnav-togglebar-gap-on");"off"==shiftnav_data.shift_body&&a.css("padding-top",e)}else b("body").hasClass("admin-bar")&&b("html").addClass("shiftnav-nogap");f=!1;e=navigator.userAgent.toLowerCase();/android/.test(e)&&(f=!0,/android [1-3]/.test(e)?f=!0:
6
- /chrome/.test(e)?f=!1:/firefox/.test(e)&&(f=!1));(!shift_supports("transform")||f||d.settings.disable_transforms)&&a.addClass("shiftnav-no-transforms");if("on"==shiftnav_data.swipe_open){var h=0,n=0,l=0,k=0,m=b(g).width();"off"==shiftnav_data.shift_body&&(c=b("body"));c.on("touchstart",function(a){d.settings.breakpoint&&b(g).width()>d.settings.breakpoint||(h=a.originalEvent.changedTouches[0].pageY,n=a.originalEvent.changedTouches[0].pageX)});if(b("#shiftnav-main").hasClass("shiftnav-left-edge"))c.on("touchmove",
7
- function(a){k=a.originalEvent.changedTouches[0].pageX;n<d.settings.swipe_edge_proximity&&(a.preventDefault(),k-n>d.settings.swipe_tolerance_x&&(l=a.originalEvent.changedTouches[0].pageY,Math.abs(l-h)<d.settings.swipe_tolerance_y&&(d.openShiftNav("swipe right"),a.stopPropagation())))});else c.on("touchmove",function(a){k=a.originalEvent.changedTouches[0].pageX;n>m-d.settings.swipe_edge_proximity&&(a.preventDefault(),n-k>d.settings.swipe_tolerance_x&&(l=a.originalEvent.changedTouches[0].pageY,Math.abs(l-
8
- h)<d.settings.swipe_tolerance_y&&(d.openShiftNav("swipe left"),a.stopPropagation())))})}b(".shiftnav-searchbar-toggle").on(this.toggleevent,function(a){a.stopPropagation();a.preventDefault();a=b(this).next(".shiftnav-searchbar-drop");a.hasClass("shiftnav-searchbar-drop-open")?(a.removeClass("shiftnav-searchbar-drop-open"),b("body").off("click.shiftnav-searchbar-drop")):(a.addClass("shiftnav-searchbar-drop-open"),a.find(".shiftnav-search-input").focus(),setTimeout(function(){b("body").on("click.shiftnav-searchbar-drop",
9
- function(a){b(".shiftnav-searchbar-drop").removeClass("shiftnav-searchbar-drop-open");b("body").off("click.shiftnav-searchbar-drop")})},100))});b(".shiftnav-searchbar-drop").on(this.toggleevent,function(a){a.stopPropagation()});b(".shiftnav-searchbar-drop .shiftnav-search-input").on("blur",function(a){""!=b(this).val()||q||b(this).parents(".shiftnav-searchbar-drop").removeClass("shiftnav-searchbar-drop-open")});var q;b(".shiftnav-searchbar-toggle").on("mousedown",function(a){q=!0});b(".shiftnav-searchbar-toggle").on("mouseup",
10
- function(a){q=!1});b(".shiftnav").css("max-height",g.innerHeight);b(g).shiftsmartresize(function(){b(".shiftnav").css("max-height",g.innerHeight)})}this.$shiftnav.appendTo("body");this.$shiftnav.hasClass("shiftnav-right-edge")?this.edge="right":this.edge="left";this.openclass="shiftnav-open shiftnav-open-"+this.edge;this.$shiftnav.find(".shiftnav-panel-close").on("click",function(){d.closeShiftNav()});this.$shiftnav.find(".shiftnav-submenu-activation").each(function(){var a=b(this).siblings(".shiftnav-target").outerHeight();
11
- b(this).css({height:a,width:a})});d.settings.open_current&&b(".shiftnav .shiftnav-sub-accordion.current-menu-item, .shiftnav .shiftnav-sub-accordion.current-menu-ancestor").addClass("shiftnav-active")},initializeTargets:function(){var a=this;this.$shiftnav.find(".shiftnav-scrollto").removeClass("current-menu-item").removeClass("current-menu-ancestor");this.$shiftnav.on("click",".shiftnav-target",function(d){var c=b(this).data("shiftnav-scrolltarget");if(c){var f=b(c).first();if(0<f.length)return d=
12
- b(this).parent(".menu-item"),d.siblings().removeClass("current-menu-item").removeClass("current-menu-ancestor"),d.addClass("current-menu-item"),d=f.offset().top,d-=a.settings.scroll_offset,b("html,body").animate({scrollTop:d},1E3,"swing",function(){a.closeShiftNav()}),!1;(f=b(this).attr("href"))&&-1==f.indexOf("#")&&(-1==c.indexOf("#")&&(c="#"+c),g.location=f+c,d.preventDefault())}else b(this).is("span")&&(d=b(this).parent(".menu-item"),d.hasClass("shiftnav-active")?a.closeSubmenu(d,"disabledLink",
13
  a):a.openSubmenu(d,"disabledLink",a))})},initializeSubmenuToggleMouseEvents:function(){if(this.settings.mouseEvents&&!this.settings.clicktest&&!this.settings.windowstest){this.settings.debug&&console.log("initializeSubmenuToggleMouseEvents");var a=this;this.$shiftnav.on("mouseup.shift-submenu-toggle",".shiftnav-submenu-activation",function(b){a.handleMouseActivation(b,this,a)})}},disableSubmenuToggleMouseEvents:function(){this.settings.debug&&console.log("disableSubmenuToggleMouseEvents");$shiftnav.off("mouseover.shift-submenu-toggle");
14
  $shiftnav.off("mouseout.shift-submenu-toggle")},initializeRetractors:function(){if(this.settings.retractors){var a=this;this.$shiftnav.on("mouseup.shiftnav",".shiftnav-retract",function(b){a.handleSubmenuRetractorEnd(b,this,a)})}},initializeResponsiveToggle:function(){var a=this;this.$toggles.on("click","a",function(a){a.stopPropagation()});this.$toggles.on("click",function(d){a.toggle(b(this),a,d)})},toggle:function(a,d,c){c.preventDefault();c.stopPropagation();if("click"!=c.originalEvent.type||
15
- !b(this).data("disableToggle")){if(d.$shiftnav.hasClass("shiftnav-open-target"))d.closeShiftNav();else{a=a.attr("id");var f="shiftnav-toggle-main"==a?"[Main Toggle Bar]":'"'+b(this).text()+'"';"shiftnav-toggle-main-button"!=a&&"shiftnav-toggle-main"!=a||!b("body").hasClass("shiftnav-open")?d.openShiftNav("toggle: "+f):b(".shiftnav.shiftnav-open-target").shiftnav("closeShiftNav")}"click"!=c.originalEvent.type&&(b(this).data("disableToggle",!0),setTimeout(function(){b(this).data("disableToggle",!1)},
16
- 1E3));return!1}},initializeSwipeHandler:function(){b("body");var a=0,d=0,c=0,f=0,e=0,h=0,k=this,l=!1,p=b(g).height(),m=this.$shiftnav.find(".shiftnav-inner");m.on("touchstart",function(b){a=b.originalEvent.changedTouches[0].pageY;d=b.originalEvent.changedTouches[0].pageX});m.on(this.touchMove,function(b){l=!1;p>=m[0].scrollHeight?(l=!0,b.preventDefault()):0===b.currentTarget.scrollTop?(c=b.originalEvent.changedTouches[0].pageY,c>a&&(l=!0,b.preventDefault())):b.currentTarget.scrollHeight===b.currentTarget.scrollTop+
17
- b.currentTarget.offsetHeight&&(c=b.originalEvent.changedTouches[0].pageY,c<a&&(l=!0,b.preventDefault()));l||(e=Math.abs(a-b.originalEvent.changedTouches[0].pageY),h=Math.abs(d-b.originalEvent.changedTouches[0].pageX),e<h&&b.preventDefault())});if("on"==shiftnav_data.swipe_close)if(this.$shiftnav.hasClass("shiftnav-right-edge"))m.on("touchmove",function(b){f=b.originalEvent.changedTouches[0].pageX;f-d>k.settings.swipe_tolerance_x&&Math.abs(c-a)<k.settings.swipe_tolerance_y&&(k.closeShiftNav(),b.preventDefault())});
18
- else m.on("touchmove",function(b){f=b.originalEvent.changedTouches[0].pageX;d-f>k.settings.swipe_tolerance_x&&(c=b.originalEvent.changedTouches[0].pageY,Math.abs(c-a)<k.settings.swipe_tolerance_y&&(k.closeShiftNav(),b.preventDefault()));b.stopPropagation()})},openShiftNav:function(a){var d=this;this.settings.debug&&console.log("openShiftNav "+(a||"?"));b("body").removeClass("shiftnav-open-right shiftnav-open-left").addClass(this.openclass).addClass("shiftnav-transitioning");b(".shiftnav-open-target").removeClass("shiftnav-open-target");
19
- this.$shiftnav.addClass("shiftnav-open-target").on(d.transitionend,function(){b("body").removeClass("shiftnav-transitioning");b(this).off(d.transitionend)});this.disableTouchoffClose();this.initializeTouchoffClose()},closeShiftNav:function(){var a=this;b("body").removeClass(this.openclass).addClass("shiftnav-transitioning");this.$shiftnav.removeClass("shiftnav-open-target").on(a.transitionend,function(){b("body").removeClass("shiftnav-transitioning");b(this).off(a.transitionend)});this.disableTouchoffClose()},
20
- initializeTouchoffClose:function(){if(this.settings.touchOffClose){var a=this;b(h).on("click.shiftnav "+this.touchEnd+".shiftnav",function(b){a.handleTouchoffClose(b,this,a)})}},disableTouchoffClose:function(){b(h).off(".shiftnav")},handleMouseActivation:function(a,d,c){c.settings.debug&&console.log("handleMouseover, add mouseout",a);a=b(d).parent();a.hasClass("shiftnav-active")?c.closeSubmenu(a,"mouseActivate",c):c.openSubmenu(a,"mouseActivate",c)},handleSubmenuRetractorEnd:function(a,d,c){a.preventDefault();
21
- a.stopPropagation();a=b(d).parent("ul").parent("li");c.closeSubmenu(a,"handleSubmenuRetractor",c);c.settings.debug&&console.log("handleSubmenuRetractorEnd "+a.find("> a").text())},handleTouchoffClose:function(a,d,c){b("body").is(".shiftnav-transitioning")||0!==b(a.target).parents().add(b(a.target)).filter(".shiftnav, .shiftnav-toggle, .shiftnav-ignore").length||(c.settings.debug&&console.log("touchoff close ",a),a.preventDefault(),a.stopPropagation(),c.closeShiftNav(),c.disableTouchoffClose())},scrollPanel:function(a){if("off"==
22
- shiftnav_data.scroll_panel)return 0;if("undefined"==typeof a)return this.$shiftnav.find(".shiftnav-inner").scrollTop();this.$shiftnav.find(".shiftnav-inner").scrollTop(a)},openSubmenu:function(a,b,c){a.hasClass("shiftnav-active")||(a.hasClass("shiftnav-sub-shift")?(a.siblings(".shiftnav-active").removeClass("shiftnav-active"),a.toggleClass("shiftnav-caulk"),c.$shiftnav.addClass("shiftnav-sub-shift-active")):c.settings.collapse_accordions&&a.siblings(".shiftnav-active").removeClass("shiftnav-active"),
23
- a.parents("ul").removeClass("shiftnav-sub-active-current"),a.find("> ul").addClass("shiftnav-sub-active").addClass("shiftnav-sub-active-current"),setTimeout(function(){a.addClass("shiftnav-active");a.trigger("shiftnav-open-submenu");a.removeClass("shiftnav-caulk");setTimeout(function(){var b=c.scrollPanel();a.data("scroll-back",b);b=a.offset().top+b;c.scrollPanel(b)},100)},1))},closeSubmenu:function(a,d,c){this.settings.debug&&console.log("closeSubmenu "+a.find(">a").text()+" ["+d+"]");a.hasClass("menu-item-has-children")&&
24
- a.hasClass("shiftnav-active")&&(a.addClass("shiftnav-in-transition"),a.each(function(){var a=b(this),e=a.find("> ul");e.on(c.transitionend+"_closesubmenu",function(){c.settings.debug&&console.log("finished submenu close transition");a.removeClass("shiftnav-in-transition");e.off(c.transitionend+"_closesubmenu")});c.closeSubmenu(a.find(".shiftnav-active"),d+"_recursive",c)}));a.removeClass("shiftnav-active");if(a.hasClass("shiftnav-sub-shift")){0==a.parents(".shiftnav-sub-shift").length&&c.$shiftnav.removeClass("shiftnav-sub-shift-active");
25
- var e=a.data("scroll-back");"undefined"!==e&&c.scrollPanel(e)}a.find("> ul").removeClass("shiftnav-sub-active").removeClass("shiftnav-sub-active-current");a.closest("ul").addClass("shiftnav-sub-active-current");a.trigger("shiftnav-close-submenu")},closeAllSubmenus:function(){b(this.element).find("li.menu-item-has-children").removeClass("shiftnav-active")}};b.fn.shiftnav=function(a){var d=arguments;if(a===e||"object"===typeof a)return this.each(function(){b.data(this,"plugin_shiftnav")||b.data(this,
26
- "plugin_shiftnav",new k(this,a))});if("string"===typeof a&&"_"!==a[0]&&"init"!==a){var c;this.each(function(){var e=b.data(this,"plugin_shiftnav");e instanceof k&&"function"===typeof e[a]&&(c=e[a].apply(e,Array.prototype.slice.call(d,1)));"destroy"===a&&b.data(this,"plugin_shiftnav",null)});return c!==e?c:this}}})(jQuery,window,document);
27
- (function(b){function g(e){if(!h){h=!0;"undefined"!=typeof console&&"window.load"==e&&console.log("ShiftNav initialized via "+e);b(".shiftnav-loading").remove();jQuery(".shiftnav").shiftnav({swipe_tolerance_x:parseInt(shiftnav_data.swipe_tolerance_x),swipe_tolerance_y:parseInt(shiftnav_data.swipe_tolerance_y),swipe_edge_proximity:parseInt(shiftnav_data.swipe_edge_proximity),open_current:"on"==shiftnav_data.open_current?!0:!1,collapse_accordions:"on"==shiftnav_data.collapse_accordions?!0:!1,breakpoint:parseInt(shiftnav_data.breakpoint),
28
- touchOffClose:"on"==shiftnav_data.touch_off_close?!0:!1,scroll_offset:shiftnav_data.scroll_offset,disable_transforms:"on"==shiftnav_data.disable_transforms?!0:!1});if("."==window.location.hash.substring(1,2)){e=b(window.location.hash.substring(1));var k=e.offset().top-shiftnav_data.scroll_offset;e.length&&window.scrollTo(0,k)}window.location.hash&&(e=window.location.hash,"."==e.substring(1,2)&&(e=e.substring(1)),e=b('.shiftnav .shiftnav-target[data-shiftnav-scrolltarget="'+e+'"]').parent(),e.length&&
29
- (e.siblings().removeClass("current-menu-item").removeClass("current-menu-ancestor"),e.addClass("current-menu-item")));b(".shiftnav").trigger("shiftnav-loaded")}}var h=!1;jQuery(function(b){g("document.ready")});b(window).on("load",function(){g("window.load")})})(jQuery);
30
- (function(b,g){var h=function(b,k,g){var a;return function(){var d=this,c=arguments;a?clearTimeout(a):g&&b.apply(d,c);a=setTimeout(function(){g||b.apply(d,c);a=null},k||100)}};jQuery.fn[g]=function(b){return b?this.bind("resize",h(b)):this.trigger(g)}})(jQuery,"shiftsmartresize");
31
- var shift_supports=function(){var b=document.createElement("div"),g=["Khtml","Ms","O","Moz","Webkit"];return function(h){var e=g.length;if(h in b.style)return!0;for(h=h.replace(/^[a-z]/,function(b){return b.toUpperCase()});e--;)if(g[e]+h in b.style)return!0;return!1}}();
1
+ (function(b,g){var h=function(b,g,h){var a;return function(){var d=this,c=arguments;a?clearTimeout(a):h&&b.apply(d,c);a=setTimeout(function(){h||b.apply(d,c);a=null},g||100)}};jQuery.fn[g]=function(b){return b?this.bind("resize",h(b)):this.trigger(g)}})(jQuery,"shiftsmartresize");
2
+ var shift_supports=function(){var b=document.createElement("div"),g=["Khtml","Ms","O","Moz","Webkit"];return function(h){var f=g.length;if(h in b.style)return!0;for(h=h.replace(/^[a-z]/,function(b){return b.toUpperCase()});f--;)if(g[f]+h in b.style)return!0;return!1}}();
3
+ (function(b,g,h,f){function k(a,d){this.element=a;this.$shiftnav=b(this.element);this.$menu=this.$shiftnav.find("ul.shiftnav-menu");this.settings=b.extend({},l,d);this._defaults=l;this._name="shiftnav";this.touchenabled="ontouchstart"in g||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints;g.navigator.pointerEnabled?(this.touchStart="pointerdown",this.touchEnd="pointerup",this.touchMove="pointermove"):g.navigator.msPointerEnabled?(this.touchStart="MSPointerDown",this.touchEnd="MSPointerUp",
4
+ this.touchMove="MSPointerMove"):(this.touchStart="touchstart",this.touchEnd="touchend",this.touchMove="touchmove");this.toggleevent="touchend"==this.touchEnd?this.touchEnd+" click":this.touchEnd;this.transitionend="transitionend.shiftnav webkitTransitionEnd.shiftnav msTransitionEnd.shiftnav oTransitionEnd.shiftnav";this.settings.clicktest&&(this.touchEnd="click");this.init()}var l={mouseEvents:!0,retractors:!0,touchOffClose:!0,clicktest:!1,windowstest:!1,debug:!1,open_current:!1,collapse_accordions:!1,
5
+ scroll_offset:100,disable_transforms:!1};k.prototype={init:function(){this.$shiftnav.removeClass("shiftnav-nojs");this.$toggles=b('.shiftnav-toggle[data-shiftnav-target="'+this.$shiftnav.data("shiftnav-id")+'"]');this.initializeShiftNav();this.initializeTargets();this.initializeSubmenuToggleMouseEvents();this.initializeRetractors();this.initializeResponsiveToggle()},initializeShiftNav:function(){var a=b("body"),d=this;if(!a.hasClass("shiftnav-enabled")){a.addClass("shiftnav-enabled");"on"==shiftnav_data.lock_body&&
6
+ a.addClass("shiftnav-lock");"on"==shiftnav_data.lock_body_x&&a.addClass("shiftnav-lock-x");"off"!=shiftnav_data.shift_body?""!=shiftnav_data.shift_body_wrapper?b(shiftnav_data.shift_body_wrapper).addClass("shiftnav-wrap"):(a.wrapInner('<div class="shiftnav-wrap"></div>'),b("video[autoplay]").each(function(){b(this).get(0).play()})):a.addClass("shiftnav-disable-shift-body");b("#shiftnav-toggle-main, #wpadminbar, .shiftnav-fixed-left, .shiftnav-fixed-right").appendTo("body");var c=b(".shiftnav-wrap"),
7
+ e=b("#shiftnav-toggle-main");if(!e.hasClass("shiftnav-toggle-style-burger_only")&&e.hasClass("shiftnav-togglebar-gap-auto")||e.hasClass("shiftnav-togglebar-gap-on")){var f=e.outerHeight();c.css("padding-top",f);e.addClass("shiftnav-togglebar-gap-on");"off"==shiftnav_data.shift_body&&a.css("padding-top",f)}else b("body").hasClass("admin-bar")&&b("html").addClass("shiftnav-nogap");c=!1;e=navigator.userAgent.toLowerCase();/android/.test(e)&&(c=!0,/android [1-3]/.test(e)?c=!0:/chrome/.test(e)?c=!1:/firefox/.test(e)&&
8
+ (c=!1));(!shift_supports("transform")||c||d.settings.disable_transforms)&&a.addClass("shiftnav-no-transforms");b(".shiftnav-searchbar-toggle").on(this.toggleevent,function(a){a.stopPropagation();a.preventDefault();a=b(this).next(".shiftnav-searchbar-drop");a.hasClass("shiftnav-searchbar-drop-open")?(a.removeClass("shiftnav-searchbar-drop-open"),b("body").off("click.shiftnav-searchbar-drop")):(a.addClass("shiftnav-searchbar-drop-open"),a.find(".shiftnav-search-input").focus(),setTimeout(function(){b("body").on("click.shiftnav-searchbar-drop",
9
+ function(a){b(".shiftnav-searchbar-drop").removeClass("shiftnav-searchbar-drop-open");b("body").off("click.shiftnav-searchbar-drop")})},100))});b(".shiftnav-searchbar-drop").on(this.toggleevent,function(a){a.stopPropagation()});b(".shiftnav-searchbar-drop .shiftnav-search-input").on("blur",function(a){""!=b(this).val()||h||b(this).parents(".shiftnav-searchbar-drop").removeClass("shiftnav-searchbar-drop-open")});var h;b(".shiftnav-searchbar-toggle").on("mousedown",function(a){h=!0});b(".shiftnav-searchbar-toggle").on("mouseup",
10
+ function(a){h=!1});b(".shiftnav").css("max-height",g.innerHeight);b(g).shiftsmartresize(function(){b(".shiftnav").css("max-height",g.innerHeight)})}this.$shiftnav.appendTo("body");this.$shiftnav.hasClass("shiftnav-right-edge")?this.edge="right":this.edge="left";this.openclass="shiftnav-open shiftnav-open-"+this.edge;this.$shiftnav.find(".shiftnav-panel-close").on("click",function(){d.closeShiftNav()});this.$shiftnav.find(".shiftnav-submenu-activation").each(function(){var a=b(this).siblings(".shiftnav-target").outerHeight();
11
+ b(this).css({height:a,width:a})});d.settings.open_current&&b(".shiftnav .shiftnav-sub-accordion.current-menu-item, .shiftnav .shiftnav-sub-accordion.current-menu-ancestor").addClass("shiftnav-active")},initializeTargets:function(){var a=this;this.$shiftnav.find(".shiftnav-scrollto").removeClass("current-menu-item").removeClass("current-menu-ancestor");this.$shiftnav.on("click",".shiftnav-target",function(d){var c=b(this).data("shiftnav-scrolltarget");if(c){var e=b(c).first();if(0<e.length)return d=
12
+ b(this).parent(".menu-item"),d.siblings().removeClass("current-menu-item").removeClass("current-menu-ancestor"),d.addClass("current-menu-item"),d=e.offset().top,d-=a.settings.scroll_offset,b("html,body").animate({scrollTop:d},1E3,"swing",function(){a.closeShiftNav()}),!1;(e=b(this).attr("href"))&&-1==e.indexOf("#")&&(-1==c.indexOf("#")&&(c="#"+c),g.location=e+c,d.preventDefault())}else b(this).is("span")&&(d=b(this).parent(".menu-item"),d.hasClass("shiftnav-active")?a.closeSubmenu(d,"disabledLink",
13
  a):a.openSubmenu(d,"disabledLink",a))})},initializeSubmenuToggleMouseEvents:function(){if(this.settings.mouseEvents&&!this.settings.clicktest&&!this.settings.windowstest){this.settings.debug&&console.log("initializeSubmenuToggleMouseEvents");var a=this;this.$shiftnav.on("mouseup.shift-submenu-toggle",".shiftnav-submenu-activation",function(b){a.handleMouseActivation(b,this,a)})}},disableSubmenuToggleMouseEvents:function(){this.settings.debug&&console.log("disableSubmenuToggleMouseEvents");$shiftnav.off("mouseover.shift-submenu-toggle");
14
  $shiftnav.off("mouseout.shift-submenu-toggle")},initializeRetractors:function(){if(this.settings.retractors){var a=this;this.$shiftnav.on("mouseup.shiftnav",".shiftnav-retract",function(b){a.handleSubmenuRetractorEnd(b,this,a)})}},initializeResponsiveToggle:function(){var a=this;this.$toggles.on("click","a",function(a){a.stopPropagation()});this.$toggles.on("click",function(d){a.toggle(b(this),a,d)})},toggle:function(a,d,c){c.preventDefault();c.stopPropagation();if("click"!=c.originalEvent.type||
15
+ !b(this).data("disableToggle")){if(d.$shiftnav.hasClass("shiftnav-open-target"))d.closeShiftNav();else{a=a.attr("id");var e="shiftnav-toggle-main"==a?"[Main Toggle Bar]":'"'+b(this).text()+'"';"shiftnav-toggle-main-button"!=a&&"shiftnav-toggle-main"!=a||!b("body").hasClass("shiftnav-open")?d.openShiftNav("toggle: "+e):b(".shiftnav.shiftnav-open-target").shiftnav("closeShiftNav")}"click"!=c.originalEvent.type&&(b(this).data("disableToggle",!0),setTimeout(function(){b(this).data("disableToggle",!1)},
16
+ 1E3));return!1}},openShiftNav:function(a){var d=this;this.settings.debug&&console.log("openShiftNav "+(a||"?"));b("body").removeClass("shiftnav-open-right shiftnav-open-left").addClass(this.openclass).addClass("shiftnav-transitioning");b(".shiftnav-open-target").removeClass("shiftnav-open-target");this.$shiftnav.addClass("shiftnav-open-target").on(d.transitionend,function(){b("body").removeClass("shiftnav-transitioning");b(this).off(d.transitionend)});this.disableTouchoffClose();this.initializeTouchoffClose()},
17
+ closeShiftNav:function(){var a=this;b("body").removeClass(this.openclass).addClass("shiftnav-transitioning");this.$shiftnav.removeClass("shiftnav-open-target").on(a.transitionend,function(){b("body").removeClass("shiftnav-transitioning");b(this).off(a.transitionend)});this.disableTouchoffClose()},initializeTouchoffClose:function(){if(this.settings.touchOffClose){var a=this;b(h).on("click.shiftnav "+this.touchEnd+".shiftnav",function(b){a.handleTouchoffClose(b,this,a)})}},disableTouchoffClose:function(){b(h).off(".shiftnav")},
18
+ handleMouseActivation:function(a,d,c){c.settings.debug&&console.log("handleMouseover, add mouseout",a);a=b(d).parent();a.hasClass("shiftnav-active")?c.closeSubmenu(a,"mouseActivate",c):c.openSubmenu(a,"mouseActivate",c)},handleSubmenuRetractorEnd:function(a,d,c){a.preventDefault();a.stopPropagation();a=b(d).parent("ul").parent("li");c.closeSubmenu(a,"handleSubmenuRetractor",c);c.settings.debug&&console.log("handleSubmenuRetractorEnd "+a.find("> a").text())},handleTouchoffClose:function(a,d,c){b("body").is(".shiftnav-transitioning")||
19
+ 0!==b(a.target).parents().add(b(a.target)).filter(".shiftnav, .shiftnav-toggle, .shiftnav-ignore").length||(c.settings.debug&&console.log("touchoff close ",a),a.preventDefault(),a.stopPropagation(),c.closeShiftNav(),c.disableTouchoffClose())},scrollPanel:function(a){if("off"==shiftnav_data.scroll_panel)return 0;if("undefined"==typeof a)return this.$shiftnav.find(".shiftnav-inner").scrollTop();this.$shiftnav.find(".shiftnav-inner").scrollTop(a)},openSubmenu:function(a,b,c){a.hasClass("shiftnav-active")||
20
+ (a.hasClass("shiftnav-sub-shift")?(a.siblings(".shiftnav-active").removeClass("shiftnav-active"),a.toggleClass("shiftnav-caulk"),c.$shiftnav.addClass("shiftnav-sub-shift-active")):c.settings.collapse_accordions&&a.siblings(".shiftnav-active").removeClass("shiftnav-active"),a.parents("ul").removeClass("shiftnav-sub-active-current"),a.find("> ul").addClass("shiftnav-sub-active").addClass("shiftnav-sub-active-current"),setTimeout(function(){a.addClass("shiftnav-active");a.trigger("shiftnav-open-submenu");
21
+ a.removeClass("shiftnav-caulk");setTimeout(function(){var b=c.scrollPanel();a.data("scroll-back",b);b=a.offset().top+b;c.scrollPanel(b)},100)},1))},closeSubmenu:function(a,d,c){this.settings.debug&&console.log("closeSubmenu "+a.find(">a").text()+" ["+d+"]");a.hasClass("menu-item-has-children")&&a.hasClass("shiftnav-active")&&(a.addClass("shiftnav-in-transition"),a.each(function(){var a=b(this),e=a.find("> ul");e.on(c.transitionend+"_closesubmenu",function(){c.settings.debug&&console.log("finished submenu close transition");
22
+ a.removeClass("shiftnav-in-transition");e.off(c.transitionend+"_closesubmenu")});c.closeSubmenu(a.find(".shiftnav-active"),d+"_recursive",c)}));a.removeClass("shiftnav-active");if(a.hasClass("shiftnav-sub-shift")){0==a.parents(".shiftnav-sub-shift").length&&c.$shiftnav.removeClass("shiftnav-sub-shift-active");var e=a.data("scroll-back");"undefined"!==e&&c.scrollPanel(e)}a.find("> ul").removeClass("shiftnav-sub-active").removeClass("shiftnav-sub-active-current");a.closest("ul").addClass("shiftnav-sub-active-current");
23
+ a.trigger("shiftnav-close-submenu")},closeAllSubmenus:function(){b(this.element).find("li.menu-item-has-children").removeClass("shiftnav-active")}};b.fn.shiftnav=function(a){var d=arguments;if(a===f||"object"===typeof a)return this.each(function(){b.data(this,"plugin_shiftnav")||b.data(this,"plugin_shiftnav",new k(this,a))});if("string"===typeof a&&"_"!==a[0]&&"init"!==a){var c;this.each(function(){var e=b.data(this,"plugin_shiftnav");e instanceof k&&"function"===typeof e[a]&&(c=e[a].apply(e,Array.prototype.slice.call(d,
24
+ 1)));"destroy"===a&&b.data(this,"plugin_shiftnav",null)});return c!==f?c:this}}})(jQuery,window,document);
25
+ (function(b){function g(f){if(!h){h=!0;"undefined"!=typeof console&&"window.load"==f&&console.log("ShiftNav initialized via "+f);b(".shiftnav-loading").remove();jQuery(".shiftnav").shiftnav({open_current:"on"==shiftnav_data.open_current?!0:!1,collapse_accordions:"on"==shiftnav_data.collapse_accordions?!0:!1,breakpoint:parseInt(shiftnav_data.breakpoint),touchOffClose:"on"==shiftnav_data.touch_off_close?!0:!1,scroll_offset:shiftnav_data.scroll_offset,disable_transforms:"on"==shiftnav_data.disable_transforms?
26
+ !0:!1});if("."==window.location.hash.substring(1,2)&&(f=b(window.location.hash.substring(1)),f.length)){var g=f.offset().top-shiftnav_data.scroll_offset;f.length&&window.scrollTo(0,g)}window.location.hash&&(f=window.location.hash,"."==f.substring(1,2)&&(f=f.substring(1)),f=b('.shiftnav .shiftnav-target[data-shiftnav-scrolltarget="'+f+'"]').parent(),f.length&&(f.siblings().removeClass("current-menu-item").removeClass("current-menu-ancestor"),f.addClass("current-menu-item")));b(".shiftnav").trigger("shiftnav-loaded")}}
27
+ var h=!1;jQuery(function(b){g("document.ready")});b(window).on("load",function(){g("window.load")})})(jQuery);
 
 
 
 
includes/functions.php CHANGED
@@ -253,8 +253,11 @@ function shiftnav_toggle_shortcode( $atts, $content ){
253
  'el' => 'a',
254
  'class' => '',
255
  'icon' => '',
 
256
  ), $atts, 'shiftnav_toggle' ) );
257
 
 
 
258
  ob_start();
259
 
260
  shiftnav_toggle( $target , $content , array( 'id' => $toggle_id , 'el' => $el , 'class' => $class , 'icon' => $icon ) );
@@ -315,11 +318,6 @@ function shiftnav_load_assets(){
315
  'shift_body_wrapper' => shiftnav_op( 'shift_body_wrapper' , 'general' ),
316
  'lock_body' => shiftnav_op( 'lock_body' , 'general' ),
317
  'lock_body_x' => shiftnav_op( 'lock_body_x' , 'general' ),
318
- 'swipe_close' => shiftnav_op( 'swipe_close' , 'general' ),
319
- 'swipe_open' => shiftnav_op( 'swipe_open' , 'shiftnav-main' ),
320
- 'swipe_tolerance_x' => shiftnav_op( 'swipe_tolerance_x' , 'general' ),
321
- 'swipe_tolerance_y' => shiftnav_op( 'swipe_tolerance_y' , 'general' ),
322
- 'swipe_edge_proximity' => shiftnav_op( 'swipe_edge_proximity' , 'general' ),
323
  'open_current' => shiftnav_op( 'open_current' , 'general' ),
324
  'collapse_accordions' => shiftnav_op( 'collapse_accordions' , 'general' ),
325
  'scroll_panel' => shiftnav_op( 'scroll_panel' , 'general' ),
253
  'el' => 'a',
254
  'class' => '',
255
  'icon' => '',
256
+ 'disable_content' => '',
257
  ), $atts, 'shiftnav_toggle' ) );
258
 
259
+ if( $disable_content = 'true' ) $content = false;
260
+
261
  ob_start();
262
 
263
  shiftnav_toggle( $target , $content , array( 'id' => $toggle_id , 'el' => $el , 'class' => $class , 'icon' => $icon ) );
318
  'shift_body_wrapper' => shiftnav_op( 'shift_body_wrapper' , 'general' ),
319
  'lock_body' => shiftnav_op( 'lock_body' , 'general' ),
320
  'lock_body_x' => shiftnav_op( 'lock_body_x' , 'general' ),
 
 
 
 
 
321
  'open_current' => shiftnav_op( 'open_current' , 'general' ),
322
  'collapse_accordions' => shiftnav_op( 'collapse_accordions' , 'general' ),
323
  'scroll_panel' => shiftnav_op( 'scroll_panel' , 'general' ),
includes/shiftnav.api.php CHANGED
@@ -119,7 +119,7 @@ function shiftnav_toggle( $target_id , $content = null, $args = array() ){
119
  $ops = shiftnav_get_instance_options( $target_id );
120
  //shiftp( $ops );
121
 
122
- if( $content == null ){
123
  $content = isset( $ops['toggle_content'] ) ? $ops['toggle_content'] : '';
124
  //if( !$content ) $content = __( 'Toggle ShiftNav' , 'shiftnav' );
125
  }
119
  $ops = shiftnav_get_instance_options( $target_id );
120
  //shiftp( $ops );
121
 
122
+ if( $content == null && $content !== false ){
123
  $content = isset( $ops['toggle_content'] ) ? $ops['toggle_content'] : '';
124
  //if( !$content ) $content = __( 'Toggle ShiftNav' , 'shiftnav' );
125
  }
languages/shiftnav.pot CHANGED
@@ -1,14 +1,14 @@
1
- # Copyright (C) 2016 Chris Mavricos, SevenSpark
2
- # This file is distributed under the same license as the ShiftNav Pro - Responsive Mobile Menu package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: ShiftNav Pro - Responsive Mobile Menu 1.5\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/shiftnav\n"
7
- "POT-Creation-Date: 2016-09-30 00:42:55+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
  "X-Generator: grunt-wp-i18n 0.4.9\n"
@@ -38,7 +38,7 @@ msgid ""
38
  "entirely."
39
  msgstr ""
40
 
41
- #: admin/settings.config.php:72 pro/admin/settings.pro.php:369
42
  msgid "Edge"
43
  msgstr ""
44
 
@@ -46,266 +46,254 @@ msgstr ""
46
  msgid "Which edge of the viewport should the ShiftNav panel appear on?"
47
  msgstr ""
48
 
49
- #: admin/settings.config.php:87
50
- msgid "Swipe Open"
51
- msgstr ""
52
-
53
  #: admin/settings.config.php:88
54
- msgid ""
55
- "Swipe to open the main ShiftNav Panel in iOS and Android. Not all themes "
56
- "will be compatible, as touch swipes can conflict with theme scripts. Make "
57
- "sure enabling this doesn't prevent other touch functionality on your site "
58
- "from working"
59
- msgstr ""
60
-
61
- #: admin/settings.config.php:95 pro/admin/settings.pro.php:393
62
  msgid "Skin"
63
  msgstr ""
64
 
65
- #: admin/settings.config.php:106 pro/admin/settings.pro.php:421
66
  msgid "Indent Always Visible Submenus"
67
  msgstr ""
68
 
69
- #: admin/settings.config.php:107 pro/admin/settings.pro.php:422
70
  msgid "Check this to indent submenu items of always-visible submenus"
71
  msgstr ""
72
 
73
- #: admin/settings.config.php:116 pro/admin/settings.pro.php:441
74
  msgid "Display Site Title"
75
  msgstr ""
76
 
77
- #: admin/settings.config.php:117
78
  msgid "Display the site title in the menu panel"
79
  msgstr ""
80
 
81
- #: admin/settings.config.php:126 pro/admin/settings.pro.php:461
82
  msgid "Display Panel Close Button"
83
  msgstr ""
84
 
85
- #: admin/settings.config.php:127 pro/admin/settings.pro.php:462
86
  msgid "Display an &times; close button in the upper right of the ShiftNav panel"
87
  msgstr ""
88
 
89
- #: admin/settings.config.php:137
90
  msgid "Custom Toggle Integration Code"
91
  msgstr ""
92
 
93
- #: admin/settings.config.php:167
94
  msgid "Display Toggle Bar"
95
  msgstr ""
96
 
97
- #: admin/settings.config.php:168
98
  msgid ""
99
  "Uncheck this to disable the default toggle bar and add your own custom "
100
  "toggle"
101
  msgstr ""
102
 
103
- #: admin/settings.config.php:176
104
  msgid "Toggle Bar Style"
105
  msgstr ""
106
 
107
- #: admin/settings.config.php:177
108
  msgid ""
109
  "Choose whether to have a full width bar, which can include a title and "
110
  "other content, or just a hamburger button only which will appear in the "
111
  "upper corner of the site."
112
  msgstr ""
113
 
114
- #: admin/settings.config.php:180
115
  msgid "Full Bar"
116
  msgstr ""
117
 
118
- #: admin/settings.config.php:181
119
  msgid "Hamburger button only"
120
  msgstr ""
121
 
122
- #: admin/settings.config.php:189
123
  msgid "Toggle Breakpoint"
124
  msgstr ""
125
 
126
- #: admin/settings.config.php:190
127
  msgid ""
128
  "Show the toggle bar only below this pixel width. 960 is a good default for "
129
  "most sites. Leave blank to show the toggle bar at all times. No need to "
130
  "include \"px\""
131
  msgstr ""
132
 
133
- #: admin/settings.config.php:190
134
  msgid "Set this to use ShiftNav only at mobile sizes"
135
  msgstr ""
136
 
137
- #: admin/settings.config.php:198
138
  msgid "Hide Theme Menu"
139
  msgstr ""
140
 
141
- #: admin/settings.config.php:199
142
  msgid ""
143
  "Enter the selector of the theme's menu if you wish to hide it below the "
144
  "breakpoint above. For example, <code>#primary-nav</code> or "
145
  "<code>.topnav</code>. "
146
  msgstr ""
147
 
148
- #: admin/settings.config.php:199 admin/settings.config.php:208
149
  msgid ""
150
  "This setting requires you to set the <strong>Toggle Breakpoint</strong> "
151
  "setting for it to have an effect"
152
  msgstr ""
153
 
154
- #: admin/settings.config.php:207
155
  msgid "Hide UberMenu 3"
156
  msgstr ""
157
 
158
- #: admin/settings.config.php:208
159
  msgid ""
160
  "Hide all UberMenu 3 instances when ShiftNav is displayed. If you would "
161
  "like to only hide a specific UberMenu, use the setting above with a "
162
  "specific UberMenu ID."
163
  msgstr ""
164
 
165
- #: admin/settings.config.php:216 pro/admin/settings.pro.php:431
166
  msgid "Toggle Content"
167
  msgstr ""
168
 
169
- #: admin/settings.config.php:217
170
  msgid ""
171
  "The content to display in the main toggle bar (only valid for Full Width "
172
  "toggle bar style). Can contain shortcodes and HTML, including <img> tags. "
173
  "Default: [shift_toggle_title] will print the site title"
174
  msgstr ""
175
 
176
- #: admin/settings.config.php:227
177
  msgid "Toggle Target"
178
  msgstr ""
179
 
180
- #: admin/settings.config.php:228
181
  msgid ""
182
  "The area which will trigger the ShiftNav Panel to open. (Not relevant for "
183
  "Full Bar toggle style)"
184
  msgstr ""
185
 
186
- #: admin/settings.config.php:231
187
  msgid "Bars/Burger Icon Only"
188
  msgstr ""
189
 
190
- #: admin/settings.config.php:232
191
  msgid "Entire Bar"
192
  msgstr ""
193
 
194
- #: admin/settings.config.php:239
195
  msgid "Close Icon"
196
  msgstr ""
197
 
198
- #: admin/settings.config.php:240
199
  msgid "When the toggle is open, choose which icon to display."
200
  msgstr ""
201
 
202
- #: admin/settings.config.php:253
203
  msgid "Toggle Bar Position"
204
  msgstr ""
205
 
206
- #: admin/settings.config.php:254
207
  msgid ""
208
  "Choose Fixed if you'd like the toggle bar to always be visible, or Absolute "
209
  "if you'd like it only to be visible when scrolled to the very top of the "
210
  "page"
211
  msgstr ""
212
 
213
- #: admin/settings.config.php:257
214
  msgid "Fixed (always in viewport)"
215
  msgstr ""
216
 
217
- #: admin/settings.config.php:258
218
  msgid "Absolute (scrolls out of viewport)"
219
  msgstr ""
220
 
221
- #: admin/settings.config.php:267
222
  msgid "Align Text"
223
  msgstr ""
224
 
225
- #: admin/settings.config.php:268
226
  msgid "Align text left, right, or center. Applies to inline elements only."
227
  msgstr ""
228
 
229
- #: admin/settings.config.php:282
230
  msgid "Background Color"
231
  msgstr ""
232
 
233
- #: admin/settings.config.php:293
234
  msgid "Transparent Background"
235
  msgstr ""
236
 
237
- #: admin/settings.config.php:294
238
  msgid ""
239
  "Make the toggle bar transparent. Note that this only make sense if you are "
240
  "using a hamburger-only Toggle Bar Style, or remove the Toggle Bar Gap"
241
  msgstr ""
242
 
243
- #: admin/settings.config.php:305
244
- msgid "Text Color"
245
  msgstr ""
246
 
247
- #: admin/settings.config.php:315
248
  msgid "Font Size"
249
  msgstr ""
250
 
251
- #: admin/settings.config.php:316
252
  msgid "Override the default font size of the toggle bar by setting a value here."
253
  msgstr ""
254
 
255
- #: admin/settings.config.php:326
256
  msgid "Hamburger Size"
257
  msgstr ""
258
 
259
- #: admin/settings.config.php:327
260
  msgid "Size of the hamburger icon in pixes (font size)."
261
  msgstr ""
262
 
263
- #: admin/settings.config.php:338
264
  msgid "Toggle Bar Gap"
265
  msgstr ""
266
 
267
- #: admin/settings.config.php:339
268
  msgid ""
269
  "By default, ShiftNav will automatically determine if a gap is needed - in "
270
  "short, space is left for the full bar toggle, and is not left for a "
271
  "burger-only toggle. If you wish to override this, you can do so here."
272
  msgstr ""
273
 
274
- #: admin/settings.config.php:342
275
  msgid "Automatic"
276
  msgstr ""
277
 
278
- #: admin/settings.config.php:343
279
  msgid "Disable Gap"
280
  msgstr ""
281
 
282
- #: admin/settings.config.php:344
283
  msgid "Enable Gap"
284
  msgstr ""
285
 
286
- #: admin/settings.config.php:379
287
  msgid "CSS Tweaks"
288
  msgstr ""
289
 
290
- #: admin/settings.config.php:380
291
  msgid "Add custom CSS here, which will be printed in the site head."
292
  msgstr ""
293
 
294
- #: admin/settings.config.php:387
295
  msgid "Shift Body"
296
  msgstr ""
297
 
298
- #: admin/settings.config.php:388
299
  msgid ""
300
  "Shift the body of the site when the menu is revealed. For some themes, "
301
  "this may negatively affect the site content, so this can be disabled."
302
  msgstr ""
303
 
304
- #: admin/settings.config.php:395
305
  msgid "Shift Body Wrapper"
306
  msgstr ""
307
 
308
- #: admin/settings.config.php:396
309
  msgid ""
310
  "Leave this blank to automatically create a ShiftNav Wrapper via javascript "
311
  "(this may have side effects). Set a selector here to turn a specific div "
@@ -314,66 +302,66 @@ msgid ""
314
  "conflict."
315
  msgstr ""
316
 
317
- #: admin/settings.config.php:403
318
  msgid "Footer Content"
319
  msgstr ""
320
 
321
- #: admin/settings.config.php:404
322
  msgid ""
323
  "Add HTML or Shortcodes here and it will be injected at the wp_footer() "
324
  "hook. Useful for fixed position elements"
325
  msgstr ""
326
 
327
- #: admin/settings.config.php:411
328
  msgid "Mobile Only"
329
  msgstr ""
330
 
331
- #: admin/settings.config.php:412
332
  msgid ""
333
  "Only display ShiftNav when a mobile device is detected via wp_is_mobile(). "
334
  "If you are using a caching plugin, make sure you have separate mobile and "
335
  "desktop caches."
336
  msgstr ""
337
 
338
- #: admin/settings.config.php:412
339
  msgid ""
340
  "This is NOT the preferred way to make your menu appear on mobile devices. "
341
  "For 99% of users, you will want to set a Toggle Breakpoint in the Toggle "
342
  "Bar Panel, rather than using this setting."
343
  msgstr ""
344
 
345
- #: admin/settings.config.php:419
346
  msgid "Button Size"
347
  msgstr ""
348
 
349
- #: admin/settings.config.php:420
350
  msgid ""
351
  "The size of the padding on the links in the menu. The larger the setting, "
352
  "the easier to click; but fewer menu items will appear on the screen at a "
353
  "time."
354
  msgstr ""
355
 
356
- #: admin/settings.config.php:433
357
  msgid "Text Size"
358
  msgstr ""
359
 
360
- #: admin/settings.config.php:434
361
  msgid "The size of the font on the links in the menu (will override all levels)."
362
  msgstr ""
363
 
364
- #: admin/settings.config.php:448
365
  msgid "Icon Size"
366
  msgstr ""
367
 
368
- #: admin/settings.config.php:449
369
  msgid "The size of the icons in the menu."
370
  msgstr ""
371
 
372
- #: admin/settings.config.php:465
373
  msgid "Disable Transforms &amp; Transitions"
374
  msgstr ""
375
 
376
- #: admin/settings.config.php:466
377
  msgid ""
378
  "Disable CSS3 transformations and transitions. This will disable smooth "
379
  "animations, but may work better on browsers that don't properly implement "
@@ -383,168 +371,128 @@ msgid ""
383
  "produce false positives when testing."
384
  msgstr ""
385
 
386
- #: admin/settings.config.php:473
387
  msgid "Touch-off close"
388
  msgstr ""
389
 
390
- #: admin/settings.config.php:474
391
  msgid "Close the ShiftNav panel when touching any content not in the panel."
392
  msgstr ""
393
 
394
- #: admin/settings.config.php:482
395
  msgid "Scroll Offset"
396
  msgstr ""
397
 
398
- #: admin/settings.config.php:483
399
  msgid ""
400
  "When using the ScrollTo functionality, this is the number of pixels to "
401
  "offset the scroll by, to account for the toggle bar and any spacing you "
402
  "want."
403
  msgstr ""
404
 
405
- #: admin/settings.config.php:492
406
- msgid "Swipe Close"
407
- msgstr ""
408
-
409
- #: admin/settings.config.php:493
410
- msgid ""
411
- "Enable swiping to close the ShiftNav panel on Android and iOS. Touch "
412
- "events may not interact well with all themes."
413
- msgstr ""
414
-
415
- #: admin/settings.config.php:500
416
- msgid "Swipe Tolerance: Horizontal"
417
- msgstr ""
418
-
419
- #: admin/settings.config.php:501
420
- msgid ""
421
- "The minimum horizontal pixel distance before the swipe is triggered. Do "
422
- "not include <code>px</code>"
423
- msgstr ""
424
-
425
- #: admin/settings.config.php:508
426
- msgid "Swipe Tolerance: Vertical"
427
- msgstr ""
428
-
429
- #: admin/settings.config.php:509
430
- msgid ""
431
- "The maximum horizontal pixel distance allowed for the swipe to be "
432
- "triggered. Do not include <code>px</code>"
433
- msgstr ""
434
-
435
- #: admin/settings.config.php:516
436
- msgid "Swipe Edge Proximity"
437
- msgstr ""
438
-
439
- #: admin/settings.config.php:517
440
- msgid ""
441
- "The distance from the edge, within which the first touch event must occur "
442
- "for the swipe to be triggered. Do not include <code>px</code>"
443
- msgstr ""
444
-
445
- #: admin/settings.config.php:524
446
  msgid "Open Current Accordion Submenu"
447
  msgstr ""
448
 
449
- #: admin/settings.config.php:525
450
  msgid ""
451
  "Open the submenu of the current menu item on page load (accordion submenus "
452
  "only)."
453
  msgstr ""
454
 
455
- #: admin/settings.config.php:532
456
  msgid "Collapse Accordions"
457
  msgstr ""
458
 
459
- #: admin/settings.config.php:533
460
  msgid ""
461
  "When an accordion menu is opened, collapse any other accordions on that "
462
  "level."
463
  msgstr ""
464
 
465
- #: admin/settings.config.php:540
466
  msgid "Scroll Shift Submenus to Top"
467
  msgstr ""
468
 
469
- #: admin/settings.config.php:541
470
  msgid ""
471
  "When a Shift submenu is activated, scroll that item to the top to maximize "
472
  "submenu visibility."
473
  msgstr ""
474
 
475
- #: admin/settings.config.php:549
476
  msgid "Highlight Targets on Hover"
477
  msgstr ""
478
 
479
- #: admin/settings.config.php:550
480
  msgid ""
481
  "With this setting enabled, the links will be highlighted when hovered or "
482
  "touched."
483
  msgstr ""
484
 
485
- #: admin/settings.config.php:557
486
  msgid "Highlight Targets on :active"
487
  msgstr ""
488
 
489
- #: admin/settings.config.php:558
490
  msgid ""
491
  "With this setting enabled, the links will be highlighted while in the "
492
  ":active state. May not be desirable for touch scrolling."
493
  msgstr ""
494
 
495
- #: admin/settings.config.php:565
496
  msgid "Back Button Tag"
497
  msgstr ""
498
 
499
- #: admin/settings.config.php:566
500
  msgid ""
501
  "By default the tag is an anchor. Some themes will try to add JS to the "
502
  "anchor and break the back button functionality, so you can also switch this "
503
  "to a span to avoid the issue."
504
  msgstr ""
505
 
506
- #: admin/settings.config.php:577
507
  msgid "Back Button Text"
508
  msgstr ""
509
 
510
- #: admin/settings.config.php:578
511
  msgid ""
512
  "By default, the Back button text will read \"Back\". You can change this "
513
  "here. Note that if you set a value here, it will no longer be translatable."
514
  msgstr ""
515
 
516
- #: admin/settings.config.php:584
517
  msgid "Top Back Button"
518
  msgstr ""
519
 
520
- #: admin/settings.config.php:585
521
  msgid "Display a back button at the top of shift submenus (below the parent item)"
522
  msgstr ""
523
 
524
- #: admin/settings.config.php:591
525
  msgid "Bottom Back Button"
526
  msgstr ""
527
 
528
- #: admin/settings.config.php:592
529
  msgid ""
530
  "Display a back button at the bottom of shift submenus. Note that you must "
531
  "leave at least one back button enabled for users to be able to move back up "
532
  "a level."
533
  msgstr ""
534
 
535
- #: admin/settings.config.php:599
536
  msgid "Show Tips to Admins"
537
  msgstr ""
538
 
539
- #: admin/settings.config.php:600
540
  msgid "Display tips to admin users"
541
  msgstr ""
542
 
543
- #: admin/settings.config.php:607
544
  msgid "Lock Horizontal Scroll"
545
  msgstr ""
546
 
547
- #: admin/settings.config.php:608
548
  msgid ""
549
  "Attempt to prevent the content from scrolling horizontally when the menu is "
550
  "active. On some themes, may also prevent vertical scrolling. May not "
@@ -552,61 +500,61 @@ msgid ""
552
  "Body</strong> is disabled."
553
  msgstr ""
554
 
555
- #: admin/settings.config.php:615
556
  msgid "Lock Scroll"
557
  msgstr ""
558
 
559
- #: admin/settings.config.php:616
560
  msgid ""
561
  "Lock both vertical and horizontal scrolling on site content when menu is "
562
  "active. No effect if <strong>Shift Body</strong> is disabled."
563
  msgstr ""
564
 
565
- #: admin/settings.config.php:623
566
  msgid "Load Font Awesome"
567
  msgstr ""
568
 
569
- #: admin/settings.config.php:624
570
  msgid ""
571
  "If you are already loading Font Awesome 4 elsewhere in your setup, you can "
572
  "disable this."
573
  msgstr ""
574
 
575
- #: admin/settings.config.php:631
576
  msgid "Inherit UberMenu Conditionals"
577
  msgstr ""
578
 
579
- #: admin/settings.config.php:632
580
  msgid "Display menu items based on UberMenu Conditionals settings"
581
  msgstr ""
582
 
583
- #: admin/settings.config.php:639
584
  msgid "Process UberMenu Menu Segments"
585
  msgstr ""
586
 
587
- #: admin/settings.config.php:640
588
  msgid ""
589
  "Most UberMenu Advanced Items will be ignored by ShiftNav, as they are "
590
  "UberMenu-specific. However, ShiftNav can process UberMenu Menu Segments "
591
  "with this setting enabled."
592
  msgstr ""
593
 
594
- #: admin/settings.config.php:648
595
  msgid "Force Filter Menu Args"
596
  msgstr ""
597
 
598
- #: admin/settings.config.php:649
599
  msgid ""
600
  "Some themes will filter the menu arguments on all menus on the site, which "
601
  "can break things. This will re-filter those arguments for ShiftNav menus "
602
  "only."
603
  msgstr ""
604
 
605
- #: admin/settings.config.php:656
606
  msgid "Kill Menu Class Filter"
607
  msgstr ""
608
 
609
- #: admin/settings.config.php:657
610
  msgid ""
611
  "Some themes filter the menu item classes and strip out core WordPress "
612
  "functionality. This will change the structure of ShiftNav and prevent "
@@ -614,19 +562,19 @@ msgid ""
614
  "<code>nav_menu_css_class</code> filter."
615
  msgstr ""
616
 
617
- #: admin/settings.config.php:720
618
  msgid "Main ShiftNav Settings"
619
  msgstr ""
620
 
621
- #: admin/settings.config.php:724
622
  msgid "Toggle Bar"
623
  msgstr ""
624
 
625
- #: admin/settings.config.php:732
626
  msgid "General Settings"
627
  msgstr ""
628
 
629
- #: admin/settings.config.php:757
630
  msgid "Reset Settings"
631
  msgstr ""
632
 
@@ -677,7 +625,7 @@ msgid ""
677
  "but item should not be displayed in ShiftNav"
678
  msgstr ""
679
 
680
- #: admin/settings.menu.php:334 pro/admin/item.settings.pro.php:41
681
  msgid "Submenu Type"
682
  msgstr ""
683
 
@@ -688,12 +636,11 @@ msgid ""
688
  "\"Accordion\" or \"Shift\" with the Pro version."
689
  msgstr ""
690
 
691
- #: admin/settings.menu.php:339 pro/admin/item.settings.pro.php:46
692
  msgid "Menu Default"
693
  msgstr ""
694
 
695
- #: admin/settings.menu.php:340 pro/admin/item.settings.pro.php:47
696
- #: pro/admin/settings.pro.php:206 pro/admin/settings.pro.php:409
697
  msgid "Always visible"
698
  msgstr ""
699
 
@@ -741,631 +688,6 @@ msgstr ""
741
  msgid "Back"
742
  msgstr ""
743
 
744
- #: includes/functions.php:276
745
  msgid "ShiftNav [Main]"
746
- msgstr ""
747
-
748
- #: pro/admin/item.settings.pro.php:9
749
- msgid "Icon"
750
- msgstr ""
751
-
752
- #: pro/admin/item.settings.pro.php:17
753
- msgid "Custom Icon Class"
754
- msgstr ""
755
-
756
- #: pro/admin/item.settings.pro.php:33
757
- msgid "Custom URL"
758
- msgstr ""
759
-
760
- #: pro/admin/item.settings.pro.php:36
761
- msgid ""
762
- "Customize your link URL - you can use shortcodes here. Your setting will "
763
- "be escaped with the esc_url() function"
764
- msgstr ""
765
-
766
- #: pro/admin/item.settings.pro.php:44
767
- msgid ""
768
- "Overrides the default submenu type, which can be set in the Control Panel "
769
- "for each menu. "
770
- msgstr ""
771
-
772
- #: pro/admin/item.settings.pro.php:48 pro/admin/settings.pro.php:207
773
- #: pro/admin/settings.pro.php:410
774
- msgid "Accordion"
775
- msgstr ""
776
-
777
- #: pro/admin/item.settings.pro.php:49 pro/admin/settings.pro.php:208
778
- #: pro/admin/settings.pro.php:411
779
- msgid "Shift"
780
- msgstr ""
781
-
782
- #: pro/admin/settings.pro.php:202 pro/admin/settings.pro.php:405
783
- msgid "Submenu Type Default"
784
- msgstr ""
785
-
786
- #: pro/admin/settings.pro.php:203 pro/admin/settings.pro.php:406
787
- msgid ""
788
- "This submenu type will be used by any Menu Item whose Submenu Type is set "
789
- "to \"Menu Default\""
790
- msgstr ""
791
-
792
- #: pro/admin/settings.pro.php:218 pro/admin/settings.pro.php:383
793
- msgid "Disable Menu"
794
- msgstr ""
795
-
796
- #: pro/admin/settings.pro.php:219
797
- msgid ""
798
- "Check this to disable the menu entirely; the panel will still be displayed "
799
- "and can be used for custom content"
800
- msgstr ""
801
-
802
- #: pro/admin/settings.pro.php:228 pro/admin/settings.pro.php:471
803
- msgid "Top Image"
804
- msgstr ""
805
-
806
- #: pro/admin/settings.pro.php:238 pro/admin/settings.pro.php:481
807
- msgid "Pad Image"
808
- msgstr ""
809
-
810
- #: pro/admin/settings.pro.php:239 pro/admin/settings.pro.php:482
811
- msgid ""
812
- "Add padding to align image with menu item text. Uncheck to expand to the "
813
- "edges of the panel."
814
- msgstr ""
815
-
816
- #: pro/admin/settings.pro.php:248 pro/admin/settings.pro.php:491
817
- msgid "Image Link (URL)"
818
- msgstr ""
819
-
820
- #: pro/admin/settings.pro.php:249 pro/admin/settings.pro.php:492
821
- msgid "Make the image a link to this URL."
822
- msgstr ""
823
-
824
- #: pro/admin/settings.pro.php:258 pro/admin/settings.pro.php:501
825
- msgid "Custom Content Before Menu"
826
- msgstr ""
827
-
828
- #: pro/admin/settings.pro.php:269 pro/admin/settings.pro.php:512
829
- msgid "Custom Content After Menu"
830
- msgstr ""
831
-
832
- #: pro/admin/settings.pro.php:287
833
- msgid "Toggle Content Left Edge"
834
- msgstr ""
835
-
836
- #: pro/admin/settings.pro.php:288
837
- msgid ""
838
- "For the Full Bar toggle style, this content will appear at the left edge of "
839
- "the toggle bar, to the right of the toggle icon. To pad your custom "
840
- "content vertically, use the class <code>shiftnav-toggle-main-block</code>."
841
- msgstr ""
842
-
843
- #: pro/admin/settings.pro.php:299
844
- msgid "Toggle Content Right Edge"
845
- msgstr ""
846
-
847
- #: pro/admin/settings.pro.php:300
848
- msgid ""
849
- "For the Full Bar toggle style, this content will appear at the right edge "
850
- "of the toggle bar. To pad your custom content vertically, use the class "
851
- "<code>shiftnav-toggle-main-block</code>."
852
- msgstr ""
853
-
854
- #: pro/admin/settings.pro.php:334
855
- msgid "Integration Code"
856
- msgstr ""
857
-
858
- #: pro/admin/settings.pro.php:340
859
- msgid "Instance Name"
860
- msgstr ""
861
-
862
- #: pro/admin/settings.pro.php:349
863
- msgid "Display Menu"
864
- msgstr ""
865
-
866
- #: pro/admin/settings.pro.php:359
867
- msgid "Theme Location"
868
- msgstr ""
869
-
870
- #: pro/admin/settings.pro.php:360
871
- msgid ""
872
- "Select the Theme Location to display. The Menu setting will override this "
873
- "setting if a menu is selected."
874
- msgstr ""
875
-
876
- #: pro/admin/settings.pro.php:370
877
- msgid "Select which edge of your site to display the menu on"
878
- msgstr ""
879
-
880
- #: pro/admin/settings.pro.php:384
881
- msgid ""
882
- "Check this to disable the menu entirely; the panel can be used for custom "
883
- "content"
884
- msgstr ""
885
-
886
- #: pro/admin/settings.pro.php:394
887
- msgid "Select which skin to use for this instance"
888
- msgstr ""
889
-
890
- #: pro/admin/settings.pro.php:432
891
- msgid ""
892
- "Enter the content to be displayed in the toggle, which you will insert into "
893
- "your template with the integration code at the top of this tab."
894
- msgstr ""
895
-
896
- #: pro/admin/settings.pro.php:442
897
- msgid "Display the site title in the menu"
898
- msgstr ""
899
-
900
- #: pro/admin/settings.pro.php:451
901
- msgid "Display Instance Name"
902
- msgstr ""
903
-
904
- #: pro/admin/settings.pro.php:452
905
- msgid "Display the instance name in the menu"
906
- msgstr ""
907
-
908
- #: pro/admin/settings.pro.php:540
909
- msgid "Delete Instance"
910
- msgstr ""
911
-
912
- #: pro/admin/settings.pro.php:541
913
- msgid "Permanently Delete Instance"
914
- msgstr ""
915
-
916
- #: pro/admin/settings.pro.php:575
917
- msgid "Panel Background Color"
918
- msgstr ""
919
-
920
- #: pro/admin/settings.pro.php:586
921
- msgid "Panel Default Font Color"
922
- msgstr ""
923
-
924
- #: pro/admin/settings.pro.php:587
925
- msgid ""
926
- "The default font color for custom content within the panel (menu-specific "
927
- "styles will override this for menu items)"
928
- msgstr ""
929
-
930
- #: pro/admin/settings.pro.php:602
931
- msgid "Panel Title Font Color"
932
- msgstr ""
933
-
934
- #: pro/admin/settings.pro.php:603
935
- msgid "The font color for the header/title within the panel."
936
- msgstr ""
937
-
938
- #: pro/admin/settings.pro.php:613
939
- msgid "Panel Title Font Size"
940
- msgstr ""
941
-
942
- #: pro/admin/settings.pro.php:614 pro/admin/settings.pro.php:830
943
- msgid "The font size for the header/title within the panel."
944
- msgstr ""
945
-
946
- #: pro/admin/settings.pro.php:624
947
- msgid "Panel Title Text Alignment"
948
- msgstr ""
949
-
950
- #: pro/admin/settings.pro.php:625
951
- msgid "The alignment of the text in the header/title within the panel."
952
- msgstr ""
953
-
954
- #: pro/admin/settings.pro.php:628 pro/admin/settings.pro.php:645
955
- #: pro/admin/settings.pro.php:758 pro/admin/settings.pro.php:919
956
- #: pro/admin/settings.pro.php:1005
957
- msgid "Defaut"
958
- msgstr ""
959
-
960
- #: pro/admin/settings.pro.php:629 pro/admin/settings.pro.php:920
961
- msgid "Center"
962
- msgstr ""
963
-
964
- #: pro/admin/settings.pro.php:630 pro/admin/settings.pro.php:921
965
- msgid "Left"
966
- msgstr ""
967
-
968
- #: pro/admin/settings.pro.php:631 pro/admin/settings.pro.php:922
969
- msgid "Right"
970
- msgstr ""
971
-
972
- #: pro/admin/settings.pro.php:641
973
- msgid "Panel Title Font Weight"
974
- msgstr ""
975
-
976
- #: pro/admin/settings.pro.php:642
977
- msgid "The font weight of the text in the header/title within the panel."
978
- msgstr ""
979
-
980
- #: pro/admin/settings.pro.php:646 pro/admin/settings.pro.php:759
981
- #: pro/admin/settings.pro.php:1006
982
- msgid "Normal"
983
- msgstr ""
984
-
985
- #: pro/admin/settings.pro.php:647 pro/admin/settings.pro.php:760
986
- #: pro/admin/settings.pro.php:1007
987
- msgid "Bold"
988
- msgstr ""
989
-
990
- #: pro/admin/settings.pro.php:664
991
- msgid "Menu Item Background Color"
992
- msgstr ""
993
-
994
- #: pro/admin/settings.pro.php:665
995
- msgid ""
996
- "The color of the menu item background. Normally not necessary to set "
997
- "unless you want it to differ from the panel background"
998
- msgstr ""
999
-
1000
- #: pro/admin/settings.pro.php:673
1001
- msgid "Menu Item Font Color"
1002
- msgstr ""
1003
-
1004
- #: pro/admin/settings.pro.php:674
1005
- msgid "The color of the menu item text."
1006
- msgstr ""
1007
-
1008
- #: pro/admin/settings.pro.php:684
1009
- msgid "Menu Item Background Color [Active]"
1010
- msgstr ""
1011
-
1012
- #: pro/admin/settings.pro.php:685
1013
- msgid "The color of the menu item background when activated."
1014
- msgstr ""
1015
-
1016
- #: pro/admin/settings.pro.php:693
1017
- msgid "Menu Item Font Color [Active]"
1018
- msgstr ""
1019
-
1020
- #: pro/admin/settings.pro.php:694
1021
- msgid "The color of the menu item text when activated."
1022
- msgstr ""
1023
-
1024
- #: pro/admin/settings.pro.php:704
1025
- msgid "Menu Item Background Color [Current]"
1026
- msgstr ""
1027
-
1028
- #: pro/admin/settings.pro.php:705
1029
- msgid "The background color of current menu items."
1030
- msgstr ""
1031
-
1032
- #: pro/admin/settings.pro.php:713
1033
- msgid "Menu Item Font Color [Current]"
1034
- msgstr ""
1035
-
1036
- #: pro/admin/settings.pro.php:714
1037
- msgid "The font color of current menu items"
1038
- msgstr ""
1039
-
1040
- #: pro/admin/settings.pro.php:724
1041
- msgid "Menu Item Background Color [Highlight]"
1042
- msgstr ""
1043
-
1044
- #: pro/admin/settings.pro.php:725
1045
- msgid "The background color of highlighted menu items."
1046
- msgstr ""
1047
-
1048
- #: pro/admin/settings.pro.php:733
1049
- msgid "Menu Item Font Color [Highlight]"
1050
- msgstr ""
1051
-
1052
- #: pro/admin/settings.pro.php:734
1053
- msgid "The color of highlighted menu items"
1054
- msgstr ""
1055
-
1056
- #: pro/admin/settings.pro.php:745
1057
- msgid "Menu Item Font Size"
1058
- msgstr ""
1059
-
1060
- #: pro/admin/settings.pro.php:746
1061
- msgid "The size of the menu item text."
1062
- msgstr ""
1063
-
1064
- #: pro/admin/settings.pro.php:754
1065
- msgid "Menu Item Font Weight"
1066
- msgstr ""
1067
-
1068
- #: pro/admin/settings.pro.php:755
1069
- msgid "The weight of the menu item text."
1070
- msgstr ""
1071
-
1072
- #: pro/admin/settings.pro.php:768
1073
- msgid "Menu Item Top Border Color"
1074
- msgstr ""
1075
-
1076
- #: pro/admin/settings.pro.php:769
1077
- msgid "The color of the top border of the menu item."
1078
- msgstr ""
1079
-
1080
- #: pro/admin/settings.pro.php:777
1081
- msgid "Menu Item Top Border Color [Active]"
1082
- msgstr ""
1083
-
1084
- #: pro/admin/settings.pro.php:778
1085
- msgid "The color of the top border of an active menu item."
1086
- msgstr ""
1087
-
1088
- #: pro/admin/settings.pro.php:786
1089
- msgid "Menu Item Bottom Border Color"
1090
- msgstr ""
1091
-
1092
- #: pro/admin/settings.pro.php:787
1093
- msgid "The color of the bottom border of the menu item."
1094
- msgstr ""
1095
-
1096
- #: pro/admin/settings.pro.php:796
1097
- msgid "Menu Item Bottom Border Color [Active]"
1098
- msgstr ""
1099
-
1100
- #: pro/admin/settings.pro.php:797
1101
- msgid "The color of the bottom border of the active menu item."
1102
- msgstr ""
1103
-
1104
- #: pro/admin/settings.pro.php:806 pro/admin/settings.pro.php:982
1105
- msgid "Disable Menu Item Borders"
1106
- msgstr ""
1107
-
1108
- #: pro/admin/settings.pro.php:807 pro/admin/settings.pro.php:983
1109
- msgid "Remove the borders between menu items."
1110
- msgstr ""
1111
-
1112
- #: pro/admin/settings.pro.php:817
1113
- msgid "Disable Menu Item Text Shadow"
1114
- msgstr ""
1115
-
1116
- #: pro/admin/settings.pro.php:818
1117
- msgid "Remove the text shadow on the menu items."
1118
- msgstr ""
1119
-
1120
- #: pro/admin/settings.pro.php:829
1121
- msgid "Top Level Menu Item Text Transform"
1122
- msgstr ""
1123
-
1124
- #: pro/admin/settings.pro.php:833
1125
- msgid "Default"
1126
- msgstr ""
1127
-
1128
- #: pro/admin/settings.pro.php:834
1129
- msgid "None"
1130
- msgstr ""
1131
-
1132
- #: pro/admin/settings.pro.php:835
1133
- msgid "Uppercase"
1134
- msgstr ""
1135
-
1136
- #: pro/admin/settings.pro.php:850
1137
- msgid "Menu Item Activator Button Background"
1138
- msgstr ""
1139
-
1140
- #: pro/admin/settings.pro.php:851
1141
- msgid "The background color of the button used to open and close the submenus"
1142
- msgstr ""
1143
-
1144
- #: pro/admin/settings.pro.php:859
1145
- msgid "Menu Item Activator Button Background [Active]"
1146
- msgstr ""
1147
-
1148
- #: pro/admin/settings.pro.php:860
1149
- msgid ""
1150
- "The active background color of the button used to open and close the "
1151
- "submenus"
1152
- msgstr ""
1153
-
1154
- #: pro/admin/settings.pro.php:868
1155
- msgid "Menu Item Activator Arrow Color"
1156
- msgstr ""
1157
-
1158
- #: pro/admin/settings.pro.php:869
1159
- msgid "The arrow color of the button used to open and close the submenus"
1160
- msgstr ""
1161
-
1162
- #: pro/admin/settings.pro.php:877
1163
- msgid "Menu Item Activator Arrow Color [Active]"
1164
- msgstr ""
1165
-
1166
- #: pro/admin/settings.pro.php:878
1167
- msgid "The active arrow color of the button used to open and close the submenus"
1168
- msgstr ""
1169
-
1170
- #: pro/admin/settings.pro.php:897
1171
- msgid "Submenu Retractor / Back Button Background"
1172
- msgstr ""
1173
-
1174
- #: pro/admin/settings.pro.php:898
1175
- msgid "The background color of the submenu retractor button"
1176
- msgstr ""
1177
-
1178
- #: pro/admin/settings.pro.php:906
1179
- msgid "Submenu Retractor / Back Button Font Color"
1180
- msgstr ""
1181
-
1182
- #: pro/admin/settings.pro.php:907
1183
- msgid "The font color of the submenu retractor button"
1184
- msgstr ""
1185
-
1186
- #: pro/admin/settings.pro.php:915
1187
- msgid "Submenu Retractor / Back Button Alignment"
1188
- msgstr ""
1189
-
1190
- #: pro/admin/settings.pro.php:916
1191
- msgid "The alignment of the submenu retractor button text"
1192
- msgstr ""
1193
-
1194
- #: pro/admin/settings.pro.php:934
1195
- msgid "Submenu Background Color"
1196
- msgstr ""
1197
-
1198
- #: pro/admin/settings.pro.php:935
1199
- msgid "The background color of the submenu"
1200
- msgstr ""
1201
-
1202
- #: pro/admin/settings.pro.php:944
1203
- msgid "Submenu Item Background Color"
1204
- msgstr ""
1205
-
1206
- #: pro/admin/settings.pro.php:945
1207
- msgid "The background color of the individual submenu items"
1208
- msgstr ""
1209
-
1210
- #: pro/admin/settings.pro.php:954
1211
- msgid "Submenu Item Font Color"
1212
- msgstr ""
1213
-
1214
- #: pro/admin/settings.pro.php:955
1215
- msgid "The font color of the submenu items"
1216
- msgstr ""
1217
-
1218
- #: pro/admin/settings.pro.php:963
1219
- msgid "Submenu Item Top Border Color"
1220
- msgstr ""
1221
-
1222
- #: pro/admin/settings.pro.php:964
1223
- msgid "The color of the submenu item top border"
1224
- msgstr ""
1225
-
1226
- #: pro/admin/settings.pro.php:972
1227
- msgid "Submenu Item Bottom Border Color"
1228
- msgstr ""
1229
-
1230
- #: pro/admin/settings.pro.php:973
1231
- msgid "The color of the bottom border of the submenu items"
1232
- msgstr ""
1233
-
1234
- #: pro/admin/settings.pro.php:992
1235
- msgid "Submenu Item Font Size"
1236
- msgstr ""
1237
-
1238
- #: pro/admin/settings.pro.php:993
1239
- msgid "The font size of the submenu items"
1240
- msgstr ""
1241
-
1242
- #: pro/admin/settings.pro.php:1001
1243
- msgid "Submenu Item Font Weight"
1244
- msgstr ""
1245
-
1246
- #: pro/admin/settings.pro.php:1002
1247
- msgid "The font weight of the submenu items"
1248
- msgstr ""
1249
-
1250
- #: pro/admin/settings.pro.php:1018
1251
- msgid "Font Family"
1252
- msgstr ""
1253
-
1254
- #: pro/admin/settings.pro.php:1019
1255
- msgid ""
1256
- "The font family the panel. This should be a system font or else the font "
1257
- "assets should already be loaded on your site, via @font-face or Google "
1258
- "Fonts for example."
1259
- msgstr ""
1260
-
1261
- #: pro/search.php:23 pro/search.php:66
1262
- msgid "Search..."
1263
- msgstr ""
1264
-
1265
- #: pro/updates/EDD_SL_Plugin_Updater.php:177
1266
- msgid ""
1267
- "There is a new version of %1$s available. <a target=\"_blank\" "
1268
- "class=\"thickbox\" href=\"%2$s\">View version %3$s details</a>."
1269
- msgstr ""
1270
-
1271
- #: pro/updates/EDD_SL_Plugin_Updater.php:184
1272
- msgid ""
1273
- "There is a new version of %1$s available. <a target=\"_blank\" "
1274
- "class=\"thickbox\" href=\"%2$s\">View version %3$s details</a> or <a "
1275
- "href=\"%4$s\">update now</a>."
1276
- msgstr ""
1277
-
1278
- #: pro/updates/EDD_SL_Plugin_Updater.php:324
1279
- msgid "You do not have permission to install plugin updates"
1280
- msgstr ""
1281
-
1282
- #: pro/updates/EDD_SL_Plugin_Updater.php:324
1283
- msgid "Error"
1284
- msgstr ""
1285
-
1286
- #: pro/updates/backup.php:167
1287
- msgid ""
1288
- "ShiftNav: Could not restore custom.css file, as the directory is not "
1289
- "writable. You can manually restore the file from the "
1290
- "wp-content/uploads/shiftnav_backups directory"
1291
- msgstr ""
1292
-
1293
- #: pro/updates/backup.php:170
1294
- msgid "ShiftNav: Successfully restored custom.css file"
1295
- msgstr ""
1296
-
1297
- #: pro/updates/backup.php:181
1298
- msgid ""
1299
- "ShiftNav: Could not restore custom.less file, as the directory is not "
1300
- "writable. You can manually restore the file from the "
1301
- "wp-content/uploads/shiftnav_backups directory"
1302
- msgstr ""
1303
-
1304
- #: pro/updates/backup.php:184
1305
- msgid "ShiftNav: Successfully restored custom.less file"
1306
- msgstr ""
1307
-
1308
- #: pro/updates/backup.php:195
1309
- msgid ""
1310
- "ShiftNav: Could not restore custom.js file, as the directory is not "
1311
- "writable. You can manually restore the file from the "
1312
- "wp-content/uploads/shiftnav_backups directory"
1313
- msgstr ""
1314
-
1315
- #: pro/updates/backup.php:198
1316
- msgid "ShiftNav: Successfully restored custom.js file"
1317
- msgstr ""
1318
-
1319
- #: pro/updates/updater.php:44
1320
- msgid "Updates"
1321
- msgstr ""
1322
-
1323
- #: pro/updates/updater.php:56
1324
- msgid "Enter your license code to receive updates"
1325
- msgstr ""
1326
-
1327
- #: pro/updates/updater.php:64
1328
- msgid "License Invalid"
1329
- msgstr ""
1330
-
1331
- #: pro/updates/updater.php:72
1332
- msgid "License is valid"
1333
- msgstr ""
1334
-
1335
- #: pro/updates/updater.php:91
1336
- msgid "Backup custom assets"
1337
- msgstr ""
1338
-
1339
- #: pro/updates/updater.php:92
1340
- msgid ""
1341
- "Automatically backup custom.css and custom.less so that they can be "
1342
- "restored after updating the plugin"
1343
- msgstr ""
1344
-
1345
- #: pro/updates/updater.php:100
1346
- msgid "Automatic backups status"
1347
- msgstr ""
1348
-
1349
- #: pro/updates/updater.php:118
1350
- msgid "License Code"
1351
- msgstr ""
1352
-
1353
- #. Plugin Name of the plugin/theme
1354
- msgid "ShiftNav Pro - Responsive Mobile Menu"
1355
- msgstr ""
1356
-
1357
- #. Plugin URI of the plugin/theme
1358
- msgid "http://shiftnav.io"
1359
- msgstr ""
1360
-
1361
- #. Description of the plugin/theme
1362
- msgid "An off-canvas mobile menu for WordPress with advanced functionality"
1363
- msgstr ""
1364
-
1365
- #. Author of the plugin/theme
1366
- msgid "Chris Mavricos, SevenSpark"
1367
- msgstr ""
1368
-
1369
- #. Author URI of the plugin/theme
1370
- msgid "http://sevenspark.com"
1371
  msgstr ""
1
+ # Copyright (C) 2017
2
+ # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/shiftnav\n"
7
+ "POT-Creation-Date: 2017-06-15 17:13:06+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
  "X-Generator: grunt-wp-i18n 0.4.9\n"
38
  "entirely."
39
  msgstr ""
40
 
41
+ #: admin/settings.config.php:72
42
  msgid "Edge"
43
  msgstr ""
44
 
46
  msgid "Which edge of the viewport should the ShiftNav panel appear on?"
47
  msgstr ""
48
 
 
 
 
 
49
  #: admin/settings.config.php:88
 
 
 
 
 
 
 
 
50
  msgid "Skin"
51
  msgstr ""
52
 
53
+ #: admin/settings.config.php:99
54
  msgid "Indent Always Visible Submenus"
55
  msgstr ""
56
 
57
+ #: admin/settings.config.php:100
58
  msgid "Check this to indent submenu items of always-visible submenus"
59
  msgstr ""
60
 
61
+ #: admin/settings.config.php:109
62
  msgid "Display Site Title"
63
  msgstr ""
64
 
65
+ #: admin/settings.config.php:110
66
  msgid "Display the site title in the menu panel"
67
  msgstr ""
68
 
69
+ #: admin/settings.config.php:119
70
  msgid "Display Panel Close Button"
71
  msgstr ""
72
 
73
+ #: admin/settings.config.php:120
74
  msgid "Display an &times; close button in the upper right of the ShiftNav panel"
75
  msgstr ""
76
 
77
+ #: admin/settings.config.php:130
78
  msgid "Custom Toggle Integration Code"
79
  msgstr ""
80
 
81
+ #: admin/settings.config.php:160
82
  msgid "Display Toggle Bar"
83
  msgstr ""
84
 
85
+ #: admin/settings.config.php:161
86
  msgid ""
87
  "Uncheck this to disable the default toggle bar and add your own custom "
88
  "toggle"
89
  msgstr ""
90
 
91
+ #: admin/settings.config.php:169
92
  msgid "Toggle Bar Style"
93
  msgstr ""
94
 
95
+ #: admin/settings.config.php:170
96
  msgid ""
97
  "Choose whether to have a full width bar, which can include a title and "
98
  "other content, or just a hamburger button only which will appear in the "
99
  "upper corner of the site."
100
  msgstr ""
101
 
102
+ #: admin/settings.config.php:173
103
  msgid "Full Bar"
104
  msgstr ""
105
 
106
+ #: admin/settings.config.php:174
107
  msgid "Hamburger button only"
108
  msgstr ""
109
 
110
+ #: admin/settings.config.php:182
111
  msgid "Toggle Breakpoint"
112
  msgstr ""
113
 
114
+ #: admin/settings.config.php:183
115
  msgid ""
116
  "Show the toggle bar only below this pixel width. 960 is a good default for "
117
  "most sites. Leave blank to show the toggle bar at all times. No need to "
118
  "include \"px\""
119
  msgstr ""
120
 
121
+ #: admin/settings.config.php:183
122
  msgid "Set this to use ShiftNav only at mobile sizes"
123
  msgstr ""
124
 
125
+ #: admin/settings.config.php:191
126
  msgid "Hide Theme Menu"
127
  msgstr ""
128
 
129
+ #: admin/settings.config.php:192
130
  msgid ""
131
  "Enter the selector of the theme's menu if you wish to hide it below the "
132
  "breakpoint above. For example, <code>#primary-nav</code> or "
133
  "<code>.topnav</code>. "
134
  msgstr ""
135
 
136
+ #: admin/settings.config.php:192 admin/settings.config.php:201
137
  msgid ""
138
  "This setting requires you to set the <strong>Toggle Breakpoint</strong> "
139
  "setting for it to have an effect"
140
  msgstr ""
141
 
142
+ #: admin/settings.config.php:200
143
  msgid "Hide UberMenu 3"
144
  msgstr ""
145
 
146
+ #: admin/settings.config.php:201
147
  msgid ""
148
  "Hide all UberMenu 3 instances when ShiftNav is displayed. If you would "
149
  "like to only hide a specific UberMenu, use the setting above with a "
150
  "specific UberMenu ID."
151
  msgstr ""
152
 
153
+ #: admin/settings.config.php:209
154
  msgid "Toggle Content"
155
  msgstr ""
156
 
157
+ #: admin/settings.config.php:210
158
  msgid ""
159
  "The content to display in the main toggle bar (only valid for Full Width "
160
  "toggle bar style). Can contain shortcodes and HTML, including <img> tags. "
161
  "Default: [shift_toggle_title] will print the site title"
162
  msgstr ""
163
 
164
+ #: admin/settings.config.php:220
165
  msgid "Toggle Target"
166
  msgstr ""
167
 
168
+ #: admin/settings.config.php:221
169
  msgid ""
170
  "The area which will trigger the ShiftNav Panel to open. (Not relevant for "
171
  "Full Bar toggle style)"
172
  msgstr ""
173
 
174
+ #: admin/settings.config.php:224
175
  msgid "Bars/Burger Icon Only"
176
  msgstr ""
177
 
178
+ #: admin/settings.config.php:225
179
  msgid "Entire Bar"
180
  msgstr ""
181
 
182
+ #: admin/settings.config.php:232
183
  msgid "Close Icon"
184
  msgstr ""
185
 
186
+ #: admin/settings.config.php:233
187
  msgid "When the toggle is open, choose which icon to display."
188
  msgstr ""
189
 
190
+ #: admin/settings.config.php:246
191
  msgid "Toggle Bar Position"
192
  msgstr ""
193
 
194
+ #: admin/settings.config.php:247
195
  msgid ""
196
  "Choose Fixed if you'd like the toggle bar to always be visible, or Absolute "
197
  "if you'd like it only to be visible when scrolled to the very top of the "
198
  "page"
199
  msgstr ""
200
 
201
+ #: admin/settings.config.php:250
202
  msgid "Fixed (always in viewport)"
203
  msgstr ""
204
 
205
+ #: admin/settings.config.php:251
206
  msgid "Absolute (scrolls out of viewport)"
207
  msgstr ""
208
 
209
+ #: admin/settings.config.php:260
210
  msgid "Align Text"
211
  msgstr ""
212
 
213
+ #: admin/settings.config.php:261
214
  msgid "Align text left, right, or center. Applies to inline elements only."
215
  msgstr ""
216
 
217
+ #: admin/settings.config.php:275
218
  msgid "Background Color"
219
  msgstr ""
220
 
221
+ #: admin/settings.config.php:286
222
  msgid "Transparent Background"
223
  msgstr ""
224
 
225
+ #: admin/settings.config.php:287
226
  msgid ""
227
  "Make the toggle bar transparent. Note that this only make sense if you are "
228
  "using a hamburger-only Toggle Bar Style, or remove the Toggle Bar Gap"
229
  msgstr ""
230
 
231
+ #: admin/settings.config.php:298
232
+ msgid "Text/Burger Color"
233
  msgstr ""
234
 
235
+ #: admin/settings.config.php:308
236
  msgid "Font Size"
237
  msgstr ""
238
 
239
+ #: admin/settings.config.php:309
240
  msgid "Override the default font size of the toggle bar by setting a value here."
241
  msgstr ""
242
 
243
+ #: admin/settings.config.php:319
244
  msgid "Hamburger Size"
245
  msgstr ""
246
 
247
+ #: admin/settings.config.php:320
248
  msgid "Size of the hamburger icon in pixes (font size)."
249
  msgstr ""
250
 
251
+ #: admin/settings.config.php:331
252
  msgid "Toggle Bar Gap"
253
  msgstr ""
254
 
255
+ #: admin/settings.config.php:332
256
  msgid ""
257
  "By default, ShiftNav will automatically determine if a gap is needed - in "
258
  "short, space is left for the full bar toggle, and is not left for a "
259
  "burger-only toggle. If you wish to override this, you can do so here."
260
  msgstr ""
261
 
262
+ #: admin/settings.config.php:335
263
  msgid "Automatic"
264
  msgstr ""
265
 
266
+ #: admin/settings.config.php:336
267
  msgid "Disable Gap"
268
  msgstr ""
269
 
270
+ #: admin/settings.config.php:337
271
  msgid "Enable Gap"
272
  msgstr ""
273
 
274
+ #: admin/settings.config.php:372
275
  msgid "CSS Tweaks"
276
  msgstr ""
277
 
278
+ #: admin/settings.config.php:373
279
  msgid "Add custom CSS here, which will be printed in the site head."
280
  msgstr ""
281
 
282
+ #: admin/settings.config.php:380
283
  msgid "Shift Body"
284
  msgstr ""
285
 
286
+ #: admin/settings.config.php:381
287
  msgid ""
288
  "Shift the body of the site when the menu is revealed. For some themes, "
289
  "this may negatively affect the site content, so this can be disabled."
290
  msgstr ""
291
 
292
+ #: admin/settings.config.php:388
293
  msgid "Shift Body Wrapper"
294
  msgstr ""
295
 
296
+ #: admin/settings.config.php:389
297
  msgid ""
298
  "Leave this blank to automatically create a ShiftNav Wrapper via javascript "
299
  "(this may have side effects). Set a selector here to turn a specific div "
302
  "conflict."
303
  msgstr ""
304
 
305
+ #: admin/settings.config.php:396
306
  msgid "Footer Content"
307
  msgstr ""
308
 
309
+ #: admin/settings.config.php:397
310
  msgid ""
311
  "Add HTML or Shortcodes here and it will be injected at the wp_footer() "
312
  "hook. Useful for fixed position elements"
313
  msgstr ""
314
 
315
+ #: admin/settings.config.php:404
316
  msgid "Mobile Only"
317
  msgstr ""
318
 
319
+ #: admin/settings.config.php:405
320
  msgid ""
321
  "Only display ShiftNav when a mobile device is detected via wp_is_mobile(). "
322
  "If you are using a caching plugin, make sure you have separate mobile and "
323
  "desktop caches."
324
  msgstr ""
325
 
326
+ #: admin/settings.config.php:405
327
  msgid ""
328
  "This is NOT the preferred way to make your menu appear on mobile devices. "
329
  "For 99% of users, you will want to set a Toggle Breakpoint in the Toggle "
330
  "Bar Panel, rather than using this setting."
331
  msgstr ""
332
 
333
+ #: admin/settings.config.php:412
334
  msgid "Button Size"
335
  msgstr ""
336
 
337
+ #: admin/settings.config.php:413
338
  msgid ""
339
  "The size of the padding on the links in the menu. The larger the setting, "
340
  "the easier to click; but fewer menu items will appear on the screen at a "
341
  "time."
342
  msgstr ""
343
 
344
+ #: admin/settings.config.php:426
345
  msgid "Text Size"
346
  msgstr ""
347
 
348
+ #: admin/settings.config.php:427
349
  msgid "The size of the font on the links in the menu (will override all levels)."
350
  msgstr ""
351
 
352
+ #: admin/settings.config.php:441
353
  msgid "Icon Size"
354
  msgstr ""
355
 
356
+ #: admin/settings.config.php:442
357
  msgid "The size of the icons in the menu."
358
  msgstr ""
359
 
360
+ #: admin/settings.config.php:458
361
  msgid "Disable Transforms &amp; Transitions"
362
  msgstr ""
363
 
364
+ #: admin/settings.config.php:459
365
  msgid ""
366
  "Disable CSS3 transformations and transitions. This will disable smooth "
367
  "animations, but may work better on browsers that don't properly implement "
371
  "produce false positives when testing."
372
  msgstr ""
373
 
374
+ #: admin/settings.config.php:466
375
  msgid "Touch-off close"
376
  msgstr ""
377
 
378
+ #: admin/settings.config.php:467
379
  msgid "Close the ShiftNav panel when touching any content not in the panel."
380
  msgstr ""
381
 
382
+ #: admin/settings.config.php:475
383
  msgid "Scroll Offset"
384
  msgstr ""
385
 
386
+ #: admin/settings.config.php:476
387
  msgid ""
388
  "When using the ScrollTo functionality, this is the number of pixels to "
389
  "offset the scroll by, to account for the toggle bar and any spacing you "
390
  "want."
391
  msgstr ""
392
 
393
+ #: admin/settings.config.php:485
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
394
  msgid "Open Current Accordion Submenu"
395
  msgstr ""
396
 
397
+ #: admin/settings.config.php:486
398
  msgid ""
399
  "Open the submenu of the current menu item on page load (accordion submenus "
400
  "only)."
401
  msgstr ""
402
 
403
+ #: admin/settings.config.php:493
404
  msgid "Collapse Accordions"
405
  msgstr ""
406
 
407
+ #: admin/settings.config.php:494
408
  msgid ""
409
  "When an accordion menu is opened, collapse any other accordions on that "
410
  "level."
411
  msgstr ""
412
 
413
+ #: admin/settings.config.php:501
414
  msgid "Scroll Shift Submenus to Top"
415
  msgstr ""
416
 
417
+ #: admin/settings.config.php:502
418
  msgid ""
419
  "When a Shift submenu is activated, scroll that item to the top to maximize "
420
  "submenu visibility."
421
  msgstr ""
422
 
423
+ #: admin/settings.config.php:510
424
  msgid "Highlight Targets on Hover"
425
  msgstr ""
426
 
427
+ #: admin/settings.config.php:511
428
  msgid ""
429
  "With this setting enabled, the links will be highlighted when hovered or "
430
  "touched."
431
  msgstr ""
432
 
433
+ #: admin/settings.config.php:518
434
  msgid "Highlight Targets on :active"
435
  msgstr ""
436
 
437
+ #: admin/settings.config.php:519
438
  msgid ""
439
  "With this setting enabled, the links will be highlighted while in the "
440
  ":active state. May not be desirable for touch scrolling."
441
  msgstr ""
442
 
443
+ #: admin/settings.config.php:526
444
  msgid "Back Button Tag"
445
  msgstr ""
446
 
447
+ #: admin/settings.config.php:527
448
  msgid ""
449
  "By default the tag is an anchor. Some themes will try to add JS to the "
450
  "anchor and break the back button functionality, so you can also switch this "
451
  "to a span to avoid the issue."
452
  msgstr ""
453
 
454
+ #: admin/settings.config.php:538
455
  msgid "Back Button Text"
456
  msgstr ""
457
 
458
+ #: admin/settings.config.php:539
459
  msgid ""
460
  "By default, the Back button text will read \"Back\". You can change this "
461
  "here. Note that if you set a value here, it will no longer be translatable."
462
  msgstr ""
463
 
464
+ #: admin/settings.config.php:545
465
  msgid "Top Back Button"
466
  msgstr ""
467
 
468
+ #: admin/settings.config.php:546
469
  msgid "Display a back button at the top of shift submenus (below the parent item)"
470
  msgstr ""
471
 
472
+ #: admin/settings.config.php:552
473
  msgid "Bottom Back Button"
474
  msgstr ""
475
 
476
+ #: admin/settings.config.php:553
477
  msgid ""
478
  "Display a back button at the bottom of shift submenus. Note that you must "
479
  "leave at least one back button enabled for users to be able to move back up "
480
  "a level."
481
  msgstr ""
482
 
483
+ #: admin/settings.config.php:560
484
  msgid "Show Tips to Admins"
485
  msgstr ""
486
 
487
+ #: admin/settings.config.php:561
488
  msgid "Display tips to admin users"
489
  msgstr ""
490
 
491
+ #: admin/settings.config.php:568
492
  msgid "Lock Horizontal Scroll"
493
  msgstr ""
494
 
495
+ #: admin/settings.config.php:569
496
  msgid ""
497
  "Attempt to prevent the content from scrolling horizontally when the menu is "
498
  "active. On some themes, may also prevent vertical scrolling. May not "
500
  "Body</strong> is disabled."
501
  msgstr ""
502
 
503
+ #: admin/settings.config.php:576
504
  msgid "Lock Scroll"
505
  msgstr ""
506
 
507
+ #: admin/settings.config.php:577
508
  msgid ""
509
  "Lock both vertical and horizontal scrolling on site content when menu is "
510
  "active. No effect if <strong>Shift Body</strong> is disabled."
511
  msgstr ""
512
 
513
+ #: admin/settings.config.php:584
514
  msgid "Load Font Awesome"
515
  msgstr ""
516
 
517
+ #: admin/settings.config.php:585
518
  msgid ""
519
  "If you are already loading Font Awesome 4 elsewhere in your setup, you can "
520
  "disable this."
521
  msgstr ""
522
 
523
+ #: admin/settings.config.php:592
524
  msgid "Inherit UberMenu Conditionals"
525
  msgstr ""
526
 
527
+ #: admin/settings.config.php:593
528
  msgid "Display menu items based on UberMenu Conditionals settings"
529
  msgstr ""
530
 
531
+ #: admin/settings.config.php:600
532
  msgid "Process UberMenu Menu Segments"
533
  msgstr ""
534
 
535
+ #: admin/settings.config.php:601
536
  msgid ""
537
  "Most UberMenu Advanced Items will be ignored by ShiftNav, as they are "
538
  "UberMenu-specific. However, ShiftNav can process UberMenu Menu Segments "
539
  "with this setting enabled."
540
  msgstr ""
541
 
542
+ #: admin/settings.config.php:609
543
  msgid "Force Filter Menu Args"
544
  msgstr ""
545
 
546
+ #: admin/settings.config.php:610
547
  msgid ""
548
  "Some themes will filter the menu arguments on all menus on the site, which "
549
  "can break things. This will re-filter those arguments for ShiftNav menus "
550
  "only."
551
  msgstr ""
552
 
553
+ #: admin/settings.config.php:617
554
  msgid "Kill Menu Class Filter"
555
  msgstr ""
556
 
557
+ #: admin/settings.config.php:618
558
  msgid ""
559
  "Some themes filter the menu item classes and strip out core WordPress "
560
  "functionality. This will change the structure of ShiftNav and prevent "
562
  "<code>nav_menu_css_class</code> filter."
563
  msgstr ""
564
 
565
+ #: admin/settings.config.php:681
566
  msgid "Main ShiftNav Settings"
567
  msgstr ""
568
 
569
+ #: admin/settings.config.php:685
570
  msgid "Toggle Bar"
571
  msgstr ""
572
 
573
+ #: admin/settings.config.php:693
574
  msgid "General Settings"
575
  msgstr ""
576
 
577
+ #: admin/settings.config.php:718
578
  msgid "Reset Settings"
579
  msgstr ""
580
 
625
  "but item should not be displayed in ShiftNav"
626
  msgstr ""
627
 
628
+ #: admin/settings.menu.php:334
629
  msgid "Submenu Type"
630
  msgstr ""
631
 
636
  "\"Accordion\" or \"Shift\" with the Pro version."
637
  msgstr ""
638
 
639
+ #: admin/settings.menu.php:339
640
  msgid "Menu Default"
641
  msgstr ""
642
 
643
+ #: admin/settings.menu.php:340
 
644
  msgid "Always visible"
645
  msgstr ""
646
 
688
  msgid "Back"
689
  msgstr ""
690
 
691
+ #: includes/functions.php:279
692
  msgid "ShiftNav [Main]"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
693
  msgstr ""
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: sevenspark
3
  Donate link: http://shiftnav.io/pro
4
  Tags: responsive, menu, navigation, mobile, off-canvas, app, slide, sidebar
5
  Requires at least: 4.0
6
- Tested up to: 4.7.2
7
- Stable tag: 1.5.1.1
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -56,6 +56,23 @@ Please see the [ShiftNav Quick Setup Guide](http://sevenspark.com/docs/shiftnav-
56
 
57
  == Changelog ==
58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  = 1.5.1.1 =
60
  * Fix: Properly handle UberMenu Menu Segments when they have been renamed by the user and using multiple segments
61
 
@@ -201,4 +218,3 @@ Version 1.3 includes new features and enhancements
201
 
202
  Initial Beta Release
203
 
204
-
3
  Donate link: http://shiftnav.io/pro
4
  Tags: responsive, menu, navigation, mobile, off-canvas, app, slide, sidebar
5
  Requires at least: 4.0
6
+ Tested up to: 4.8
7
+ Stable tag: 1.5.2
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
56
 
57
  == Changelog ==
58
 
59
+
60
+ = 1.5.2 =
61
+
62
+ * Enhancement: Reorganize code to better handle deferred and async javascript
63
+ * Enhancement: Add disable_content attribute to shiftnav_toggle shortcode
64
+ * Enhancement: Don't throw error when there's an invalid hash string
65
+
66
+
67
+
68
+
69
+ = 1.5.1.2 =
70
+
71
+ * UX Enhancement: Main toggle now closes open secondary menu
72
+ * jQuery 3 Compatibility Enhancement: Change .size() calls to .length
73
+ * Fix: Remove extraneous closing tag when using UberMenu Menu Segments in ShiftNav
74
+
75
+
76
  = 1.5.1.1 =
77
  * Fix: Properly handle UberMenu Menu Segments when they have been renamed by the user and using multiple segments
78
 
218
 
219
  Initial Beta Release
220
 
 
shiftnav-responsive-mobile-menu.php CHANGED
@@ -6,7 +6,7 @@ Description: An off-canvas mobile menu for WordPress
6
  Author: Chris Mavricos, SevenSpark
7
  Author URI: http://sevenspark.com
8
  License: GPLv2
9
- Version: 1.5.1.2
10
  */
11
 
12
  /* Copyright 2014-2017 Chris Mavricos, SevenSpark */
@@ -53,7 +53,7 @@ final class ShiftNav {
53
  // Plugin version
54
 
55
  if( ! defined( 'SHIFTNAV_VERSION' ) )
56
- define( 'SHIFTNAV_VERSION', '1.5.1.2' );
57
 
58
  if( ! defined( 'SHIFTNAV_PRO' ) )
59
  define( 'SHIFTNAV_PRO', false );
6
  Author: Chris Mavricos, SevenSpark
7
  Author URI: http://sevenspark.com
8
  License: GPLv2
9
+ Version: 1.5.2
10
  */
11
 
12
  /* Copyright 2014-2017 Chris Mavricos, SevenSpark */
53
  // Plugin version
54
 
55
  if( ! defined( 'SHIFTNAV_VERSION' ) )
56
+ define( 'SHIFTNAV_VERSION', '1.5.2' );
57
 
58
  if( ! defined( 'SHIFTNAV_PRO' ) )
59
  define( 'SHIFTNAV_PRO', false );