Version Description
= Before Upgrading =
- Note the Title and Content fonts on your old Smooth Slider.
- Go to 'Settings' panel and 'Save Changes'.
- Recheck the Slider Title, Post Title and the Slider Content fonts on the Settings Panel.
Get older versions
!!IMP!! If you have highly customized Smooth Slider, Before upgrading to 2.4, save your CSS and Settings. You may lose some CSS formatting as in the new versions the slider javascript is changed and is different from previous versions.
Download this release
Release Info
Developer | internet techies |
Plugin | Smooth Slider |
Version | 2.6.1 |
Comparing to | |
See all releases |
Code changes from version 2.6 to 2.6.1
- css/skins/default/functions.php +2 -1
- css/skins/default/style.css +4 -3
- css/skins/sample/style.css +5 -4
- js/smooth.js +33 -30
- readme.txt +7 -1
- slider_versions/smooth_1.php +1 -1
- smooth-slider.php +3 -3
css/skins/default/functions.php
CHANGED
@@ -243,7 +243,8 @@ function smooth_slider_get_default($slider_handle,$r_array,$slider_id='',$echo='
|
|
243 |
$html.='jQuery("#'.$slider_handle.'").smoothSlider({
|
244 |
sliderWidth :'.$smooth_slider['width'].',
|
245 |
sliderHeight :'.$smooth_slider['height'].',
|
246 |
-
navArr :'.$navArr.'
|
|
|
247 |
});';
|
248 |
|
249 |
|
243 |
$html.='jQuery("#'.$slider_handle.'").smoothSlider({
|
244 |
sliderWidth :'.$smooth_slider['width'].',
|
245 |
sliderHeight :'.$smooth_slider['height'].',
|
246 |
+
navArr :'.$navArr.',
|
247 |
+
img_align :"'.$smooth_slider['img_align'].'"
|
248 |
});';
|
249 |
|
250 |
|
css/skins/default/style.css
CHANGED
@@ -6,7 +6,7 @@ Smooth Slider default styles*/
|
|
6 |
.smooth_slider .sldr_title{margin:5px 0 10px 0;}
|
7 |
.smooth_slider span{display:inline;overflow:hidden;margin: 10px auto;line-height:18px;}
|
8 |
.smooth_slider .smooth_sliderb{position:relative;}
|
9 |
-
.smooth_slider .smooth_slideri{position:absolute;width:100% !important;height:auto !important;
|
10 |
.smooth_slider .smooth_slider_thumbnail{position:relative;max-width:100%;}
|
11 |
.smooth_slider a{text-decoration:none !important;}
|
12 |
.smooth_slider h2{clear:none;display:block;padding:0px;}
|
@@ -22,8 +22,8 @@ Smooth Slider default styles*/
|
|
22 |
|
23 |
/*Navigation */
|
24 |
/* Next and Previous navigational arrows */
|
25 |
-
.smooth_slider .smooth_next {position: absolute;right: 0px;top:45%; width: 24px; height: 24px; cursor: pointer; background: transparent url(buttons/default/next.png) no-repeat 0 0;}
|
26 |
-
.smooth_slider .smooth_prev { position: absolute;left: 0px;top:45%; width: 24px; height: 24px; cursor: pointer; background: transparent url(buttons/default/prev.png) no-repeat 0 0;}
|
27 |
|
28 |
/*Navigation numbers*/
|
29 |
.smooth_slider .smooth_nav { position:absolute;bottom:0px;text-align:center;margin: 10px auto;}
|
@@ -42,3 +42,4 @@ Smooth Slider default styles*/
|
|
42 |
/*Added for responsiveness*/
|
43 |
.smooth_slider .smoothNone{float:none !important;}
|
44 |
.smooth_slider .smoothLeft{float:left !important;}
|
|
6 |
.smooth_slider .sldr_title{margin:5px 0 10px 0;}
|
7 |
.smooth_slider span{display:inline;overflow:hidden;margin: 10px auto;line-height:18px;}
|
8 |
.smooth_slider .smooth_sliderb{position:relative;}
|
9 |
+
.smooth_slider .smooth_slideri{position:absolute;width:100% !important;height:auto !important;}
|
10 |
.smooth_slider .smooth_slider_thumbnail{position:relative;max-width:100%;}
|
11 |
.smooth_slider a{text-decoration:none !important;}
|
12 |
.smooth_slider h2{clear:none;display:block;padding:0px;}
|
22 |
|
23 |
/*Navigation */
|
24 |
/* Next and Previous navigational arrows */
|
25 |
+
.smooth_slider .smooth_next {position: absolute;right: 0px;top:45%; width: 24px; height: 24px; cursor: pointer; background: transparent url(buttons/default/next.png) no-repeat 0 0;z-index:10;}
|
26 |
+
.smooth_slider .smooth_prev { position: absolute;left: 0px;top:45%; width: 24px; height: 24px; cursor: pointer; background: transparent url(buttons/default/prev.png) no-repeat 0 0;z-index:10;}
|
27 |
|
28 |
/*Navigation numbers*/
|
29 |
.smooth_slider .smooth_nav { position:absolute;bottom:0px;text-align:center;margin: 10px auto;}
|
42 |
/*Added for responsiveness*/
|
43 |
.smooth_slider .smoothNone{float:none !important;}
|
44 |
.smooth_slider .smoothLeft{float:left !important;}
|
45 |
+
.smooth_slider .smoothRight{float:right !important;}
|
css/skins/sample/style.css
CHANGED
@@ -3,8 +3,7 @@ Caution: Do not edit this file. To create your own stylesheet, copy the CSS cont
|
|
3 |
*/
|
4 |
@charset "utf-8";
|
5 |
/*CSS Document
|
6 |
-
Smooth Slider
|
7 |
-
sample stylesheet*/
|
8 |
.smooth_slider div,.smooth_slider p,.smooth_slider li,.smooth_slider span,.smooth_slider img,.smooth_slider h2,.smooth_slider ul{list-style:none;vertical-align:baseline;}
|
9 |
.smooth_slider{padding:0 5px;width:100%;}
|
10 |
.smooth_slider .sldr_title{margin:5px 0 10px 0;}
|
@@ -26,8 +25,8 @@ sample stylesheet*/
|
|
26 |
|
27 |
/*Navigation */
|
28 |
/* Next and Previous navigational arrows */
|
29 |
-
.smooth_slider .smooth_next {position: absolute;right: 0px;top:45%; width: 24px; height: 24px; cursor: pointer; background: transparent url(buttons/default/next.png) no-repeat 0 0;}
|
30 |
-
.smooth_slider .smooth_prev { position: absolute;left: 0px;top:45%; width: 24px; height: 24px; cursor: pointer; background: transparent url(buttons/default/prev.png) no-repeat 0 0;}
|
31 |
|
32 |
/*Navigation numbers*/
|
33 |
.smooth_slider .smooth_nav { position:absolute;bottom:0px;text-align:center;margin: 10px auto;}
|
@@ -46,6 +45,8 @@ sample stylesheet*/
|
|
46 |
/*Added for responsiveness*/
|
47 |
.smooth_slider .smoothNone{float:none !important;}
|
48 |
.smooth_slider .smoothLeft{float:left !important;}
|
|
|
|
|
49 |
/* Add Generated CSS (from Smooth Slider settings) below */
|
50 |
.smooth_slider{max-width:450px;min-height:250px;background-color:#ffffff;border:0px solid #dddddd;}
|
51 |
.smooth_slider .sldr_title{font-family:Arial,Helvetica,sans-serif, Arial, Helvetica, sans-serif;font-size:20px;font-weight:bold;font-style:normal;color:#000000;}
|
3 |
*/
|
4 |
@charset "utf-8";
|
5 |
/*CSS Document
|
6 |
+
Smooth Slider default styles*/
|
|
|
7 |
.smooth_slider div,.smooth_slider p,.smooth_slider li,.smooth_slider span,.smooth_slider img,.smooth_slider h2,.smooth_slider ul{list-style:none;vertical-align:baseline;}
|
8 |
.smooth_slider{padding:0 5px;width:100%;}
|
9 |
.smooth_slider .sldr_title{margin:5px 0 10px 0;}
|
25 |
|
26 |
/*Navigation */
|
27 |
/* Next and Previous navigational arrows */
|
28 |
+
.smooth_slider .smooth_next {position: absolute;right: 0px;top:45%; width: 24px; height: 24px; cursor: pointer; background: transparent url(buttons/default/next.png) no-repeat 0 0;z-index:10;}
|
29 |
+
.smooth_slider .smooth_prev { position: absolute;left: 0px;top:45%; width: 24px; height: 24px; cursor: pointer; background: transparent url(buttons/default/prev.png) no-repeat 0 0;z-index:10;}
|
30 |
|
31 |
/*Navigation numbers*/
|
32 |
.smooth_slider .smooth_nav { position:absolute;bottom:0px;text-align:center;margin: 10px auto;}
|
45 |
/*Added for responsiveness*/
|
46 |
.smooth_slider .smoothNone{float:none !important;}
|
47 |
.smooth_slider .smoothLeft{float:left !important;}
|
48 |
+
.smooth_slider .smoothRight{float:right !important;}
|
49 |
+
|
50 |
/* Add Generated CSS (from Smooth Slider settings) below */
|
51 |
.smooth_slider{max-width:450px;min-height:250px;background-color:#ffffff;border:0px solid #dddddd;}
|
52 |
.smooth_slider .sldr_title{font-family:Arial,Helvetica,sans-serif, Arial, Helvetica, sans-serif;font-size:20px;font-weight:bold;font-style:normal;color:#000000;}
|
js/smooth.js
CHANGED
@@ -1,46 +1,49 @@
|
|
1 |
-
(function($) {
|
2 |
jQuery.fn.smoothSlider=function(args){
|
3 |
var defaults={
|
4 |
sliderWidth :900,
|
5 |
sliderHeight :320,
|
6 |
-
navArr :0
|
7 |
-
|
8 |
}
|
9 |
options=jQuery.extend({},defaults,args);
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
20 |
var sldrThumbW=sldrThumb.outerWidth(true);
|
21 |
-
|
22 |
if(slideriW-sldrThumbW < 70){
|
23 |
-
sldrThumb.removeClass('
|
|
|
24 |
sldrThumb.addClass('smoothNone');
|
25 |
}
|
26 |
else{
|
27 |
sldrThumb.removeClass('smoothNone');
|
28 |
-
sldrThumb.addClass('
|
|
|
29 |
}
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
var ht=iht + jQuery(this).find(".sldr_title").outerHeight(true) + jQuery(this).find(".smooth_nav").outerHeight(true);
|
36 |
-
jQuery(this).height(ht);
|
37 |
-
return jQuery(this);
|
38 |
-
};
|
39 |
-
this.smoothSliderSize();
|
40 |
-
self=this;
|
41 |
-
//On Window Resize
|
42 |
-
jQuery(window).resize(function() {
|
43 |
-
self.smoothSliderSize();
|
44 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
}
|
46 |
})(jQuery);
|
1 |
+
;(function($) {
|
2 |
jQuery.fn.smoothSlider=function(args){
|
3 |
var defaults={
|
4 |
sliderWidth :900,
|
5 |
sliderHeight :320,
|
6 |
+
navArr :0,
|
7 |
+
img_align :'left'
|
8 |
}
|
9 |
options=jQuery.extend({},defaults,args);
|
10 |
+
this.smoothSliderSize=function(){
|
11 |
+
var wrapWidth=this.width();
|
12 |
+
var slideri=this.find('.smooth_slideri');
|
13 |
+
var slideriW;
|
14 |
+
//calculate max-width of slideri
|
15 |
+
if(options.navArr==0) slideriW=wrapWidth;
|
16 |
+
else slideriW=wrapWidth-(48+10); //48px for arrows and 10 for additional margin for text
|
17 |
+
slideri.css('max-width',slideriW+'px');
|
18 |
+
//float excerpt below image
|
19 |
+
if(options.img_align=='left' || options.img_align=='right'){
|
20 |
+
var sldrThumb=this.find('.smooth_slider_thumbnail');
|
21 |
var sldrThumbW=sldrThumb.outerWidth(true);
|
|
|
22 |
if(slideriW-sldrThumbW < 70){
|
23 |
+
if(options.img_align=='right')sldrThumb.removeClass('smoothRight');
|
24 |
+
else sldrThumb.removeClass('smoothLeft');
|
25 |
sldrThumb.addClass('smoothNone');
|
26 |
}
|
27 |
else{
|
28 |
sldrThumb.removeClass('smoothNone');
|
29 |
+
if(options.img_align=='right')sldrThumb.addClass('smoothRight');
|
30 |
+
else sldrThumb.addClass('smoothLeft');
|
31 |
}
|
32 |
+
}
|
33 |
+
//slider height
|
34 |
+
var iht=0;
|
35 |
+
this.find(".smooth_slideri").each(function(idx,el){
|
36 |
+
if(jQuery(el).outerHeight(true)>iht)iht=jQuery(el).outerHeight(true);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
});
|
38 |
+
var ht=iht + this.find(".sldr_title").outerHeight(true) + this.find(".smooth_nav").outerHeight(true);
|
39 |
+
this.height(ht);
|
40 |
+
return this;
|
41 |
+
};
|
42 |
+
this.smoothSliderSize();
|
43 |
+
var self=this;
|
44 |
+
//On Window Resize
|
45 |
+
jQuery(window).resize(function() {
|
46 |
+
self.smoothSliderSize();
|
47 |
+
});
|
48 |
}
|
49 |
})(jQuery);
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: slider, slideshow, wordpress slider, content slider, posts slider,image sl
|
|
4 |
Donate link: http://www.clickonf5.org/go/smooth-slider/
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.9.1
|
7 |
-
Stable tag: 2.6
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Most Popular Responsive WordPress Slider for Featured Content, Videos and Media Images
|
@@ -137,6 +137,12 @@ Check the other FAQs on Smooth [Slider Documetation on SliderVilla](http://guide
|
|
137 |
|
138 |
== Changelog ==
|
139 |
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
Version 2.6 (07/29/2014)
|
141 |
|
142 |
1. New: Image uploader for Sliders on 'Sliders' settings panel. No need to add individual media image to Smooth slider.
|
4 |
Donate link: http://www.clickonf5.org/go/smooth-slider/
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.9.1
|
7 |
+
Stable tag: 2.6.1
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Most Popular Responsive WordPress Slider for Featured Content, Videos and Media Images
|
137 |
|
138 |
== Changelog ==
|
139 |
|
140 |
+
Version 2.6.1 (07/30/2014)
|
141 |
+
|
142 |
+
1. Fix: Smooth Slider coming before content in case of shortcode
|
143 |
+
2. Fix: Words breaking improperly in the slider content area
|
144 |
+
3. Fix: JS conflict with ShareThis plugin
|
145 |
+
|
146 |
Version 2.6 (07/29/2014)
|
147 |
|
148 |
1. New: Image uploader for Sliders on 'Sliders' settings panel. No need to add individual media image to Smooth slider.
|
slider_versions/smooth_1.php
CHANGED
@@ -46,7 +46,7 @@ function get_global_smooth_slider($slider_handle,$r_array,$slider_id='',$echo='1
|
|
46 |
$get_processor_fn='smooth_slider_get_'.$skin;
|
47 |
if(!function_exists($get_processor_fn))$get_processor_fn='smooth_slider_get_default';
|
48 |
|
49 |
-
$r_array=$get_processor_fn($slider_handle,$r_array,$slider_id,$echo
|
50 |
return $r_array;
|
51 |
}
|
52 |
//Basic Smooth Slider
|
46 |
$get_processor_fn='smooth_slider_get_'.$skin;
|
47 |
if(!function_exists($get_processor_fn))$get_processor_fn='smooth_slider_get_default';
|
48 |
|
49 |
+
$r_array=$get_processor_fn($slider_handle,$r_array,$slider_id,$echo);
|
50 |
return $r_array;
|
51 |
}
|
52 |
//Basic Smooth Slider
|
smooth-slider.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Smooth Slider
|
4 |
Plugin URI: http://slidervilla.com/smooth-slider/
|
5 |
Description: Smooth slider adds a responsive featured content on image slider using shortcode, widget and template tags. Create and embed featured content slider, recent post slider, category slider in less than 60 seconds.
|
6 |
-
Version: 2.6
|
7 |
Author: SliderVilla
|
8 |
Author URI: http://slidervilla.com/
|
9 |
Wordpress version supported: 2.9 and above
|
@@ -30,12 +30,12 @@ Wordpress version supported: 2.9 and above
|
|
30 |
//defined global variables and constants here
|
31 |
global $smooth_slider,$default_slider,$smooth_db_version;
|
32 |
$smooth_slider = get_option('smooth_slider_options');
|
33 |
-
$smooth_db_version='2.6'; //current version of smooth slider database
|
34 |
define('SLIDER_TABLE','smooth_slider'); //Slider TABLE NAME
|
35 |
define('PREV_SLIDER_TABLE','slider'); //Slider TABLE NAME
|
36 |
define('SLIDER_META','smooth_slider_meta'); //Meta TABLE NAME
|
37 |
define('SLIDER_POST_META','smooth_slider_postmeta'); //Meta TABLE NAME
|
38 |
-
define("SMOOTH_SLIDER_VER","2.6",false);//Current Version of Smooth Slider
|
39 |
if ( ! defined( 'SMOOTH_SLIDER_PLUGIN_BASENAME' ) )
|
40 |
define( 'SMOOTH_SLIDER_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
41 |
if ( ! defined( 'SMOOTH_SLIDER_CSS_DIR' ) ){
|
3 |
Plugin Name: Smooth Slider
|
4 |
Plugin URI: http://slidervilla.com/smooth-slider/
|
5 |
Description: Smooth slider adds a responsive featured content on image slider using shortcode, widget and template tags. Create and embed featured content slider, recent post slider, category slider in less than 60 seconds.
|
6 |
+
Version: 2.6.1
|
7 |
Author: SliderVilla
|
8 |
Author URI: http://slidervilla.com/
|
9 |
Wordpress version supported: 2.9 and above
|
30 |
//defined global variables and constants here
|
31 |
global $smooth_slider,$default_slider,$smooth_db_version;
|
32 |
$smooth_slider = get_option('smooth_slider_options');
|
33 |
+
$smooth_db_version='2.6.1'; //current version of smooth slider database
|
34 |
define('SLIDER_TABLE','smooth_slider'); //Slider TABLE NAME
|
35 |
define('PREV_SLIDER_TABLE','slider'); //Slider TABLE NAME
|
36 |
define('SLIDER_META','smooth_slider_meta'); //Meta TABLE NAME
|
37 |
define('SLIDER_POST_META','smooth_slider_postmeta'); //Meta TABLE NAME
|
38 |
+
define("SMOOTH_SLIDER_VER","2.6.1",false);//Current Version of Smooth Slider
|
39 |
if ( ! defined( 'SMOOTH_SLIDER_PLUGIN_BASENAME' ) )
|
40 |
define( 'SMOOTH_SLIDER_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
41 |
if ( ! defined( 'SMOOTH_SLIDER_CSS_DIR' ) ){
|