Rotating Tweets (Twitter widget and shortcode) - Version 1.7.12

Version Description

  • Updated version 2 of JavaScript incl. bug fix

=

Download this release

Release Info

Developer mpntod
Plugin Icon wp plugin Rotating Tweets (Twitter widget and shortcode)
Version 1.7.12
Comparing to
See all releases

Code changes from version 1.7.11 to 1.7.12

js/jquery.cycle2.renamed.js CHANGED
@@ -1,13 +1,14 @@
1
  /*!
2
- * jQuery Cycle2 - Version: 20130502
3
- * http://malsup.com/jquery/cycle2/
4
- * Copyright (c) 2012 M. Alsup; Dual licensed: MIT/GPL
5
- * Requires: jQuery v1.7 or later
6
- */
 
7
  ;(function($) {
8
  "use strict";
9
 
10
- var version = '20130409';
11
 
12
  $.fn.cycle2 = function( options ) {
13
  // fix mistakes with the ready state
@@ -121,7 +122,11 @@ $.fn.cycle2.API = {
121
  if ( opts.container.css('position') == 'static' )
122
  opts.container.css('position', 'relative');
123
 
124
- $(opts.slides[opts.currSlide]).css('opacity',1).show();
 
 
 
 
125
  opts.API.stackSlides( opts.slides[opts.currSlide], opts.slides[opts.nextSlide], !opts.reverse );
126
 
127
  if ( opts.pauseOnHover ) {
@@ -137,7 +142,7 @@ $.fn.cycle2.API = {
137
 
138
  // stage initial transition
139
  if ( opts.timeout ) {
140
- slideOpts = opts.API.getSlideOpts( opts.nextSlide );
141
  opts.API.queueTransition( slideOpts, slideOpts.timeout + opts.delay );
142
  }
143
 
@@ -183,9 +188,13 @@ $.fn.cycle2.API = {
183
  else
184
  opts.paused = false;
185
 
 
186
  if ( ! alreadyResumed ) {
187
  opts.container.removeClass('cycle-paused');
188
- opts.API.queueTransition( opts.API.getSlideOpts(), opts._remainingTimeout );
 
 
 
189
  opts.API.trigger('cycle-resumed', [ opts, opts._remainingTimeout ] ).log('cycle-resumed');
190
  }
191
  },
@@ -276,11 +285,18 @@ $.fn.cycle2.API = {
276
  calcTx: function( slideOpts, manual ) {
277
  var opts = slideOpts;
278
  var tx;
279
- if ( manual && opts.manualFx )
 
 
 
280
  tx = $.fn.cycle2.transitions[opts.manualFx];
 
281
  if ( !tx )
282
  tx = $.fn.cycle2.transitions[opts.fx];
283
 
 
 
 
284
  if (!tx) {
285
  tx = $.fn.cycle2.transitions.fade;
286
  opts.API.log('Transition "' + opts.fx + '" not found. Using fade.');
@@ -396,6 +412,16 @@ $.fn.cycle2.API = {
396
  opts.nextSlide = opts.currSlide;
397
  return;
398
  }
 
 
 
 
 
 
 
 
 
 
399
  if ( timeout ) {
400
  opts._lastQueue = $.now();
401
  if ( specificTimeout === undefined )
@@ -491,14 +517,14 @@ $.fn.cycle2.API = {
491
  slide.addClass( opts.slideClass );
492
  },
493
 
494
- updateView: function( isAfter ) {
495
  var opts = this.opts();
496
  if ( !opts._initialized )
497
  return;
498
  var slideOpts = opts.API.getSlideOpts();
499
  var currSlide = opts.slides[ opts.currSlide ];
500
 
501
- if ( ! isAfter ) {
502
  opts.API.trigger('cycle-update-view-before', [ opts, slideOpts, currSlide ]);
503
  if ( opts.updateView < 0 )
504
  return;
@@ -510,10 +536,19 @@ $.fn.cycle2.API = {
510
  }
511
 
512
  if ( isAfter && opts.hideNonActive )
513
- opts.slides.filter( ':not(.' + opts.slideActiveClass + ')' ).hide();
 
 
 
 
 
 
514
 
515
- opts.API.trigger('cycle-update-view', [ opts, slideOpts, currSlide, isAfter ]);
516
- opts.API.trigger('cycle-update-view-after', [ opts, slideOpts, currSlide ]);
 
 
 
517
  },
518
 
519
  getComponent: function( name ) {
@@ -588,14 +623,14 @@ $.fn.cycle2.transitions = {
588
  none: {
589
  before: function( opts, curr, next, fwd ) {
590
  opts.API.stackSlides( next, curr, fwd );
591
- opts.cssBefore = { opacity: 1, display: 'block' };
592
  }
593
  },
594
  fade: {
595
  before: function( opts, curr, next, fwd ) {
596
  var css = opts.API.getSlideOpts( opts.nextSlide ).slideCss || {};
597
  opts.API.stackSlides( curr, next, fwd );
598
- opts.cssBefore = $.extend(css, { opacity: 0, display: 'block' });
599
  opts.animIn = { opacity: 1 };
600
  opts.animOut = { opacity: 0 };
601
  }
@@ -604,7 +639,7 @@ $.fn.cycle2.transitions = {
604
  before: function( opts , curr, next, fwd ) {
605
  var css = opts.API.getSlideOpts( opts.nextSlide ).slideCss || {};
606
  opts.API.stackSlides( curr, next, fwd );
607
- opts.cssBefore = $.extend(css, { opacity: 1, display: 'block' });
608
  opts.animOut = { opacity: 0 };
609
  }
610
  },
@@ -612,7 +647,7 @@ $.fn.cycle2.transitions = {
612
  before: function( opts, curr, next, fwd ) {
613
  opts.API.stackSlides( curr, next, fwd );
614
  var w = opts.container.css('overflow','hidden').width();
615
- opts.cssBefore = { left: fwd ? w : - w, top: 0, opacity: 1, display: 'block' };
616
  opts.cssAfter = { zIndex: opts._maxZ - 2, left: 0 };
617
  opts.animIn = { left: 0 };
618
  opts.animOut = { left: fwd ? -w : w };
@@ -623,7 +658,7 @@ $.fn.cycle2.transitions = {
623
  // @see: http://jquery.malsup.com/cycle2/api
624
  $.fn.cycle2.defaults = {
625
  allowWrap: true,
626
- autoSelector: '.cycle2-slideshow[data-cycle-auto-init!=false]',
627
  delay: 0,
628
  easing: null,
629
  fx: 'fade',
@@ -643,7 +678,7 @@ $.fn.cycle2.defaults = {
643
  startingSlide: 0,
644
  sync: true,
645
  timeout: 4000,
646
- updateView: -1
647
  };
648
 
649
  // automatically find and run slideshows
@@ -653,12 +688,14 @@ $(document).ready(function() {
653
 
654
  })(jQuery);
655
 
656
- /*! Cycle2 autoheight plugin; Copyright (c) M.Alsup, 2012; version: 20130304 */
657
  (function($) {
658
  "use strict";
659
 
660
  $.extend($.fn.cycle2.defaults, {
661
- autoHeight: 0 // setting this option to false disables autoHeight logic
 
 
662
  });
663
 
664
  $(document).on( 'cycle-initialized', function( e, opts ) {
@@ -763,8 +800,7 @@ function calcSentinelIndex( e, opts ) {
763
 
764
  function onBefore( e, opts, outgoing, incoming, forward ) {
765
  var h = $(incoming).outerHeight();
766
- var duration = opts.sync ? opts.speed / 2 : opts.speed;
767
- opts.container.animate( { height: h }, duration );
768
  }
769
 
770
  function onDestroy( e, opts ) {
@@ -789,9 +825,9 @@ function onDestroy( e, opts ) {
789
  "use strict";
790
 
791
  $.extend($.fn.cycle2.defaults, {
792
- caption: '> .cycle2-caption',
793
  captionTemplate: '{{slideNum}} / {{slideCount}}',
794
- overlay: '> .cycle2-overlay',
795
  overlayTemplate: '<div>{{title}}</div><div>{{desc}}</div>',
796
  captionModule: 'caption'
797
  });
@@ -827,7 +863,7 @@ $(document).on( 'cycle-destroyed', function( e, opts ) {
827
 
828
  })(jQuery);
829
 
830
- /*! command plugin for Cycle2; version: 20130525.1 */
831
  (function($) {
832
  "use strict";
833
 
@@ -878,7 +914,7 @@ $.extend( c2.API, {
878
  var opts = this.opts();
879
  if ( opts.busy && ! opts.manualTrump )
880
  return;
881
-
882
  var count = opts.reverse ? -1 : 1;
883
  if ( opts.allowWrap === false && ( opts.currSlide + count ) >= opts.slideCount )
884
  return;
@@ -915,15 +951,17 @@ $.extend( c2.API, {
915
  if ( ! opts.retainStylesOnDestroy ) {
916
  opts.container.removeAttr( 'style' );
917
  opts.slides.removeAttr( 'style' );
918
- opts.slides.removeClass( 'cycle-slide-active' );
919
  }
920
  opts.slides.each(function() {
921
- $(this).removeData();
 
 
922
  clean( this, 'parsedAttrs', false );
923
  });
924
  },
925
 
926
- jump: function( index ) {
927
  // go to the requested slide
928
  var fwd;
929
  var opts = this.opts();
@@ -943,6 +981,7 @@ $.extend( c2.API, {
943
  opts.timeoutId = 0;
944
  opts.API.log('goto: ', num, ' (zero-index)');
945
  fwd = opts.currSlide < opts.nextSlide;
 
946
  opts.API.prepareTx( true, fwd );
947
  },
948
 
@@ -984,9 +1023,12 @@ $.extend( c2.API, {
984
  opts.slides = $( slides );
985
  opts.slideCount--;
986
  $( slideToRemove ).remove();
987
- if (index == opts.currSlide) {
988
  opts.API.advanceSlide( 1 );
989
- }
 
 
 
990
 
991
  opts.API.trigger('cycle-slide-removed', [ opts, index, slideToRemove ]).log('cycle-slide-removed');
992
  opts.API.updateView();
@@ -996,19 +1038,19 @@ $.extend( c2.API, {
996
  });
997
 
998
  // listen for clicks on elements with data-cycle-cmd attribute
999
- $(document).on('click.cycle2', '[data-cycle-cmd]', function(e) {
1000
  // issue cycle command
1001
  e.preventDefault();
1002
  var el = $(this);
1003
  var command = el.data('cycle-cmd');
1004
- var context = el.data('cycle-context') || '.cycle2-slideshow';
1005
  $(context).cycle2(command, el.data('cycle-arg'));
1006
  });
1007
 
1008
 
1009
  })(jQuery);
1010
 
1011
- /*! hash plugin for Cycle2; version: 20121120 */
1012
  (function($) {
1013
  "use strict";
1014
 
@@ -1023,7 +1065,7 @@ $(document).on( 'cycle-pre-initialize', function( e, opts ) {
1023
  });
1024
 
1025
  $(document).on( 'cycle-update-view', function( e, opts, slideOpts ) {
1026
- if ( slideOpts.hash ) {
1027
  opts._hashFence = true;
1028
  window.location.hash = slideOpts.hash;
1029
  }
@@ -1050,8 +1092,9 @@ function onHashChange( opts, setStartingSlide ) {
1050
  opts.startingSlide = i;
1051
  }
1052
  else {
 
1053
  opts.nextSlide = i;
1054
- opts.API.prepareTx( true, false );
1055
  }
1056
  return false;
1057
  }
@@ -1060,7 +1103,7 @@ function onHashChange( opts, setStartingSlide ) {
1060
 
1061
  })(jQuery);
1062
 
1063
- /*! loader plugin for Cycle2; version: 20130307 */
1064
  (function($) {
1065
  "use strict";
1066
 
@@ -1093,13 +1136,13 @@ $(document).on( 'cycle-bootstrap', function( e, opts ) {
1093
  if ( ! slideCount )
1094
  return;
1095
 
1096
- slides.hide().appendTo('body').each(function(i) { // appendTo fixes #56
1097
  var count = 0;
1098
  var slide = $(this);
1099
  var images = slide.is('img') ? slide : slide.find('img');
1100
  slide.data('index', i);
1101
  // allow some images to be marked as unimportant (and filter out images w/o src value)
1102
- images = images.filter(':not(.cycle2-loader-ignore)').filter(':not([src=""])');
1103
  if ( ! images.length ) {
1104
  --slideCount;
1105
  slideArr.push( slide );
@@ -1115,7 +1158,7 @@ $(document).on( 'cycle-bootstrap', function( e, opts ) {
1115
  else {
1116
  $(this).load(function() {
1117
  imageLoaded();
1118
- }).error(function() {
1119
  if ( --count === 0 ) {
1120
  // ignore this slide
1121
  opts.API.log('slide skipped; img not loaded:', this.src);
@@ -1166,16 +1209,17 @@ $(document).on( 'cycle-bootstrap', function( e, opts ) {
1166
 
1167
  })(jQuery);
1168
 
1169
- /*! pager plugin for Cycle2; version: 20130525 */
1170
  (function($) {
1171
  "use strict";
1172
 
1173
  $.extend($.fn.cycle2.defaults, {
1174
- pager: '> .cycle2-pager',
1175
  pagerActiveClass: 'cycle-pager-active',
1176
- pagerEvent: 'click.cycle2',
 
1177
  pagerTemplate: '<span>&bull;</span>'
1178
- });
1179
 
1180
  $(document).on( 'cycle-bootstrap', function( e, opts, API ) {
1181
  // add method to API
@@ -1234,7 +1278,8 @@ function buildPagerLink( opts, slideOpts, slide ) {
1234
  pagerLink = pager.children().eq( opts.slideCount - 1 );
1235
  }
1236
  pagerLink.on( opts.pagerEvent, function(e) {
1237
- e.preventDefault();
 
1238
  opts.API.page( pager, e.currentTarget);
1239
  });
1240
  });
@@ -1253,25 +1298,25 @@ function page( pager, target ) {
1253
  return; // no op, clicked pager for the currently displayed slide
1254
  }
1255
  opts.nextSlide = nextSlide;
 
1256
  opts.API.prepareTx( true, fwd );
1257
  opts.API.trigger('cycle-pager-activated', [opts, pager, target ]);
1258
  }
1259
 
1260
  })(jQuery);
1261
 
1262
-
1263
- /*! prevnext plugin for Cycle2; version: 20130307 */
1264
  (function($) {
1265
  "use strict";
1266
 
1267
  $.extend($.fn.cycle2.defaults, {
1268
- next: '> .cycle2-next',
1269
- nextEvent: 'click.cycle2',
1270
  disabledClass: 'disabled',
1271
- prev: '> .cycle2-prev',
1272
- prevEvent: 'click.cycle2',
1273
  swipe: false
1274
- });
1275
 
1276
  $(document).on( 'cycle-initialized', function( e, opts ) {
1277
  opts.API.getComponent( 'next' ).on( opts.nextEvent, function(e) {
@@ -1285,12 +1330,14 @@ $(document).on( 'cycle-initialized', function( e, opts ) {
1285
  });
1286
 
1287
  if ( opts.swipe ) {
1288
- var nextEvent = opts.swipeVert ? 'swipeUp.cycle2' : 'swipeLeft.cycle2 swipeleft.cycle2';
1289
- var prevEvent = opts.swipeVert ? 'swipeDown.cycle2' : 'swipeRight.cycle2 swiperight.cycle2';
1290
  opts.container.on( nextEvent, function(e) {
 
1291
  opts.API.next();
1292
  });
1293
  opts.container.on( prevEvent, function() {
 
1294
  opts.API.prev();
1295
  });
1296
  }
@@ -1304,7 +1351,7 @@ $(document).on( 'cycle-update-view', function( e, opts, slideOpts, currSlide ) {
1304
  var next = opts.API.getComponent( 'next' );
1305
  var prev = opts.API.getComponent( 'prev' );
1306
  var prevBoundry = opts._prevBoundry || 0;
1307
- var nextBoundry = opts._nextBoundry || opts.slideCount - 1;
1308
 
1309
  if ( opts.currSlide == nextBoundry )
1310
  next.addClass( cls ).prop( 'disabled', true );
@@ -1321,7 +1368,7 @@ $(document).on( 'cycle-update-view', function( e, opts, slideOpts, currSlide ) {
1321
  $(document).on( 'cycle-destroyed', function( e, opts ) {
1322
  opts.API.getComponent( 'prev' ).off( opts.nextEvent );
1323
  opts.API.getComponent( 'next' ).off( opts.prevEvent );
1324
- opts.container.off( 'swipeleft.cycle2 swiperight.cycle2 swipeLeft.cycle2 swipeRight.cycle2 swipeUp.cycle2 swipeDown.cycle2' );
1325
  });
1326
 
1327
  })(jQuery);
1
  /*!
2
+ * jQuery Cycle2; version: 2.1.6 build: 20141007
3
+ * http://jquery.malsup.com/cycle2/
4
+ * Copyright (c) 2014 M. Alsup; Dual licensed: MIT/GPL
5
+ */
6
+
7
+ /* Cycle2 core engine */
8
  ;(function($) {
9
  "use strict";
10
 
11
+ var version = '2.1.6';
12
 
13
  $.fn.cycle2 = function( options ) {
14
  // fix mistakes with the ready state
122
  if ( opts.container.css('position') == 'static' )
123
  opts.container.css('position', 'relative');
124
 
125
+ $(opts.slides[opts.currSlide]).css({
126
+ opacity: 1,
127
+ display: 'block',
128
+ visibility: 'visible'
129
+ });
130
  opts.API.stackSlides( opts.slides[opts.currSlide], opts.slides[opts.nextSlide], !opts.reverse );
131
 
132
  if ( opts.pauseOnHover ) {
142
 
143
  // stage initial transition
144
  if ( opts.timeout ) {
145
+ slideOpts = opts.API.getSlideOpts( opts.currSlide );
146
  opts.API.queueTransition( slideOpts, slideOpts.timeout + opts.delay );
147
  }
148
 
188
  else
189
  opts.paused = false;
190
 
191
+
192
  if ( ! alreadyResumed ) {
193
  opts.container.removeClass('cycle-paused');
194
+ // #gh-230; if an animation is in progress then don't queue a new transition; it will
195
+ // happen naturally
196
+ if ( opts.slides.filter(':animated').length === 0 )
197
+ opts.API.queueTransition( opts.API.getSlideOpts(), opts._remainingTimeout );
198
  opts.API.trigger('cycle-resumed', [ opts, opts._remainingTimeout ] ).log('cycle-resumed');
199
  }
200
  },
285
  calcTx: function( slideOpts, manual ) {
286
  var opts = slideOpts;
287
  var tx;
288
+
289
+ if ( opts._tempFx )
290
+ tx = $.fn.cycle2.transitions[opts._tempFx];
291
+ else if ( manual && opts.manualFx )
292
  tx = $.fn.cycle2.transitions[opts.manualFx];
293
+
294
  if ( !tx )
295
  tx = $.fn.cycle2.transitions[opts.fx];
296
 
297
+ opts._tempFx = null;
298
+ this.opts()._tempFx = null;
299
+
300
  if (!tx) {
301
  tx = $.fn.cycle2.transitions.fade;
302
  opts.API.log('Transition "' + opts.fx + '" not found. Using fade.');
412
  opts.nextSlide = opts.currSlide;
413
  return;
414
  }
415
+ if ( opts.continueAuto !== undefined ) {
416
+ if ( opts.continueAuto === false ||
417
+ ($.isFunction(opts.continueAuto) && opts.continueAuto() === false )) {
418
+ opts.API.log('terminating automatic transitions');
419
+ opts.timeout = 0;
420
+ if ( opts.timeoutId )
421
+ clearTimeout(opts.timeoutId);
422
+ return;
423
+ }
424
+ }
425
  if ( timeout ) {
426
  opts._lastQueue = $.now();
427
  if ( specificTimeout === undefined )
517
  slide.addClass( opts.slideClass );
518
  },
519
 
520
+ updateView: function( isAfter, isDuring, forceEvent ) {
521
  var opts = this.opts();
522
  if ( !opts._initialized )
523
  return;
524
  var slideOpts = opts.API.getSlideOpts();
525
  var currSlide = opts.slides[ opts.currSlide ];
526
 
527
+ if ( ! isAfter && isDuring !== true ) {
528
  opts.API.trigger('cycle-update-view-before', [ opts, slideOpts, currSlide ]);
529
  if ( opts.updateView < 0 )
530
  return;
536
  }
537
 
538
  if ( isAfter && opts.hideNonActive )
539
+ opts.slides.filter( ':not(.' + opts.slideActiveClass + ')' ).css('visibility', 'hidden');
540
+
541
+ if ( opts.updateView === 0 ) {
542
+ setTimeout(function() {
543
+ opts.API.trigger('cycle-update-view', [ opts, slideOpts, currSlide, isAfter ]);
544
+ }, slideOpts.speed / (opts.sync ? 2 : 1) );
545
+ }
546
 
547
+ if ( opts.updateView !== 0 )
548
+ opts.API.trigger('cycle-update-view', [ opts, slideOpts, currSlide, isAfter ]);
549
+
550
+ if ( isAfter )
551
+ opts.API.trigger('cycle-update-view-after', [ opts, slideOpts, currSlide ]);
552
  },
553
 
554
  getComponent: function( name ) {
623
  none: {
624
  before: function( opts, curr, next, fwd ) {
625
  opts.API.stackSlides( next, curr, fwd );
626
+ opts.cssBefore = { opacity: 1, visibility: 'visible', display: 'block' };
627
  }
628
  },
629
  fade: {
630
  before: function( opts, curr, next, fwd ) {
631
  var css = opts.API.getSlideOpts( opts.nextSlide ).slideCss || {};
632
  opts.API.stackSlides( curr, next, fwd );
633
+ opts.cssBefore = $.extend(css, { opacity: 0, visibility: 'visible', display: 'block' });
634
  opts.animIn = { opacity: 1 };
635
  opts.animOut = { opacity: 0 };
636
  }
639
  before: function( opts , curr, next, fwd ) {
640
  var css = opts.API.getSlideOpts( opts.nextSlide ).slideCss || {};
641
  opts.API.stackSlides( curr, next, fwd );
642
+ opts.cssBefore = $.extend(css, { opacity: 1, visibility: 'visible', display: 'block' });
643
  opts.animOut = { opacity: 0 };
644
  }
645
  },
647
  before: function( opts, curr, next, fwd ) {
648
  opts.API.stackSlides( curr, next, fwd );
649
  var w = opts.container.css('overflow','hidden').width();
650
+ opts.cssBefore = { left: fwd ? w : - w, top: 0, opacity: 1, visibility: 'visible', display: 'block' };
651
  opts.cssAfter = { zIndex: opts._maxZ - 2, left: 0 };
652
  opts.animIn = { left: 0 };
653
  opts.animOut = { left: fwd ? -w : w };
658
  // @see: http://jquery.malsup.com/cycle2/api
659
  $.fn.cycle2.defaults = {
660
  allowWrap: true,
661
+ autoSelector: '.cycle-slideshow[data-cycle-auto-init!=false]',
662
  delay: 0,
663
  easing: null,
664
  fx: 'fade',
678
  startingSlide: 0,
679
  sync: true,
680
  timeout: 4000,
681
+ updateView: 0
682
  };
683
 
684
  // automatically find and run slideshows
688
 
689
  })(jQuery);
690
 
691
+ /*! Cycle2 autoheight plugin; Copyright (c) M.Alsup, 2012; version: 20130913 */
692
  (function($) {
693
  "use strict";
694
 
695
  $.extend($.fn.cycle2.defaults, {
696
+ autoHeight: 0, // setting this option to false disables autoHeight logic
697
+ autoHeightSpeed: 250,
698
+ autoHeightEasing: null
699
  });
700
 
701
  $(document).on( 'cycle-initialized', function( e, opts ) {
800
 
801
  function onBefore( e, opts, outgoing, incoming, forward ) {
802
  var h = $(incoming).outerHeight();
803
+ opts.container.animate( { height: h }, opts.autoHeightSpeed, opts.autoHeightEasing );
 
804
  }
805
 
806
  function onDestroy( e, opts ) {
825
  "use strict";
826
 
827
  $.extend($.fn.cycle2.defaults, {
828
+ caption: '> .cycle-caption',
829
  captionTemplate: '{{slideNum}} / {{slideCount}}',
830
+ overlay: '> .cycle-overlay',
831
  overlayTemplate: '<div>{{title}}</div><div>{{desc}}</div>',
832
  captionModule: 'caption'
833
  });
863
 
864
  })(jQuery);
865
 
866
+ /*! command plugin for Cycle2; version: 20140415 */
867
  (function($) {
868
  "use strict";
869
 
914
  var opts = this.opts();
915
  if ( opts.busy && ! opts.manualTrump )
916
  return;
917
+
918
  var count = opts.reverse ? -1 : 1;
919
  if ( opts.allowWrap === false && ( opts.currSlide + count ) >= opts.slideCount )
920
  return;
951
  if ( ! opts.retainStylesOnDestroy ) {
952
  opts.container.removeAttr( 'style' );
953
  opts.slides.removeAttr( 'style' );
954
+ opts.slides.removeClass( opts.slideActiveClass );
955
  }
956
  opts.slides.each(function() {
957
+ var slide = $(this);
958
+ slide.removeData();
959
+ slide.removeClass( opts.slideClass );
960
  clean( this, 'parsedAttrs', false );
961
  });
962
  },
963
 
964
+ jump: function( index, fx ) {
965
  // go to the requested slide
966
  var fwd;
967
  var opts = this.opts();
981
  opts.timeoutId = 0;
982
  opts.API.log('goto: ', num, ' (zero-index)');
983
  fwd = opts.currSlide < opts.nextSlide;
984
+ opts._tempFx = fx;
985
  opts.API.prepareTx( true, fwd );
986
  },
987
 
1023
  opts.slides = $( slides );
1024
  opts.slideCount--;
1025
  $( slideToRemove ).remove();
1026
+ if (index == opts.currSlide)
1027
  opts.API.advanceSlide( 1 );
1028
+ else if ( index < opts.currSlide )
1029
+ opts.currSlide--;
1030
+ else
1031
+ opts.currSlide++;
1032
 
1033
  opts.API.trigger('cycle-slide-removed', [ opts, index, slideToRemove ]).log('cycle-slide-removed');
1034
  opts.API.updateView();
1038
  });
1039
 
1040
  // listen for clicks on elements with data-cycle-cmd attribute
1041
+ $(document).on('click.cycle', '[data-cycle-cmd]', function(e) {
1042
  // issue cycle command
1043
  e.preventDefault();
1044
  var el = $(this);
1045
  var command = el.data('cycle-cmd');
1046
+ var context = el.data('cycle-context') || '.cycle-slideshow';
1047
  $(context).cycle2(command, el.data('cycle-arg'));
1048
  });
1049
 
1050
 
1051
  })(jQuery);
1052
 
1053
+ /*! hash plugin for Cycle2; version: 20130905 */
1054
  (function($) {
1055
  "use strict";
1056
 
1065
  });
1066
 
1067
  $(document).on( 'cycle-update-view', function( e, opts, slideOpts ) {
1068
+ if ( slideOpts.hash && ( '#' + slideOpts.hash ) != window.location.hash ) {
1069
  opts._hashFence = true;
1070
  window.location.hash = slideOpts.hash;
1071
  }
1092
  opts.startingSlide = i;
1093
  }
1094
  else {
1095
+ var fwd = opts.currSlide < i;
1096
  opts.nextSlide = i;
1097
+ opts.API.prepareTx( true, fwd );
1098
  }
1099
  return false;
1100
  }
1103
 
1104
  })(jQuery);
1105
 
1106
+ /*! loader plugin for Cycle2; version: 20131121 */
1107
  (function($) {
1108
  "use strict";
1109
 
1136
  if ( ! slideCount )
1137
  return;
1138
 
1139
+ slides.css('visibility','hidden').appendTo('body').each(function(i) { // appendTo fixes #56
1140
  var count = 0;
1141
  var slide = $(this);
1142
  var images = slide.is('img') ? slide : slide.find('img');
1143
  slide.data('index', i);
1144
  // allow some images to be marked as unimportant (and filter out images w/o src value)
1145
+ images = images.filter(':not(.cycle-loader-ignore)').filter(':not([src=""])');
1146
  if ( ! images.length ) {
1147
  --slideCount;
1148
  slideArr.push( slide );
1158
  else {
1159
  $(this).load(function() {
1160
  imageLoaded();
1161
+ }).on("error", function() {
1162
  if ( --count === 0 ) {
1163
  // ignore this slide
1164
  opts.API.log('slide skipped; img not loaded:', this.src);
1209
 
1210
  })(jQuery);
1211
 
1212
+ /*! pager plugin for Cycle2; version: 20140415 */
1213
  (function($) {
1214
  "use strict";
1215
 
1216
  $.extend($.fn.cycle2.defaults, {
1217
+ pager: '> .cycle-pager',
1218
  pagerActiveClass: 'cycle-pager-active',
1219
+ pagerEvent: 'click.cycle',
1220
+ pagerEventBubble: undefined,
1221
  pagerTemplate: '<span>&bull;</span>'
1222
+ });
1223
 
1224
  $(document).on( 'cycle-bootstrap', function( e, opts, API ) {
1225
  // add method to API
1278
  pagerLink = pager.children().eq( opts.slideCount - 1 );
1279
  }
1280
  pagerLink.on( opts.pagerEvent, function(e) {
1281
+ if ( ! opts.pagerEventBubble )
1282
+ e.preventDefault();
1283
  opts.API.page( pager, e.currentTarget);
1284
  });
1285
  });
1298
  return; // no op, clicked pager for the currently displayed slide
1299
  }
1300
  opts.nextSlide = nextSlide;
1301
+ opts._tempFx = opts.pagerFx;
1302
  opts.API.prepareTx( true, fwd );
1303
  opts.API.trigger('cycle-pager-activated', [opts, pager, target ]);
1304
  }
1305
 
1306
  })(jQuery);
1307
 
1308
+ /*! prevnext plugin for Cycle2; version: 20140408 */
 
1309
  (function($) {
1310
  "use strict";
1311
 
1312
  $.extend($.fn.cycle2.defaults, {
1313
+ next: '> .cycle-next',
1314
+ nextEvent: 'click.cycle',
1315
  disabledClass: 'disabled',
1316
+ prev: '> .cycle-prev',
1317
+ prevEvent: 'click.cycle',
1318
  swipe: false
1319
+ });
1320
 
1321
  $(document).on( 'cycle-initialized', function( e, opts ) {
1322
  opts.API.getComponent( 'next' ).on( opts.nextEvent, function(e) {
1330
  });
1331
 
1332
  if ( opts.swipe ) {
1333
+ var nextEvent = opts.swipeVert ? 'swipeUp.cycle' : 'swipeLeft.cycle swipeleft.cycle';
1334
+ var prevEvent = opts.swipeVert ? 'swipeDown.cycle' : 'swipeRight.cycle swiperight.cycle';
1335
  opts.container.on( nextEvent, function(e) {
1336
+ opts._tempFx = opts.swipeFx;
1337
  opts.API.next();
1338
  });
1339
  opts.container.on( prevEvent, function() {
1340
+ opts._tempFx = opts.swipeFx;
1341
  opts.API.prev();
1342
  });
1343
  }
1351
  var next = opts.API.getComponent( 'next' );
1352
  var prev = opts.API.getComponent( 'prev' );
1353
  var prevBoundry = opts._prevBoundry || 0;
1354
+ var nextBoundry = (opts._nextBoundry !== undefined)?opts._nextBoundry:opts.slideCount - 1;
1355
 
1356
  if ( opts.currSlide == nextBoundry )
1357
  next.addClass( cls ).prop( 'disabled', true );
1368
  $(document).on( 'cycle-destroyed', function( e, opts ) {
1369
  opts.API.getComponent( 'prev' ).off( opts.nextEvent );
1370
  opts.API.getComponent( 'next' ).off( opts.prevEvent );
1371
+ opts.container.off( 'swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle' );
1372
  });
1373
 
1374
  })(jQuery);
js/jquery.cycle2.scrollVert.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! scrollVert transition plugin for Cycle2; version: 20121120 */
2
  (function($) {
3
  "use strict";
4
 
@@ -6,12 +6,10 @@ $.fn.cycle.transitions.scrollVert = {
6
  before: function( opts, curr, next, fwd ) {
7
  opts.API.stackSlides( opts, curr, next, fwd );
8
  var height = opts.container.css('overflow','hidden').height();
9
- opts.cssBefore = { top: fwd ? -height : height, left: 0, opacity: 1, display: 'block' };
10
  opts.animIn = { top: 0 };
11
  opts.animOut = { top: fwd ? height : -height };
12
  }
13
  };
14
 
15
-
16
-
17
- })(jQuery);
1
+ /*! scrollVert transition plugin for Cycle2; version: 20140128 */
2
  (function($) {
3
  "use strict";
4
 
6
  before: function( opts, curr, next, fwd ) {
7
  opts.API.stackSlides( opts, curr, next, fwd );
8
  var height = opts.container.css('overflow','hidden').height();
9
+ opts.cssBefore = { top: fwd ? -height : height, left: 0, opacity: 1, display: 'block', visibility: 'visible' };
10
  opts.animIn = { top: 0 };
11
  opts.animOut = { top: fwd ? height : -height };
12
  }
13
  };
14
 
15
+ })(jQuery);
 
 
js/jquery.cycle2.scrollVert.renamed.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! scrollVert transition plugin for Cycle2; version: 20121120 */
2
  (function($) {
3
  "use strict";
4
 
@@ -6,12 +6,10 @@ $.fn.cycle2.transitions.scrollVert = {
6
  before: function( opts, curr, next, fwd ) {
7
  opts.API.stackSlides( opts, curr, next, fwd );
8
  var height = opts.container.css('overflow','hidden').height();
9
- opts.cssBefore = { top: fwd ? -height : height, left: 0, opacity: 1, display: 'block' };
10
  opts.animIn = { top: 0 };
11
  opts.animOut = { top: fwd ? height : -height };
12
  }
13
  };
14
 
15
-
16
-
17
  })(jQuery);
1
+ /*! scrollVert transition plugin for Cycle2; version: 20140128 */
2
  (function($) {
3
  "use strict";
4
 
6
  before: function( opts, curr, next, fwd ) {
7
  opts.API.stackSlides( opts, curr, next, fwd );
8
  var height = opts.container.css('overflow','hidden').height();
9
+ opts.cssBefore = { top: fwd ? -height : height, left: 0, opacity: 1, display: 'block', visibility: 'visible' };
10
  opts.animIn = { top: 0 };
11
  opts.animOut = { top: fwd ? height : -height };
12
  }
13
  };
14
 
 
 
15
  })(jQuery);
js/rotating_tweet.js CHANGED
@@ -176,6 +176,9 @@ jQuery(document).ready(function() {
176
  rt_resize_target_tweet = jQuery(rotate_id + ' .rotatingtweet').width(),
177
  rt_resize_target_meta = jQuery(rotate_id + ' .rtw_meta').width();
178
  jQuery(window).resize(function() {
 
 
 
179
  rt_parent = jQuery(rotate_id).parent();
180
  rt_grandparent = rt_parent.parent();
181
  rt_resize_width_new_parent = rt_parent.innerWidth();
@@ -251,7 +254,7 @@ jQuery(document).ready(function() {
251
  console.log('New height: '+ rt_newheight);
252
  }
253
  if(rt_newheight > 0) {
254
- jQuery(rotate_id).height(rt_oldcontainerheight + rt_newheight - rt_oldheight);
255
  }
256
  }
257
  });
176
  rt_resize_target_tweet = jQuery(rotate_id + ' .rotatingtweet').width(),
177
  rt_resize_target_meta = jQuery(rotate_id + ' .rtw_meta').width();
178
  jQuery(window).resize(function() {
179
+ if(rotate_wp_debug) {
180
+ console.log("== Window Resize Detected ==");
181
+ }
182
  rt_parent = jQuery(rotate_id).parent();
183
  rt_grandparent = rt_parent.parent();
184
  rt_resize_width_new_parent = rt_parent.innerWidth();
254
  console.log('New height: '+ rt_newheight);
255
  }
256
  if(rt_newheight > 0) {
257
+ jQuery(rotate_id).height( Math.max( rt_oldcontainerheight + rt_newheight - rt_oldheight,rt_newheight) );
258
  }
259
  }
260
  });
js/rotatingtweets_v2.js CHANGED
@@ -1,6 +1,7 @@
1
  /*
2
  Add some transitions
3
  */
 
4
  (function($) {
5
  "use strict";
6
 
@@ -9,7 +10,7 @@ $.fn.cycle2.transitions.scrollDown = {
9
  opts.API.stackSlides( opts, curr, next, fwd );
10
  var width = opts.container.css('overflow','visible').width();
11
  var height = opts.container.css('overflow','hidden').height();
12
- opts.cssBefore = { top: fwd ? -height : height, left: 0, opacity: 1, display: 'block' ,width:width };
13
  opts.animIn = { top: 0 };
14
  opts.animOut = { top: fwd ? height : -height };
15
  }
@@ -19,7 +20,7 @@ $.fn.cycle2.transitions.scrollUp = {
19
  opts.API.stackSlides( opts, curr, next, fwd );
20
  var width = opts.container.css('overflow','visible').width();
21
  var height = opts.container.css('overflow','hidden').height();
22
- opts.cssBefore = { top: fwd ? height : -height, left: 0, opacity: 1, display: 'block' ,width:width };
23
  opts.animIn = { top: 0 };
24
  opts.animOut = { top: fwd ? -height : height };
25
  }
@@ -28,7 +29,7 @@ $.fn.cycle2.transitions.scrollLeft = {
28
  before: function( opts, curr, next, fwd ) {
29
  opts.API.stackSlides( opts, curr, next, fwd );
30
  var width = opts.container.css('overflow','hidden').width();
31
- opts.cssBefore = { width: width, left : width+20, top: 0, opacity: 1, display: 'block' };
32
  opts.animIn = { left: 0 };
33
  opts.animOut = { left : -width-20,width:width };
34
  }
@@ -38,7 +39,7 @@ $.fn.cycle2.transitions.scrollRight = {
38
  before: function( opts, curr, next, fwd ) {
39
  opts.API.stackSlides( opts, curr, next, fwd );
40
  var width = opts.container.css('overflow','hidden').width();
41
- opts.cssBefore = { width: width, left : -width-20, top: 0, opacity: 1, display: 'block' };
42
  opts.animIn = { left: 0 };
43
  opts.animOut = { left : width+20 };
44
  }
@@ -49,7 +50,7 @@ $.fn.cycle2.transitions.toss = {
49
  opts.API.stackSlides( opts, curr, next, fwd );
50
  var width = opts.container.css('overflow','visible').width();
51
  var height = opts.container.css('overflow','visible').height();
52
- opts.cssBefore = { left: 0, top: 0, opacity: 1, display: 'block',width:width };
53
  opts.animIn = { left: 0 };
54
  opts.animOut = { left : width*2, top:-height/2 , opacity:0, width:width, display:'block' };
55
  }
@@ -59,7 +60,7 @@ $.fn.cycle2.transitions.scrollLeftGap = {
59
  before: function( opts, curr, next, fwd ) {
60
  opts.API.stackSlides( opts, curr, next, fwd );
61
  var width = opts.container.css('overflow','hidden').width();
62
- opts.cssBefore = { width: width, left : width+100, top: 0, opacity: 1, display: 'block' };
63
  opts.animIn = { left: 0 };
64
  opts.animOut = { left : -width-100,width:width };
65
  }
1
  /*
2
  Add some transitions
3
  */
4
+
5
  (function($) {
6
  "use strict";
7
 
10
  opts.API.stackSlides( opts, curr, next, fwd );
11
  var width = opts.container.css('overflow','visible').width();
12
  var height = opts.container.css('overflow','hidden').height();
13
+ opts.cssBefore = { top: fwd ? -height : height, left: 0, visibility: 'visible', opacity: 1, display: 'block' ,width:width };
14
  opts.animIn = { top: 0 };
15
  opts.animOut = { top: fwd ? height : -height };
16
  }
20
  opts.API.stackSlides( opts, curr, next, fwd );
21
  var width = opts.container.css('overflow','visible').width();
22
  var height = opts.container.css('overflow','hidden').height();
23
+ opts.cssBefore = { top: fwd ? height : -height, left: 0, visibility: 'visible', opacity: 1, display: 'block' ,width:width };
24
  opts.animIn = { top: 0 };
25
  opts.animOut = { top: fwd ? -height : height };
26
  }
29
  before: function( opts, curr, next, fwd ) {
30
  opts.API.stackSlides( opts, curr, next, fwd );
31
  var width = opts.container.css('overflow','hidden').width();
32
+ opts.cssBefore = { width: width, left : width+20, top: 0, visibility: 'visible', opacity: 1, display: 'block' };
33
  opts.animIn = { left: 0 };
34
  opts.animOut = { left : -width-20,width:width };
35
  }
39
  before: function( opts, curr, next, fwd ) {
40
  opts.API.stackSlides( opts, curr, next, fwd );
41
  var width = opts.container.css('overflow','hidden').width();
42
+ opts.cssBefore = { width: width, left : -width-20, top: 0, visibility: 'visible', opacity: 1, display: 'block' };
43
  opts.animIn = { left: 0 };
44
  opts.animOut = { left : width+20 };
45
  }
50
  opts.API.stackSlides( opts, curr, next, fwd );
51
  var width = opts.container.css('overflow','visible').width();
52
  var height = opts.container.css('overflow','visible').height();
53
+ opts.cssBefore = { left: 0, top: 0, opacity: 1, visibility: 'visible', display: 'block',width:width };
54
  opts.animIn = { left: 0 };
55
  opts.animOut = { left : width*2, top:-height/2 , opacity:0, width:width, display:'block' };
56
  }
60
  before: function( opts, curr, next, fwd ) {
61
  opts.API.stackSlides( opts, curr, next, fwd );
62
  var width = opts.container.css('overflow','hidden').width();
63
+ opts.cssBefore = { width: width, left : width+100, top: 0, visibility: 'visible', opacity: 1, display: 'block' };
64
  opts.animIn = { left: 0 };
65
  opts.animOut = { left : -width-100,width:width };
66
  }
js/rotatingtweets_v2_cyclone.js CHANGED
@@ -9,7 +9,7 @@ $.fn.cycle.transitions.scrollDown = {
9
  opts.API.stackSlides( opts, curr, next, fwd );
10
  var width = opts.container.css('overflow','visible').width();
11
  var height = opts.container.css('overflow','hidden').height();
12
- opts.cssBefore = { top: fwd ? -height : height, left: 0, opacity: 1, display: 'block' ,width:width };
13
  opts.animIn = { top: 0 };
14
  opts.animOut = { top: fwd ? height : -height };
15
  }
@@ -19,7 +19,7 @@ $.fn.cycle.transitions.scrollUp = {
19
  opts.API.stackSlides( opts, curr, next, fwd );
20
  var width = opts.container.css('overflow','visible').width();
21
  var height = opts.container.css('overflow','hidden').height();
22
- opts.cssBefore = { top: fwd ? height : -height, left: 0, opacity: 1, display: 'block' ,width:width };
23
  opts.animIn = { top: 0 };
24
  opts.animOut = { top: fwd ? -height : height };
25
  }
@@ -28,7 +28,7 @@ $.fn.cycle.transitions.scrollLeft = {
28
  before: function( opts, curr, next, fwd ) {
29
  opts.API.stackSlides( opts, curr, next, fwd );
30
  var width = opts.container.css('overflow','hidden').width();
31
- opts.cssBefore = { width: width, left : width+20, top: 0, opacity: 1, display: 'block' };
32
  opts.animIn = { left: 0 };
33
  opts.animOut = { left : -width-20,width:width };
34
  }
@@ -38,7 +38,7 @@ $.fn.cycle.transitions.scrollRight = {
38
  before: function( opts, curr, next, fwd ) {
39
  opts.API.stackSlides( opts, curr, next, fwd );
40
  var width = opts.container.css('overflow','hidden').width();
41
- opts.cssBefore = { width: width, left : -width-20, top: 0, opacity: 1, display: 'block' };
42
  opts.animIn = { left: 0 };
43
  opts.animOut = { left : width+20 };
44
  }
@@ -49,7 +49,7 @@ $.fn.cycle.transitions.toss = {
49
  opts.API.stackSlides( opts, curr, next, fwd );
50
  var width = opts.container.css('overflow','visible').width();
51
  var height = opts.container.css('overflow','visible').height();
52
- opts.cssBefore = { left: 0, top: 0, opacity: 1, display: 'block',width:width };
53
  opts.animIn = { left: 0 };
54
  opts.animOut = { left : width*2, top:-height/2 , opacity:0, width:width, display:'block' };
55
  }
@@ -59,7 +59,7 @@ $.fn.cycle.transitions.scrollLeftGap = {
59
  before: function( opts, curr, next, fwd ) {
60
  opts.API.stackSlides( opts, curr, next, fwd );
61
  var width = opts.container.css('overflow','hidden').width();
62
- opts.cssBefore = { width: width, left : width+100, top: 0, opacity: 1, display: 'block' };
63
  opts.animIn = { left: 0 };
64
  opts.animOut = { left : -width-100,width:width };
65
  }
9
  opts.API.stackSlides( opts, curr, next, fwd );
10
  var width = opts.container.css('overflow','visible').width();
11
  var height = opts.container.css('overflow','hidden').height();
12
+ opts.cssBefore = { top: fwd ? -height : height, left: 0, visibility: 'visible', opacity: 1, display: 'block' ,width:width };
13
  opts.animIn = { top: 0 };
14
  opts.animOut = { top: fwd ? height : -height };
15
  }
19
  opts.API.stackSlides( opts, curr, next, fwd );
20
  var width = opts.container.css('overflow','visible').width();
21
  var height = opts.container.css('overflow','hidden').height();
22
+ opts.cssBefore = { top: fwd ? height : -height, left: 0, visibility: 'visible', opacity: 1, display: 'block' ,width:width };
23
  opts.animIn = { top: 0 };
24
  opts.animOut = { top: fwd ? -height : height };
25
  }
28
  before: function( opts, curr, next, fwd ) {
29
  opts.API.stackSlides( opts, curr, next, fwd );
30
  var width = opts.container.css('overflow','hidden').width();
31
+ opts.cssBefore = { width: width, left : width+20, top: 0, visibility: 'visible', opacity: 1, display: 'block' };
32
  opts.animIn = { left: 0 };
33
  opts.animOut = { left : -width-20,width:width };
34
  }
38
  before: function( opts, curr, next, fwd ) {
39
  opts.API.stackSlides( opts, curr, next, fwd );
40
  var width = opts.container.css('overflow','hidden').width();
41
+ opts.cssBefore = { width: width, left : -width-20, top: 0, visibility: 'visible', opacity: 1, display: 'block' };
42
  opts.animIn = { left: 0 };
43
  opts.animOut = { left : width+20 };
44
  }
49
  opts.API.stackSlides( opts, curr, next, fwd );
50
  var width = opts.container.css('overflow','visible').width();
51
  var height = opts.container.css('overflow','visible').height();
52
+ opts.cssBefore = { left: 0, top: 0, opacity: 1, display: 'block', visibility: 'visible', width:width };
53
  opts.animIn = { left: 0 };
54
  opts.animOut = { left : width*2, top:-height/2 , opacity:0, width:width, display:'block' };
55
  }
59
  before: function( opts, curr, next, fwd ) {
60
  opts.API.stackSlides( opts, curr, next, fwd );
61
  var width = opts.container.css('overflow','hidden').width();
62
+ opts.cssBefore = { width: width, left : width+100, top: 0, visibility: 'visible', opacity: 1, display: 'block' };
63
  opts.animIn = { left: 0 };
64
  opts.animOut = { left : -width-100,width:width };
65
  }
languages/rotatingtweets.pot CHANGED
@@ -1,309 +1,313 @@
1
- # Copyright (C) 2014 Rotating Tweets (Twitter widget & shortcode)
2
  # This file is distributed under the same license as the Rotating Tweets (Twitter widget & shortcode) package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Rotating Tweets (Twitter widget & shortcode) 1.7.4\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/rotatingtweets\n"
7
- "POT-Creation-Date: 2014-10-14 10:41:54+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: 2014-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: rotatingtweets.php:41
 
 
 
 
16
  msgid "A widget to show tweets for a particular user in rotation."
17
  msgstr ""
18
 
19
- #: rotatingtweets.php:209
20
  msgid "Title:"
21
  msgstr ""
22
 
23
- #: rotatingtweets.php:221
24
  msgid "Twitter name:"
25
  msgstr ""
26
 
27
- #: rotatingtweets.php:222
28
  msgid "Search:"
29
  msgstr ""
30
 
31
- #: rotatingtweets.php:223
32
  msgid "List Tag:"
33
  msgstr ""
34
 
35
- #: rotatingtweets.php:224
36
  msgid "Type of Tweets?"
37
  msgstr ""
38
 
39
- #: rotatingtweets.php:227
40
  msgid "User timeline (default)"
41
  msgstr ""
42
 
43
- #: rotatingtweets.php:228
44
  msgid "Favorites"
45
  msgstr ""
46
 
47
- #: rotatingtweets.php:229
48
  msgid "Search"
49
  msgstr ""
50
 
51
- #: rotatingtweets.php:230
52
  msgid "List"
53
  msgstr ""
54
 
55
- #: rotatingtweets.php:238
56
  msgid "Include retweets?"
57
  msgstr ""
58
 
59
- #: rotatingtweets.php:239
60
  msgid "Exclude replies?"
61
  msgstr ""
62
 
63
- #: rotatingtweets.php:240
64
  msgid "Shorten links?"
65
  msgstr ""
66
 
67
- #: rotatingtweets.php:241
68
  msgid "Open all links in new window or tab?"
69
  msgstr ""
70
 
71
- #: rotatingtweets.php:242
72
  msgid "How many tweets?"
73
  msgstr ""
74
 
75
- #: rotatingtweets.php:250
76
  msgid "Speed"
77
  msgstr ""
78
 
79
- #: rotatingtweets.php:253
80
  msgid "Faster (3 seconds)"
81
  msgstr ""
82
 
83
- #: rotatingtweets.php:254
84
  msgid "Normal (4 seconds)"
85
  msgstr ""
86
 
87
- #: rotatingtweets.php:255
88
  msgid "Slower (5 seconds)"
89
  msgstr ""
90
 
91
- #: rotatingtweets.php:256
92
  msgid "Slowest (6 seconds)"
93
  msgstr ""
94
 
95
- #: rotatingtweets.php:257
96
  msgid "Ultra slow (20 seconds)"
97
  msgstr ""
98
 
99
- #: rotatingtweets.php:271
100
  msgid "Type of rotation"
101
  msgstr ""
102
 
103
- #: rotatingtweets.php:280
104
  msgid "Display format"
105
  msgstr ""
106
 
107
- #: rotatingtweets.php:283
108
  msgid "Original rotating tweets layout"
109
  msgstr ""
110
 
111
- #: rotatingtweets.php:284
112
  msgid "<a target='_blank' href='%s'>Official Twitter guidelines</a> (regular)"
113
  msgstr ""
114
 
115
- #: rotatingtweets.php:285
116
  msgid "<a target='_blank' href='%s'>Official Twitter guidelines</a> (wide)"
117
  msgstr ""
118
 
119
- #: rotatingtweets.php:288
120
  msgid "Custom display layout"
121
  msgstr ""
122
 
123
- #: rotatingtweets.php:298
124
  msgid "Show tweet details?"
125
  msgstr ""
126
 
127
- #: rotatingtweets.php:301
128
  msgid "Time/date of tweet"
129
  msgstr ""
130
 
131
- #: rotatingtweets.php:302
132
  msgid "Name of person tweeting"
133
  msgstr ""
134
 
135
- #: rotatingtweets.php:303
136
  msgid "Source of tweet"
137
  msgstr ""
138
 
139
- #: rotatingtweets.php:304
140
  msgid "'reply &middot; retweet &middot; favorite' links"
141
  msgstr ""
142
 
143
- #: rotatingtweets.php:315
144
  msgid "Show follow button?"
145
  msgstr ""
146
 
147
- #: rotatingtweets.php:318
148
  msgctxt "Show follow button?"
149
  msgid "None"
150
  msgstr ""
151
 
152
- #: rotatingtweets.php:319
153
  msgid "Show name and number of followers"
154
  msgstr ""
155
 
156
- #: rotatingtweets.php:320
157
  msgid "Show name only"
158
  msgstr ""
159
 
160
- #: rotatingtweets.php:321
161
  msgid "Show followers only"
162
  msgstr ""
163
 
164
- #: rotatingtweets.php:322
165
  msgid "Show button only"
166
  msgstr ""
167
 
168
- #: rotatingtweets.php:350
169
  msgid "less than a second ago"
170
  msgstr ""
171
 
172
- #: rotatingtweets.php:351
173
  msgid "%d seconds ago"
174
  msgstr ""
175
 
176
- #: rotatingtweets.php:352
177
  msgid "about a minute ago"
178
  msgid_plural "about %d minutes ago"
179
  msgstr[0] ""
180
  msgstr[1] ""
181
 
182
- #: rotatingtweets.php:353 rotatingtweets.php:355
183
  msgid "about an hour ago"
184
  msgid_plural "about %d hours ago"
185
  msgstr[0] ""
186
  msgstr[1] ""
187
 
188
- #: rotatingtweets.php:354
189
  msgid "yesterday"
190
  msgstr ""
191
 
192
- #: rotatingtweets.php:356
193
  msgid "about a day ago"
194
  msgid_plural "about %d days ago"
195
  msgstr[0] ""
196
  msgstr[1] ""
197
 
198
- #: rotatingtweets.php:357
199
  msgid "last week"
200
  msgstr ""
201
 
202
- #: rotatingtweets.php:358
203
  msgid "about a week ago"
204
  msgid_plural "about %d weeks ago"
205
  msgstr[0] ""
206
  msgstr[1] ""
207
 
208
- #: rotatingtweets.php:359
209
  msgid "last month"
210
  msgstr ""
211
 
212
- #: rotatingtweets.php:360
213
  msgid "about a month ago"
214
  msgid_plural "about %d months ago"
215
  msgstr[0] ""
216
  msgstr[1] ""
217
 
218
- #: rotatingtweets.php:361
219
  msgid "last year"
220
  msgstr ""
221
 
222
- #: rotatingtweets.php:362
223
  msgid "about a year ago"
224
  msgid_plural "about %d years ago"
225
  msgstr[0] ""
226
  msgstr[1] ""
227
 
228
- #: rotatingtweets.php:369
229
  msgctxt "abbreviated timestamp in seconds"
230
  msgid "%ds"
231
  msgstr ""
232
 
233
- #: rotatingtweets.php:370
234
  msgctxt "abbreviated timestamp in minutes"
235
  msgid "%dm"
236
  msgstr ""
237
 
238
- #: rotatingtweets.php:371
239
  msgctxt "abbreviated timestamp in hours"
240
  msgid "%dh"
241
  msgstr ""
242
 
243
- #: rotatingtweets.php:372
244
  msgctxt ""
245
  "short date format as per http://uk.php.net/manual/en/function.date.php"
246
  msgid "j M"
247
  msgstr ""
248
 
249
- #: rotatingtweets.php:373
250
  msgctxt ""
251
  "slightly longer date format as per http://uk.php.net/manual/en/function.date."
252
  "php"
253
  msgid "j M Y"
254
  msgstr ""
255
 
256
- #: rotatingtweets.php:379
257
  msgid "reply"
258
  msgstr ""
259
 
260
- #: rotatingtweets.php:380
261
  msgid "retweet"
262
  msgstr ""
263
 
264
- #: rotatingtweets.php:381
265
  msgid "favorite"
266
  msgstr ""
267
 
268
- #: rotatingtweets.php:419 rotatingtweets.php:1882
269
  msgid "Follow @%s"
270
  msgstr ""
271
 
272
- #: rotatingtweets.php:420 rotatingtweets.php:1706
273
  msgid "Twitter"
274
  msgstr ""
275
 
276
- #: rotatingtweets.php:496
277
  msgid "next"
278
  msgstr ""
279
 
280
- #: rotatingtweets.php:497
281
  msgid "prev"
282
  msgstr ""
283
 
284
- #: rotatingtweets.php:555
285
  msgid ""
286
  "Please update <a href=\"%2$s\">your settings for Rotating Tweets</a>. The "
287
  "Twitter API <a href=\"%1$s\">changed on June 11, 2013</a> and new settings "
288
  "are needed for Rotating Tweets to continue working."
289
  msgstr ""
290
 
291
- #: rotatingtweets.php:560
292
  msgid ""
293
  "Please update <a href=\"%1$s\">your settings for Rotating Tweets</a>. "
294
  "Currently Rotating Tweets cannot authenticate you with Twitter using the "
295
  "details you have given."
296
  msgstr ""
297
 
298
- #: rotatingtweets.php:568 rotatingtweets.php:574
299
  msgid "Rotating Tweets: Twitter API settings"
300
  msgstr ""
301
 
302
- #: rotatingtweets.php:576
303
  msgid "You do not have sufficient permissions to access this page."
304
  msgstr ""
305
 
306
- #: rotatingtweets.php:578
307
  msgid ""
308
  "<p>Twitter <a href=\"%s\">has changed</a> the way that they allow people to "
309
  "use the information in their tweets.</p><p>You need to take the following "
@@ -311,14 +315,14 @@ msgid ""
311
  "from Twitter:</p>"
312
  msgstr ""
313
 
314
- #: rotatingtweets.php:579
315
  msgid ""
316
  "<h3>Step 1:</h3><p>Go to the <a href=\"%s\">My applications page</a> on the "
317
  "Twitter website to set up your website as a new Twitter 'application'. You "
318
  "may need to log-in using your Twitter user name and password.</p>"
319
  msgstr ""
320
 
321
- #: rotatingtweets.php:580
322
  msgid ""
323
  "<h3>Step 2:</h3><p>If you don't already have a suitable 'application' that "
324
  "you can use for your website, set one up on the <a href=\"%s\">Create an "
@@ -327,14 +331,14 @@ msgid ""
327
  "p><p>You don't need a Callback URL.</p>"
328
  msgstr ""
329
 
330
- #: rotatingtweets.php:581
331
  msgid ""
332
  "<h3>Step 3:</h3><p>After clicking <strong>Create your Twitter application</"
333
  "strong>, on the following page, click on <strong>Create my access token</"
334
  "strong>.</p>"
335
  msgstr ""
336
 
337
- #: rotatingtweets.php:582
338
  msgid ""
339
  "<h3>Step 4:</h3><p>Copy the <strong>Consumer key</strong>, <strong>Consumer "
340
  "secret</strong>, <strong>Access token</strong> and <strong>Access token "
@@ -342,309 +346,318 @@ msgid ""
342
  "p>"
343
  msgstr ""
344
 
345
- #: rotatingtweets.php:583
346
  msgid "<h3>Step 5:</h3><p>Click on <strong>Save Changes</strong>."
347
  msgstr ""
348
 
349
- #: rotatingtweets.php:584
350
  msgid ""
351
  "<h3>If there are any problems:</h3><p>If there are any problems, you should "
352
  "get an error message from Twitter displayed as a \"rotating tweet\" which "
353
  "should help diagnose the problem.</p>"
354
  msgstr ""
355
 
356
- #: rotatingtweets.php:586
357
  msgid ""
358
  "If you are getting problems with \"rate limiting\", try changing the first "
359
  "connection setting below to increase the time that Rotating Tweets waits "
360
  "before trying to get new data from Twitter."
361
  msgstr ""
362
 
363
- #: rotatingtweets.php:588
364
  msgid ""
365
  "If you are getting time-out problems, try changing the second connection "
366
  "setting below to increase how long Rotating Tweets waits when connecting to "
367
  "Twitter before timing out."
368
  msgstr ""
369
 
370
- #: rotatingtweets.php:590
371
  msgid ""
372
  "If the error message references SSL, try changing the \"Verify SSL "
373
  "connection to Twitter\" setting below to \"No\"."
374
  msgstr ""
375
 
376
- #: rotatingtweets.php:592
377
  msgid "<h3>Getting information from more than one Twitter account</h3>"
378
  msgstr ""
379
 
380
- #: rotatingtweets.php:593
381
  msgid ""
382
  "<p>Even though you are only entering one set of Twitter API data, Rotating "
383
  "Tweets will continue to support multiple widgets and shortcodes pulling from "
384
  "a variety of different Twitter accounts.</p>"
385
  msgstr ""
386
 
387
- #: rotatingtweets.php:597
388
  msgid "Save Changes"
389
  msgstr ""
390
 
391
- #: rotatingtweets.php:605
392
  msgid "Twitter API Settings"
393
  msgstr ""
394
 
395
- #: rotatingtweets.php:606
396
  msgid "Twitter API Consumer Key"
397
  msgstr ""
398
 
399
- #: rotatingtweets.php:607
400
  msgid "Twitter API Consumer Secret"
401
  msgstr ""
402
 
403
- #: rotatingtweets.php:608
404
  msgid "Twitter API Access Token"
405
  msgstr ""
406
 
407
- #: rotatingtweets.php:609
408
  msgid "Twitter API Access Token Secret"
409
  msgstr ""
410
 
411
- #: rotatingtweets.php:611
412
  msgid "Connection Settings"
413
  msgstr ""
414
 
415
- #: rotatingtweets.php:612
416
  msgid ""
417
  "How often should Rotating Tweets try to get the latest tweets from Twitter?"
418
  msgstr ""
419
 
420
- #: rotatingtweets.php:613
421
  msgid ""
422
  "When connecting to Twitter, how long should Rotating Tweets wait before "
423
  "timing out?"
424
  msgstr ""
425
 
426
- #: rotatingtweets.php:614
427
  msgid "Verify SSL connection to Twitter"
428
  msgstr ""
429
 
430
- #: rotatingtweets.php:616
431
  msgid "JavaScript Settings"
432
  msgstr ""
433
 
434
- #: rotatingtweets.php:617
435
  msgid "Version of JQuery Cycle"
436
  msgstr ""
437
 
438
- #: rotatingtweets.php:618
439
  msgid "Where to load Rotating Tweets JavaScript"
440
  msgstr ""
441
 
442
- #: rotatingtweets.php:639
443
  msgctxt "Verify SSL connection to Twitter"
444
  msgid "Yes"
445
  msgstr ""
446
 
447
- #: rotatingtweets.php:640
448
  msgctxt "Verify SSL connection to Twitter"
449
  msgid "No"
450
  msgstr ""
451
 
452
- #: rotatingtweets.php:656
453
  msgctxt "Connection timeout"
454
  msgid "1 second"
455
  msgstr ""
456
 
457
- #: rotatingtweets.php:657
458
  msgctxt "Connection timeout"
459
  msgid "3 seconds (default)"
460
  msgstr ""
461
 
462
- #: rotatingtweets.php:658
463
  msgctxt "Connection timeout"
464
  msgid "5 seconds"
465
  msgstr ""
466
 
467
- #: rotatingtweets.php:659
468
  msgctxt "Connection timeout"
469
  msgid "7 seconds"
470
  msgstr ""
471
 
472
- #: rotatingtweets.php:660
473
  msgctxt "Connection timeout"
474
  msgid "20 seconds"
475
  msgstr ""
476
 
477
- #: rotatingtweets.php:677
478
  msgctxt "Cache Delay"
479
  msgid "1 minute"
480
  msgstr ""
481
 
482
- #: rotatingtweets.php:678
483
  msgctxt "Cache Delay"
484
  msgid "2 minutes (default)"
485
  msgstr ""
486
 
487
- #: rotatingtweets.php:679
488
  msgctxt "Cache Delay"
489
  msgid "5 minutes"
490
  msgstr ""
491
 
492
- #: rotatingtweets.php:680
493
  msgctxt "Cache Delay"
494
  msgid "1 hour"
495
  msgstr ""
496
 
497
- #: rotatingtweets.php:681
498
  msgctxt "Cache Delay"
499
  msgid "24 hours"
500
  msgstr ""
501
 
502
- #: rotatingtweets.php:698
503
  msgctxt "Version of JQuery Cycle"
504
  msgid "Version 1 (default)"
505
  msgstr ""
506
 
507
- #: rotatingtweets.php:699
508
  msgctxt "Version of JQuery Cycle"
509
  msgid "Version 2 (beta)"
510
  msgstr ""
511
 
512
- #: rotatingtweets.php:716
 
 
 
 
 
513
  msgctxt "Location of JavaScript"
514
  msgid "Load in header (default)"
515
  msgstr ""
516
 
517
- #: rotatingtweets.php:717
518
  msgctxt "Location of JavaScript"
519
  msgid "Load in footer"
520
  msgstr ""
521
 
522
- #: rotatingtweets.php:752
523
  msgid "Error: Twitter API Consumer Key not correctly formatted."
524
  msgstr ""
525
 
526
- #: rotatingtweets.php:759
527
  msgid "Error: Twitter API Consumer Secret not correctly formatted."
528
  msgstr ""
529
 
530
- #: rotatingtweets.php:766
531
  msgid "Error: Twitter API Access Token not correctly formatted."
532
  msgstr ""
533
 
534
- #: rotatingtweets.php:773
535
  msgid "Error: Twitter API Access Token Secret not correctly formatted."
536
  msgstr ""
537
 
538
- #: rotatingtweets.php:813
539
  msgid ""
540
  "Error message received from Twitter: %1$s. <a href=\"%2$s\">Please check "
541
  "your API key, secret, token and secret token on the Twitter website</a>."
542
  msgstr ""
543
 
544
- #: rotatingtweets.php:815
545
  msgid ""
546
  "Error message received from Wordpress: %1$s. Please check your connection "
547
  "settings."
548
  msgstr ""
549
 
550
- #: rotatingtweets.php:1411
551
  msgid "Problem retrieving data from Twitter"
552
  msgstr ""
553
 
554
- #: rotatingtweets.php:1413
555
  msgid "%3$s error code: %1$s - %2$s"
556
  msgstr ""
557
 
558
- #: rotatingtweets.php:1419
559
  msgid "This website is currently <a href='%s'>rate-limited by Twitter</a>."
560
  msgstr ""
561
 
562
- #: rotatingtweets.php:1423
563
  msgid "Next attempt to get data will be in %d minute"
564
  msgid_plural "Next attempt to get data will be in %d minutes"
565
  msgstr[0] ""
566
  msgstr[1] ""
567
 
568
- #: rotatingtweets.php:1424
569
  msgid "Next attempt to get data will be in less than a minute"
570
  msgstr ""
571
 
572
- #: rotatingtweets.php:1429
573
  msgid "Please check your <a href='%s'>Rotating Tweets settings</a>."
574
  msgstr ""
575
 
576
- #: rotatingtweets.php:1432
577
  msgid ""
578
  "Please check the Twitter screen name or list slug in the widget or shortcode."
579
  msgstr ""
580
 
581
- #: rotatingtweets.php:1437 rotatingtweets.php:1443
582
  msgid ""
583
  "Please check the Twitter name in the widget or shortcode, <a "
584
  "href='%2$s'>Rotating Tweets settings</a> or the <a href='%1$s'>Twitter API "
585
  "status</a>."
586
  msgstr ""
587
 
588
- #: rotatingtweets.php:1440
589
  msgid "Please check your PHP and server settings."
590
  msgstr ""
591
 
592
- #: rotatingtweets.php:1449
593
  msgid "No Tweet results for search <a href=\"%2$s\"><strong>%1$s</strong></a>"
594
  msgstr ""
595
 
596
- #: rotatingtweets.php:1685 rotatingtweets.php:1782 rotatingtweets.php:1803
597
- #: rotatingtweets.php:1833
598
  msgid "from <a href='%1$s' title='%2$s'>%2$s's Twitter</a>"
599
  msgid_plural "from <a href='%1$s' title='%2$s'>%2$s' Twitter</a>"
600
  msgstr[0] ""
601
  msgstr[1] ""
602
 
603
- #: rotatingtweets.php:1689 rotatingtweets.php:1807 rotatingtweets.php:1837
604
  msgid "via %s"
605
  msgstr ""
606
 
607
- #: rotatingtweets.php:1722 rotatingtweets.php:1749
 
 
 
 
608
  msgid "Retweeted by %s"
609
  msgstr ""
610
 
611
- #: rotatingtweets.php:1753
612
  msgid "Expand"
613
  msgstr ""
614
 
615
- #: rotatingtweets.php:1853
616
  msgid "Problem retrieving data from Twitter."
617
  msgstr ""
618
 
619
- #: rotatingtweets.php:1855
620
  msgid "Please check the comments on this page's HTML to understand more."
621
  msgstr ""
622
 
623
- #: rotatingtweets.php:1952 rotatingtweets.php:1966
624
  msgid "Scroll Up"
625
  msgstr ""
626
 
627
- #: rotatingtweets.php:1953 rotatingtweets.php:1967
628
  msgid "Scroll Down"
629
  msgstr ""
630
 
631
- #: rotatingtweets.php:1954 rotatingtweets.php:1968
632
  msgid "Scroll Left"
633
  msgstr ""
634
 
635
- #: rotatingtweets.php:1955 rotatingtweets.php:1969
636
  msgid "Scroll Right"
637
  msgstr ""
638
 
639
- #: rotatingtweets.php:1956 rotatingtweets.php:1970
640
  msgid "Fade"
641
  msgstr ""
642
 
643
- #: rotatingtweets.php:1957
644
  msgid "Carousel"
645
  msgstr ""
646
 
647
- #: rotatingtweets.php:1958
648
  msgid "Scroll Left (with gap)"
649
  msgstr ""
650
 
1
+ # Copyright (C) 2015 Rotating Tweets (Twitter widget & shortcode)
2
  # This file is distributed under the same license as the Rotating Tweets (Twitter widget & shortcode) package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Rotating Tweets (Twitter widget & shortcode) 1.7.11\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/rotatingtweets\n"
7
+ "POT-Creation-Date: 2015-03-15 21:41:56+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: 2015-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #: rotatingtweets.php:43
16
+ msgid "Rotating Tweets"
17
+ msgstr ""
18
+
19
+ #: rotatingtweets.php:44
20
  msgid "A widget to show tweets for a particular user in rotation."
21
  msgstr ""
22
 
23
+ #: rotatingtweets.php:214
24
  msgid "Title:"
25
  msgstr ""
26
 
27
+ #: rotatingtweets.php:226
28
  msgid "Twitter name:"
29
  msgstr ""
30
 
31
+ #: rotatingtweets.php:227
32
  msgid "Search:"
33
  msgstr ""
34
 
35
+ #: rotatingtweets.php:228
36
  msgid "List Tag:"
37
  msgstr ""
38
 
39
+ #: rotatingtweets.php:229
40
  msgid "Type of Tweets?"
41
  msgstr ""
42
 
43
+ #: rotatingtweets.php:232
44
  msgid "User timeline (default)"
45
  msgstr ""
46
 
47
+ #: rotatingtweets.php:233
48
  msgid "Favorites"
49
  msgstr ""
50
 
51
+ #: rotatingtweets.php:234
52
  msgid "Search"
53
  msgstr ""
54
 
55
+ #: rotatingtweets.php:235
56
  msgid "List"
57
  msgstr ""
58
 
59
+ #: rotatingtweets.php:243
60
  msgid "Include retweets?"
61
  msgstr ""
62
 
63
+ #: rotatingtweets.php:244
64
  msgid "Exclude replies?"
65
  msgstr ""
66
 
67
+ #: rotatingtweets.php:245
68
  msgid "Shorten links?"
69
  msgstr ""
70
 
71
+ #: rotatingtweets.php:246
72
  msgid "Open all links in new window or tab?"
73
  msgstr ""
74
 
75
+ #: rotatingtweets.php:247
76
  msgid "How many tweets?"
77
  msgstr ""
78
 
79
+ #: rotatingtweets.php:255
80
  msgid "Speed"
81
  msgstr ""
82
 
83
+ #: rotatingtweets.php:258
84
  msgid "Faster (3 seconds)"
85
  msgstr ""
86
 
87
+ #: rotatingtweets.php:259
88
  msgid "Normal (4 seconds)"
89
  msgstr ""
90
 
91
+ #: rotatingtweets.php:260
92
  msgid "Slower (5 seconds)"
93
  msgstr ""
94
 
95
+ #: rotatingtweets.php:261
96
  msgid "Slowest (6 seconds)"
97
  msgstr ""
98
 
99
+ #: rotatingtweets.php:262
100
  msgid "Ultra slow (20 seconds)"
101
  msgstr ""
102
 
103
+ #: rotatingtweets.php:276
104
  msgid "Type of rotation"
105
  msgstr ""
106
 
107
+ #: rotatingtweets.php:285
108
  msgid "Display format"
109
  msgstr ""
110
 
111
+ #: rotatingtweets.php:288
112
  msgid "Original rotating tweets layout"
113
  msgstr ""
114
 
115
+ #: rotatingtweets.php:289
116
  msgid "<a target='_blank' href='%s'>Official Twitter guidelines</a> (regular)"
117
  msgstr ""
118
 
119
+ #: rotatingtweets.php:290
120
  msgid "<a target='_blank' href='%s'>Official Twitter guidelines</a> (wide)"
121
  msgstr ""
122
 
123
+ #: rotatingtweets.php:293
124
  msgid "Custom display layout"
125
  msgstr ""
126
 
127
+ #: rotatingtweets.php:303
128
  msgid "Show tweet details?"
129
  msgstr ""
130
 
131
+ #: rotatingtweets.php:306
132
  msgid "Time/date of tweet"
133
  msgstr ""
134
 
135
+ #: rotatingtweets.php:307
136
  msgid "Name of person tweeting"
137
  msgstr ""
138
 
139
+ #: rotatingtweets.php:308
140
  msgid "Source of tweet"
141
  msgstr ""
142
 
143
+ #: rotatingtweets.php:309
144
  msgid "'reply &middot; retweet &middot; favorite' links"
145
  msgstr ""
146
 
147
+ #: rotatingtweets.php:320
148
  msgid "Show follow button?"
149
  msgstr ""
150
 
151
+ #: rotatingtweets.php:323
152
  msgctxt "Show follow button?"
153
  msgid "None"
154
  msgstr ""
155
 
156
+ #: rotatingtweets.php:324
157
  msgid "Show name and number of followers"
158
  msgstr ""
159
 
160
+ #: rotatingtweets.php:325
161
  msgid "Show name only"
162
  msgstr ""
163
 
164
+ #: rotatingtweets.php:326
165
  msgid "Show followers only"
166
  msgstr ""
167
 
168
+ #: rotatingtweets.php:327
169
  msgid "Show button only"
170
  msgstr ""
171
 
172
+ #: rotatingtweets.php:357
173
  msgid "less than a second ago"
174
  msgstr ""
175
 
176
+ #: rotatingtweets.php:358
177
  msgid "%d seconds ago"
178
  msgstr ""
179
 
180
+ #: rotatingtweets.php:359
181
  msgid "about a minute ago"
182
  msgid_plural "about %d minutes ago"
183
  msgstr[0] ""
184
  msgstr[1] ""
185
 
186
+ #: rotatingtweets.php:360 rotatingtweets.php:362
187
  msgid "about an hour ago"
188
  msgid_plural "about %d hours ago"
189
  msgstr[0] ""
190
  msgstr[1] ""
191
 
192
+ #: rotatingtweets.php:361
193
  msgid "yesterday"
194
  msgstr ""
195
 
196
+ #: rotatingtweets.php:363
197
  msgid "about a day ago"
198
  msgid_plural "about %d days ago"
199
  msgstr[0] ""
200
  msgstr[1] ""
201
 
202
+ #: rotatingtweets.php:364
203
  msgid "last week"
204
  msgstr ""
205
 
206
+ #: rotatingtweets.php:365
207
  msgid "about a week ago"
208
  msgid_plural "about %d weeks ago"
209
  msgstr[0] ""
210
  msgstr[1] ""
211
 
212
+ #: rotatingtweets.php:366
213
  msgid "last month"
214
  msgstr ""
215
 
216
+ #: rotatingtweets.php:367
217
  msgid "about a month ago"
218
  msgid_plural "about %d months ago"
219
  msgstr[0] ""
220
  msgstr[1] ""
221
 
222
+ #: rotatingtweets.php:368
223
  msgid "last year"
224
  msgstr ""
225
 
226
+ #: rotatingtweets.php:369
227
  msgid "about a year ago"
228
  msgid_plural "about %d years ago"
229
  msgstr[0] ""
230
  msgstr[1] ""
231
 
232
+ #: rotatingtweets.php:376
233
  msgctxt "abbreviated timestamp in seconds"
234
  msgid "%ds"
235
  msgstr ""
236
 
237
+ #: rotatingtweets.php:377
238
  msgctxt "abbreviated timestamp in minutes"
239
  msgid "%dm"
240
  msgstr ""
241
 
242
+ #: rotatingtweets.php:378
243
  msgctxt "abbreviated timestamp in hours"
244
  msgid "%dh"
245
  msgstr ""
246
 
247
+ #: rotatingtweets.php:379
248
  msgctxt ""
249
  "short date format as per http://uk.php.net/manual/en/function.date.php"
250
  msgid "j M"
251
  msgstr ""
252
 
253
+ #: rotatingtweets.php:380
254
  msgctxt ""
255
  "slightly longer date format as per http://uk.php.net/manual/en/function.date."
256
  "php"
257
  msgid "j M Y"
258
  msgstr ""
259
 
260
+ #: rotatingtweets.php:386
261
  msgid "reply"
262
  msgstr ""
263
 
264
+ #: rotatingtweets.php:387
265
  msgid "retweet"
266
  msgstr ""
267
 
268
+ #: rotatingtweets.php:388
269
  msgid "favorite"
270
  msgstr ""
271
 
272
+ #: rotatingtweets.php:426 rotatingtweets.php:1957
273
  msgid "Follow @%s"
274
  msgstr ""
275
 
276
+ #: rotatingtweets.php:427 rotatingtweets.php:1781
277
  msgid "Twitter"
278
  msgstr ""
279
 
280
+ #: rotatingtweets.php:529
281
  msgid "next"
282
  msgstr ""
283
 
284
+ #: rotatingtweets.php:530
285
  msgid "prev"
286
  msgstr ""
287
 
288
+ #: rotatingtweets.php:588
289
  msgid ""
290
  "Please update <a href=\"%2$s\">your settings for Rotating Tweets</a>. The "
291
  "Twitter API <a href=\"%1$s\">changed on June 11, 2013</a> and new settings "
292
  "are needed for Rotating Tweets to continue working."
293
  msgstr ""
294
 
295
+ #: rotatingtweets.php:593
296
  msgid ""
297
  "Please update <a href=\"%1$s\">your settings for Rotating Tweets</a>. "
298
  "Currently Rotating Tweets cannot authenticate you with Twitter using the "
299
  "details you have given."
300
  msgstr ""
301
 
302
+ #: rotatingtweets.php:601 rotatingtweets.php:607
303
  msgid "Rotating Tweets: Twitter API settings"
304
  msgstr ""
305
 
306
+ #: rotatingtweets.php:609
307
  msgid "You do not have sufficient permissions to access this page."
308
  msgstr ""
309
 
310
+ #: rotatingtweets.php:611
311
  msgid ""
312
  "<p>Twitter <a href=\"%s\">has changed</a> the way that they allow people to "
313
  "use the information in their tweets.</p><p>You need to take the following "
315
  "from Twitter:</p>"
316
  msgstr ""
317
 
318
+ #: rotatingtweets.php:612
319
  msgid ""
320
  "<h3>Step 1:</h3><p>Go to the <a href=\"%s\">My applications page</a> on the "
321
  "Twitter website to set up your website as a new Twitter 'application'. You "
322
  "may need to log-in using your Twitter user name and password.</p>"
323
  msgstr ""
324
 
325
+ #: rotatingtweets.php:613
326
  msgid ""
327
  "<h3>Step 2:</h3><p>If you don't already have a suitable 'application' that "
328
  "you can use for your website, set one up on the <a href=\"%s\">Create an "
331
  "p><p>You don't need a Callback URL.</p>"
332
  msgstr ""
333
 
334
+ #: rotatingtweets.php:614
335
  msgid ""
336
  "<h3>Step 3:</h3><p>After clicking <strong>Create your Twitter application</"
337
  "strong>, on the following page, click on <strong>Create my access token</"
338
  "strong>.</p>"
339
  msgstr ""
340
 
341
+ #: rotatingtweets.php:615
342
  msgid ""
343
  "<h3>Step 4:</h3><p>Copy the <strong>Consumer key</strong>, <strong>Consumer "
344
  "secret</strong>, <strong>Access token</strong> and <strong>Access token "
346
  "p>"
347
  msgstr ""
348
 
349
+ #: rotatingtweets.php:616
350
  msgid "<h3>Step 5:</h3><p>Click on <strong>Save Changes</strong>."
351
  msgstr ""
352
 
353
+ #: rotatingtweets.php:617
354
  msgid ""
355
  "<h3>If there are any problems:</h3><p>If there are any problems, you should "
356
  "get an error message from Twitter displayed as a \"rotating tweet\" which "
357
  "should help diagnose the problem.</p>"
358
  msgstr ""
359
 
360
+ #: rotatingtweets.php:619
361
  msgid ""
362
  "If you are getting problems with \"rate limiting\", try changing the first "
363
  "connection setting below to increase the time that Rotating Tweets waits "
364
  "before trying to get new data from Twitter."
365
  msgstr ""
366
 
367
+ #: rotatingtweets.php:621
368
  msgid ""
369
  "If you are getting time-out problems, try changing the second connection "
370
  "setting below to increase how long Rotating Tweets waits when connecting to "
371
  "Twitter before timing out."
372
  msgstr ""
373
 
374
+ #: rotatingtweets.php:623
375
  msgid ""
376
  "If the error message references SSL, try changing the \"Verify SSL "
377
  "connection to Twitter\" setting below to \"No\"."
378
  msgstr ""
379
 
380
+ #: rotatingtweets.php:625
381
  msgid "<h3>Getting information from more than one Twitter account</h3>"
382
  msgstr ""
383
 
384
+ #: rotatingtweets.php:626
385
  msgid ""
386
  "<p>Even though you are only entering one set of Twitter API data, Rotating "
387
  "Tweets will continue to support multiple widgets and shortcodes pulling from "
388
  "a variety of different Twitter accounts.</p>"
389
  msgstr ""
390
 
391
+ #: rotatingtweets.php:630
392
  msgid "Save Changes"
393
  msgstr ""
394
 
395
+ #: rotatingtweets.php:638
396
  msgid "Twitter API Settings"
397
  msgstr ""
398
 
399
+ #: rotatingtweets.php:639
400
  msgid "Twitter API Consumer Key"
401
  msgstr ""
402
 
403
+ #: rotatingtweets.php:640
404
  msgid "Twitter API Consumer Secret"
405
  msgstr ""
406
 
407
+ #: rotatingtweets.php:641
408
  msgid "Twitter API Access Token"
409
  msgstr ""
410
 
411
+ #: rotatingtweets.php:642
412
  msgid "Twitter API Access Token Secret"
413
  msgstr ""
414
 
415
+ #: rotatingtweets.php:644
416
  msgid "Connection Settings"
417
  msgstr ""
418
 
419
+ #: rotatingtweets.php:645
420
  msgid ""
421
  "How often should Rotating Tweets try to get the latest tweets from Twitter?"
422
  msgstr ""
423
 
424
+ #: rotatingtweets.php:646
425
  msgid ""
426
  "When connecting to Twitter, how long should Rotating Tweets wait before "
427
  "timing out?"
428
  msgstr ""
429
 
430
+ #: rotatingtweets.php:647
431
  msgid "Verify SSL connection to Twitter"
432
  msgstr ""
433
 
434
+ #: rotatingtweets.php:649
435
  msgid "JavaScript Settings"
436
  msgstr ""
437
 
438
+ #: rotatingtweets.php:650
439
  msgid "Version of JQuery Cycle"
440
  msgstr ""
441
 
442
+ #: rotatingtweets.php:651
443
  msgid "Where to load Rotating Tweets JavaScript"
444
  msgstr ""
445
 
446
+ #: rotatingtweets.php:672
447
  msgctxt "Verify SSL connection to Twitter"
448
  msgid "Yes"
449
  msgstr ""
450
 
451
+ #: rotatingtweets.php:673
452
  msgctxt "Verify SSL connection to Twitter"
453
  msgid "No"
454
  msgstr ""
455
 
456
+ #: rotatingtweets.php:689
457
  msgctxt "Connection timeout"
458
  msgid "1 second"
459
  msgstr ""
460
 
461
+ #: rotatingtweets.php:690
462
  msgctxt "Connection timeout"
463
  msgid "3 seconds (default)"
464
  msgstr ""
465
 
466
+ #: rotatingtweets.php:691
467
  msgctxt "Connection timeout"
468
  msgid "5 seconds"
469
  msgstr ""
470
 
471
+ #: rotatingtweets.php:692
472
  msgctxt "Connection timeout"
473
  msgid "7 seconds"
474
  msgstr ""
475
 
476
+ #: rotatingtweets.php:693
477
  msgctxt "Connection timeout"
478
  msgid "20 seconds"
479
  msgstr ""
480
 
481
+ #: rotatingtweets.php:710
482
  msgctxt "Cache Delay"
483
  msgid "1 minute"
484
  msgstr ""
485
 
486
+ #: rotatingtweets.php:711
487
  msgctxt "Cache Delay"
488
  msgid "2 minutes (default)"
489
  msgstr ""
490
 
491
+ #: rotatingtweets.php:712
492
  msgctxt "Cache Delay"
493
  msgid "5 minutes"
494
  msgstr ""
495
 
496
+ #: rotatingtweets.php:713
497
  msgctxt "Cache Delay"
498
  msgid "1 hour"
499
  msgstr ""
500
 
501
+ #: rotatingtweets.php:714
502
  msgctxt "Cache Delay"
503
  msgid "24 hours"
504
  msgstr ""
505
 
506
+ #: rotatingtweets.php:731
507
  msgctxt "Version of JQuery Cycle"
508
  msgid "Version 1 (default)"
509
  msgstr ""
510
 
511
+ #: rotatingtweets.php:732
512
  msgctxt "Version of JQuery Cycle"
513
  msgid "Version 2 (beta)"
514
  msgstr ""
515
 
516
+ #: rotatingtweets.php:733
517
+ msgctxt "Version of JQuery Cycle"
518
+ msgid "None (advanced users who wish to use their own JavaScript only)"
519
+ msgstr ""
520
+
521
+ #: rotatingtweets.php:750
522
  msgctxt "Location of JavaScript"
523
  msgid "Load in header (default)"
524
  msgstr ""
525
 
526
+ #: rotatingtweets.php:751
527
  msgctxt "Location of JavaScript"
528
  msgid "Load in footer"
529
  msgstr ""
530
 
531
+ #: rotatingtweets.php:786
532
  msgid "Error: Twitter API Consumer Key not correctly formatted."
533
  msgstr ""
534
 
535
+ #: rotatingtweets.php:793
536
  msgid "Error: Twitter API Consumer Secret not correctly formatted."
537
  msgstr ""
538
 
539
+ #: rotatingtweets.php:800
540
  msgid "Error: Twitter API Access Token not correctly formatted."
541
  msgstr ""
542
 
543
+ #: rotatingtweets.php:807
544
  msgid "Error: Twitter API Access Token Secret not correctly formatted."
545
  msgstr ""
546
 
547
+ #: rotatingtweets.php:847
548
  msgid ""
549
  "Error message received from Twitter: %1$s. <a href=\"%2$s\">Please check "
550
  "your API key, secret, token and secret token on the Twitter website</a>."
551
  msgstr ""
552
 
553
+ #: rotatingtweets.php:849
554
  msgid ""
555
  "Error message received from Wordpress: %1$s. Please check your connection "
556
  "settings."
557
  msgstr ""
558
 
559
+ #: rotatingtweets.php:1482
560
  msgid "Problem retrieving data from Twitter"
561
  msgstr ""
562
 
563
+ #: rotatingtweets.php:1484
564
  msgid "%3$s error code: %1$s - %2$s"
565
  msgstr ""
566
 
567
+ #: rotatingtweets.php:1490
568
  msgid "This website is currently <a href='%s'>rate-limited by Twitter</a>."
569
  msgstr ""
570
 
571
+ #: rotatingtweets.php:1494
572
  msgid "Next attempt to get data will be in %d minute"
573
  msgid_plural "Next attempt to get data will be in %d minutes"
574
  msgstr[0] ""
575
  msgstr[1] ""
576
 
577
+ #: rotatingtweets.php:1495
578
  msgid "Next attempt to get data will be in less than a minute"
579
  msgstr ""
580
 
581
+ #: rotatingtweets.php:1500
582
  msgid "Please check your <a href='%s'>Rotating Tweets settings</a>."
583
  msgstr ""
584
 
585
+ #: rotatingtweets.php:1503
586
  msgid ""
587
  "Please check the Twitter screen name or list slug in the widget or shortcode."
588
  msgstr ""
589
 
590
+ #: rotatingtweets.php:1508 rotatingtweets.php:1514
591
  msgid ""
592
  "Please check the Twitter name in the widget or shortcode, <a "
593
  "href='%2$s'>Rotating Tweets settings</a> or the <a href='%1$s'>Twitter API "
594
  "status</a>."
595
  msgstr ""
596
 
597
+ #: rotatingtweets.php:1511
598
  msgid "Please check your PHP and server settings."
599
  msgstr ""
600
 
601
+ #: rotatingtweets.php:1520
602
  msgid "No Tweet results for search <a href=\"%2$s\"><strong>%1$s</strong></a>"
603
  msgstr ""
604
 
605
+ #: rotatingtweets.php:1756 rotatingtweets.php:1858 rotatingtweets.php:1879
606
+ #: rotatingtweets.php:1909
607
  msgid "from <a href='%1$s' title='%2$s'>%2$s's Twitter</a>"
608
  msgid_plural "from <a href='%1$s' title='%2$s'>%2$s' Twitter</a>"
609
  msgstr[0] ""
610
  msgstr[1] ""
611
 
612
+ #: rotatingtweets.php:1760 rotatingtweets.php:1883 rotatingtweets.php:1913
613
  msgid "via %s"
614
  msgstr ""
615
 
616
+ #: rotatingtweets.php:1768
617
+ msgid "%1$s of %2$s"
618
+ msgstr ""
619
+
620
+ #: rotatingtweets.php:1797 rotatingtweets.php:1824
621
  msgid "Retweeted by %s"
622
  msgstr ""
623
 
624
+ #: rotatingtweets.php:1827
625
  msgid "Expand"
626
  msgstr ""
627
 
628
+ #: rotatingtweets.php:1929
629
  msgid "Problem retrieving data from Twitter."
630
  msgstr ""
631
 
632
+ #: rotatingtweets.php:1931
633
  msgid "Please check the comments on this page's HTML to understand more."
634
  msgstr ""
635
 
636
+ #: rotatingtweets.php:2029 rotatingtweets.php:2043
637
  msgid "Scroll Up"
638
  msgstr ""
639
 
640
+ #: rotatingtweets.php:2030 rotatingtweets.php:2044
641
  msgid "Scroll Down"
642
  msgstr ""
643
 
644
+ #: rotatingtweets.php:2031 rotatingtweets.php:2045
645
  msgid "Scroll Left"
646
  msgstr ""
647
 
648
+ #: rotatingtweets.php:2032 rotatingtweets.php:2046
649
  msgid "Scroll Right"
650
  msgstr ""
651
 
652
+ #: rotatingtweets.php:2033 rotatingtweets.php:2047
653
  msgid "Fade"
654
  msgstr ""
655
 
656
+ #: rotatingtweets.php:2034
657
  msgid "Carousel"
658
  msgstr ""
659
 
660
+ #: rotatingtweets.php:2035
661
  msgid "Scroll Left (with gap)"
662
  msgstr ""
663
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: shortcode,widget,twitter,rotating,rotate,rotator,tweet,tweets,animation,jquery,jquery cycle,cycle,multilingual,responsive
5
  Requires at least: 3.2
6
  Tested up to: 4.1.1
7
- Stable tag: 1.7.11
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -182,13 +182,21 @@ into your CSS - changing `123px;` to the width you're aiming at - either via put
182
  You can do this by going to the `rotatingtweets/css` directory and renaming `rotatingtweets-sample.css` to `rotatingtweets.css` and putting it in the `wp-content/uploads/` directory. This displays a Twitter bird to the left of your tweets. Any CSS you put into `rotatingtweets.css` won't be overwritten when the plug-in is upgraded to the latest version.
183
 
184
  == Upgrade notice ==
185
- = 1.7.11 =
186
- * Fixing tweet height JavaScript bug & completing of Spanish translation
187
 
188
  == Changelog ==
 
 
 
 
 
 
189
  = 1.7.11 =
190
  * Completion of Spanish translation - many thanks to Alberto Lario for his help on this
191
  * Fixing tweet height JavaScript bug
 
 
192
 
193
  = 1.7.10 =
194
  * Move to using HTML5 custom data attributes and `data()` functions to transfer variable values to version 1 of JavaScript - including 'speed' variable
4
  Tags: shortcode,widget,twitter,rotating,rotate,rotator,tweet,tweets,animation,jquery,jquery cycle,cycle,multilingual,responsive
5
  Requires at least: 3.2
6
  Tested up to: 4.1.1
7
+ Stable tag: 1.7.12
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
182
  You can do this by going to the `rotatingtweets/css` directory and renaming `rotatingtweets-sample.css` to `rotatingtweets.css` and putting it in the `wp-content/uploads/` directory. This displays a Twitter bird to the left of your tweets. Any CSS you put into `rotatingtweets.css` won't be overwritten when the plug-in is upgraded to the latest version.
183
 
184
  == Upgrade notice ==
185
+ = 1.7.12 =
186
+ * Updated version 2 of JavaScript incl. bug fix
187
 
188
  == Changelog ==
189
+ = 1.7.12 =
190
+ * Updated version 2 of JavaScript - updated jQuery.cycle2 and removal of bug
191
+ * Fixing height bug
192
+ * Fixing Carousel defaults
193
+ * Updating `.pot` file
194
+
195
  = 1.7.11 =
196
  * Completion of Spanish translation - many thanks to Alberto Lario for his help on this
197
  * Fixing tweet height JavaScript bug
198
+ * CSS tidying for TwentyFifteen template
199
+ * Experimental function combining historical and current tweets
200
 
201
  = 1.7.10 =
202
  * Move to using HTML5 custom data attributes and `data()` functions to transfer variable values to version 1 of JavaScript - including 'speed' variable
rotatingtweets.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Rotating Tweets (Twitter widget & shortcode)
4
  Description: Replaces a shortcode such as [rotatingtweets screen_name='your_twitter_name'], or a widget, with a rotating tweets display
5
- Version: 1.7.11
6
  Text Domain: rotatingtweets
7
  Author: Martin Tod
8
  Author URI: http://www.martintod.org.uk
@@ -1438,13 +1438,13 @@ function rotating_tweets_display($json,$args,$print=FALSE) {
1438
  if($rotation_type == 'carousel'):
1439
  if(empty($args['carousel_horizontal'])):
1440
  $v2options['carousel-vertical'] = true;
1441
- if(isset($args['carousel_count'])):
1442
  $v2options['carousel-visible'] = max(2,intval($args['carousel_count']));
1443
  else:
1444
  $v2options['carousel-visible'] = 3;
1445
  endif;
1446
  else:
1447
- if(isset($args['carousel_count'])):
1448
  $v2options['carousel-visible'] = max(2,intval($args['carousel_count']));
1449
  endif;
1450
  if(isset($args['carousel_responsive'])):
@@ -2170,6 +2170,11 @@ function rotatingtweets_enqueue_scripts() {
2170
  endswitch;
2171
  wp_enqueue_script( 'rotating_tweet', plugins_url($rotatingtweetsjsfile, __FILE__),$dependence,$rt_data['Version'],$api['js_in_footer'] );
2172
  endif;
 
 
 
 
 
2173
  }
2174
  function rotatingtweets_enqueue_style() {
2175
  wp_enqueue_style( 'rotatingtweets', plugins_url('css/style.css', __FILE__));
2
  /*
3
  Plugin Name: Rotating Tweets (Twitter widget & shortcode)
4
  Description: Replaces a shortcode such as [rotatingtweets screen_name='your_twitter_name'], or a widget, with a rotating tweets display
5
+ Version: 1.7.12
6
  Text Domain: rotatingtweets
7
  Author: Martin Tod
8
  Author URI: http://www.martintod.org.uk
1438
  if($rotation_type == 'carousel'):
1439
  if(empty($args['carousel_horizontal'])):
1440
  $v2options['carousel-vertical'] = true;
1441
+ if(isset($args['carousel_count']) && $args['carousel_count'] > 0):
1442
  $v2options['carousel-visible'] = max(2,intval($args['carousel_count']));
1443
  else:
1444
  $v2options['carousel-visible'] = 3;
1445
  endif;
1446
  else:
1447
+ if(isset($args['carousel_count']) && $args['carousel_count'] > 0):
1448
  $v2options['carousel-visible'] = max(2,intval($args['carousel_count']));
1449
  endif;
1450
  if(isset($args['carousel_responsive'])):
2170
  endswitch;
2171
  wp_enqueue_script( 'rotating_tweet', plugins_url($rotatingtweetsjsfile, __FILE__),$dependence,$rt_data['Version'],$api['js_in_footer'] );
2172
  endif;
2173
+ /*
2174
+ if($style == 'twentyfifteen'):
2175
+ wp_enqueue_script('rt_twentyfifteen',plugins_url('js/rt_twentyfifteen.js', __FILE__),array('rotating_tweet','twentyfifteen-script'),$rt_data['Version'],$api['js_in_footer']);
2176
+ endif;
2177
+ */
2178
  }
2179
  function rotatingtweets_enqueue_style() {
2180
  wp_enqueue_style( 'rotatingtweets', plugins_url('css/style.css', __FILE__));