Serious Slider - Version 1.0.5

Version Description

  • Small styling fix to remove an erroneous bottom margin
  • Cleaned up some lefover dev code
Download this release

Release Info

Developer Cryout Creations
Plugin Icon 128x128 Serious Slider
Version 1.0.5
Comparing to
See all releases

Code changes from version 1.0.4 to 1.0.5

cryout-serious-slider.php CHANGED
@@ -2,7 +2,7 @@
2
  Plugin Name: Cryout Serious Slider
3
  Plugin URI: http://www.cryoutcreations.eu/serious-slider
4
  Description: A highly efficient SEO friendly fully translatable accessibility ready free image slider for WordPress. Seriously!
5
- Version: 1.0.4
6
  Author: Cryout Creations
7
  Author URI: http://www.cryoutcreations.eu
8
  Text Domain: cryout-serious-slider
@@ -15,7 +15,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
15
 
16
  class Cryout_Serious_Slider {
17
 
18
- public $version = "1.0.4";
19
  public $options = array();
20
  public $shortcode_tag = 'serious-slider';
21
  public $mce_tag = 'serious_slider';
2
  Plugin Name: Cryout Serious Slider
3
  Plugin URI: http://www.cryoutcreations.eu/serious-slider
4
  Description: A highly efficient SEO friendly fully translatable accessibility ready free image slider for WordPress. Seriously!
5
+ Version: 1.0.5
6
  Author: Cryout Creations
7
  Author URI: http://www.cryoutcreations.eu
8
  Text Domain: cryout-serious-slider
15
 
16
  class Cryout_Serious_Slider {
17
 
18
+ public $version = "1.0.5";
19
  public $options = array();
20
  public $shortcode_tag = 'serious-slider';
21
  public $mce_tag = 'serious_slider';
inc/shortcodes.php CHANGED
@@ -339,7 +339,7 @@ class Cryout_Serious_Slider_Shortcode {
339
  <?php } ?>
340
  </ol>
341
  </div>
342
- <hr class="transition-timer-carousel-progress-bar" />
343
  <button class="left seriousslider-control" data-target="#serious-slider-<?php echo $cid ?>" role="button" data-slide="prev">
344
  <span class="sicon-prev control-arrow" aria-hidden="true"></span>
345
  <span class="sr-only"><?php _e('Previous Slide','cryout-serious-slider') ?></span>
339
  <?php } ?>
340
  </ol>
341
  </div>
342
+
343
  <button class="left seriousslider-control" data-target="#serious-slider-<?php echo $cid ?>" role="button" data-slide="prev">
344
  <span class="sicon-prev control-arrow" aria-hidden="true"></span>
345
  <span class="sr-only"><?php _e('Previous Slide','cryout-serious-slider') ?></span>
readme.txt CHANGED
@@ -7,7 +7,7 @@ Tags: slider, slideshow, image slider, responsive slider, wordpress slider
7
  Text Domain: cryout-serious-slider
8
  Requires at least: 4.2
9
  Tested up to: 4.9.1
10
- Stable tag: 1.0.4
11
 
12
  Serious Slider is a highly efficient SEO friendly fully translatable accessibility ready free image slider for WordPress. Seriously!
13
 
@@ -105,6 +105,10 @@ Serious Slider version 1.0 brings a lot of new features but moves styling of ins
105
 
106
  == Changelog ==
107
 
 
 
 
 
108
  = 1.0.4 =
109
  * Added responsiveness option to choose between the new responsiveness mode and the pre-1.0 behaviour
110
  * Fixed slider multi-swipe issue on mobile devices
7
  Text Domain: cryout-serious-slider
8
  Requires at least: 4.2
9
  Tested up to: 4.9.1
10
+ Stable tag: 1.0.5
11
 
12
  Serious Slider is a highly efficient SEO friendly fully translatable accessibility ready free image slider for WordPress. Seriously!
13
 
105
 
106
  == Changelog ==
107
 
108
+ = 1.0.5 =
109
+ * Small styling fix to remove an erroneous bottom margin
110
+ * Cleaned up some lefover dev code
111
+
112
  = 1.0.4 =
113
  * Added responsiveness option to choose between the new responsiveness mode and the pre-1.0 behaviour
114
  * Fixed slider multi-swipe issue on mobile devices
resources/slider.js CHANGED
@@ -104,7 +104,6 @@ if (typeof jQuery === 'undefined') {
104
  this.$items = null
105
 
106
  this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this))
107
- this.$element.on('mouseenter.bs.carousel', $.proxy(this.test, this))
108
 
109
  this.options.pause == 'hover' && !('ontouchstart' in document.documentElement) && this.$element
110
  .on('mouseenter.bs.carousel', $.proxy(this.pause, this))
@@ -120,17 +119,6 @@ if (typeof jQuery === 'undefined') {
120
  wrap: true,
121
  keyboard: true
122
  }
123
- /*
124
- // disable between tests if the code is not yet functional
125
-
126
- Carousel.prototype.test = function () {
127
- var id = jQuery(this.$element).attr('id');
128
- alert(id);
129
- // window.sliderID = jQuery(slider).attr('id');
130
- // window.percent = 0;
131
- // alert(window.sliderID);
132
-
133
- }*/
134
 
135
 
136
  Carousel.prototype.keydown = function (e) {
@@ -346,50 +334,4 @@ jQuery(document).ready(function() {
346
  });
347
  });
348
 
349
- /* PROGRESS BAR */
350
-
351
- /* disable between tests if the code is not yet functional
352
-
353
- jQuery(document).ready(function(){
354
-
355
- function getID(slider) {
356
- window.sliderID = jQuery(slider).attr('id');
357
- window.percent = 0;
358
- alert(window.sliderID);
359
- }
360
-
361
- var percent = 0;
362
- var sliderID = '';
363
-
364
-
365
- var $bar = jQuery('.transition-timer-carousel-progress-bar');
366
-
367
-
368
-
369
- function progressBarCarousel() {
370
- $bar.css({width:percent+'%'});
371
- percent = percent + 0.5;
372
- if (percent >= 100) {
373
- percent = 0;
374
- jQuery('#' + window.sliderID).carousel( 'next' );
375
- }
376
- }
377
- var barInterval = setInterval(progressBarCarousel, interval);
378
-
379
- alert( '#' + window.sliderID );
380
-
381
- if (!(/Mobi/.test(navigator.userAgent))) {
382
- jQuery('#' + window.sliderID).hover(function(){
383
- clearInterval(barInterval);
384
- },
385
- function(){
386
- barInterval = setInterval(progressBarCarousel, interval);
387
- }
388
- );
389
- }
390
-
391
- }); */
392
-
393
-
394
-
395
  /* FIN */
104
  this.$items = null
105
 
106
  this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this))
 
107
 
108
  this.options.pause == 'hover' && !('ontouchstart' in document.documentElement) && this.$element
109
  .on('mouseenter.bs.carousel', $.proxy(this.pause, this))
119
  wrap: true,
120
  keyboard: true
121
  }
 
 
 
 
 
 
 
 
 
 
 
122
 
123
 
124
  Carousel.prototype.keydown = function (e) {
334
  });
335
  });
336
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
337
  /* FIN */