Smooth Slider - Version 2.3.1

Version Description

Download this release

Release Info

Developer internet techies
Plugin Icon 128x128 Smooth Slider
Version 2.3.1
Comparing to
See all releases

Code changes from version 2.3 to 2.3.1

Files changed (4) hide show
  1. images/Thumbs.db +0 -0
  2. readme.txt +26 -3
  3. settings/settings.php +1 -0
  4. smooth-slider.php +17 -10
images/Thumbs.db CHANGED
Binary file
readme.txt CHANGED
@@ -2,15 +2,16 @@
2
  Contributors: internet techies
3
  Tags: slideshow,featured,posts,jquery,slider,content,widget,shortcode,carousel,css,simple,thumbnail,image,post,sidebar,plugin,page,category,wpmu,site,blogs,style,home,categories,picture,flash,gallery
4
  Donate link: http://www.clickonf5.org/go/smooth-slider/
5
- Requires at least: 2.8
6
  Tested up to: 3.0.1
7
- Stable tag: 2.3
8
 
9
  == Description ==
10
 
11
  Smooth Slider is a Wordpress and Wordpress MU Plugin for creating a dynamic slideshow/s for featured posts on a blog. The slideshow created by Smooth Slider are JavaScript and Text based, that is why bloggers will get full benefit of Search Engine Optimization as the texts are readable by Search Engines. You can choose some of your posts as featured posts and show them into a slideshow on your blog home page (i.e. Index) as well as in Sidebar.
12
 
13
- Features:
 
14
  Highlighted Feature (from version 2.3) : Smooth Slider Widget and Smooth Slider Shortcode
15
 
16
  Highlighted Feature (from version 2.2) : Ability to create 'Multiple' sliders and an option to decide which post/page should show which slider
@@ -97,18 +98,40 @@ Visit the plugin page (http://www.clickonf5.org/smooth-slider) to see more scree
97
 
98
  == Changelog ==
99
 
 
 
 
 
 
 
 
 
 
 
100
  Version 2.3 (10/12/2010)
 
101
  1. New - Smooth Slider Widget
 
102
  2. New - Smooth Slider Shortcode
 
103
  3. New - Slides can now be re-ordered thru the 'Slider Admin Panel'
 
104
  4. New - Images existing and new images added to WordPress Media Gallery can be added to Smooth Slider along with posts and pages.
 
105
  5. New - Now images in the slider can be extracted in very intelligent manner. Added support for 'Post Thumbnails (WP 2.9+)'.
 
106
  6. New - Videos can be embedded in the slider. Ad can be added to the slider.
 
107
  7. New - Some slides can be linked to a webpage and others can be without a link as well.
 
108
  8. New - Multiple settings to the sliders on different pages thru CSS files.
 
109
  9. Fixed - Scheduled Posts issue
 
110
  10. Fixed - Image Caption Issue
 
111
  11. Fixed - Retain HTML tags issue
 
112
  12. Fixed - Permissions issue (Who can add post/page and slides to the slider and who cannot)
113
 
114
 
2
  Contributors: internet techies
3
  Tags: slideshow,featured,posts,jquery,slider,content,widget,shortcode,carousel,css,simple,thumbnail,image,post,sidebar,plugin,page,category,wpmu,site,blogs,style,home,categories,picture,flash,gallery
4
  Donate link: http://www.clickonf5.org/go/smooth-slider/
5
+ Requires at least: 2.9
6
  Tested up to: 3.0.1
7
+ Stable tag: 2.3.1
8
 
9
  == Description ==
10
 
11
  Smooth Slider is a Wordpress and Wordpress MU Plugin for creating a dynamic slideshow/s for featured posts on a blog. The slideshow created by Smooth Slider are JavaScript and Text based, that is why bloggers will get full benefit of Search Engine Optimization as the texts are readable by Search Engines. You can choose some of your posts as featured posts and show them into a slideshow on your blog home page (i.e. Index) as well as in Sidebar.
12
 
13
+ =Features=
14
+
15
  Highlighted Feature (from version 2.3) : Smooth Slider Widget and Smooth Slider Shortcode
16
 
17
  Highlighted Feature (from version 2.2) : Ability to create 'Multiple' sliders and an option to decide which post/page should show which slider
98
 
99
  == Changelog ==
100
 
101
+ Version 2.3.1 (10/13/2010)
102
+
103
+ Minor upgrade to fix small issues with 2.3
104
+
105
+ 1. Plugin compltibility will be now from WordPress 2.9 i.e. you should upgrade to Version 2.3 only if you hav WordPress 2.9 and above.
106
+
107
+ 2. Fixed: For those using Smooth Slider previous versions, some were facing issue with the loading of stylesheets and script specific to slider. Fixed it.
108
+
109
+ 3. Fixed: For some servers content was not pulled from the posts.
110
+
111
  Version 2.3 (10/12/2010)
112
+
113
  1. New - Smooth Slider Widget
114
+
115
  2. New - Smooth Slider Shortcode
116
+
117
  3. New - Slides can now be re-ordered thru the 'Slider Admin Panel'
118
+
119
  4. New - Images existing and new images added to WordPress Media Gallery can be added to Smooth Slider along with posts and pages.
120
+
121
  5. New - Now images in the slider can be extracted in very intelligent manner. Added support for 'Post Thumbnails (WP 2.9+)'.
122
+
123
  6. New - Videos can be embedded in the slider. Ad can be added to the slider.
124
+
125
  7. New - Some slides can be linked to a webpage and others can be without a link as well.
126
+
127
  8. New - Multiple settings to the sliders on different pages thru CSS files.
128
+
129
  9. Fixed - Scheduled Posts issue
130
+
131
  10. Fixed - Image Caption Issue
132
+
133
  11. Fixed - Retain HTML tags issue
134
+
135
  12. Fixed - Permissions issue (Who can add post/page and slides to the slider and who cannot)
136
 
137
 
settings/settings.php CHANGED
@@ -732,6 +732,7 @@ if ($handle = opendir($directory)) {
732
  </tr>
733
 
734
  </table>
 
735
  <p class="submit">
736
  <input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
737
  </p>
732
  </tr>
733
 
734
  </table>
735
+
736
  <p class="submit">
737
  <input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
738
  </p>
smooth-slider.php CHANGED
@@ -3,10 +3,10 @@
3
  Plugin Name: Smooth Slider
4
  Plugin URI: http://www.clickonf5.org/smooth-slider
5
  Description: Smooth Slider adds a smooth content and image slideshow with customizable background and slide intervals to any location of your blog
6
- Version: 2.3
7
  Author: Internet Techies
8
  Author URI: http://www.clickonf5.org/
9
- Wordpress version supported: 2.7 and above
10
  */
11
 
12
  /* Copyright 2009-2010 Internet Techies (email : tedeshpa@gmail.com)
@@ -31,7 +31,7 @@ define('SLIDER_TABLE','smooth_slider'); //Slider TABLE NAME
31
  define('PREV_SLIDER_TABLE','slider'); //Slider TABLE NAME
32
  define('SLIDER_META','smooth_slider_meta'); //Meta TABLE NAME
33
  define('SLIDER_POST_META','smooth_slider_postmeta'); //Meta TABLE NAME
34
- define("SMOOTH_SLIDER_VER","2.3",false);//Current Version of Smooth Slider
35
  if ( ! defined( 'SMOOTH_SLIDER_PLUGIN_BASENAME' ) )
36
  define( 'SMOOTH_SLIDER_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
37
  if ( ! defined( 'SMOOTH_SLIDER_CSS_DIR' ) )
@@ -162,10 +162,10 @@ function install_smooth_slider() {
162
  }
163
  }
164
 
165
- if(is_array($img_pick) and (count($img_pick)<6 or count($img_pick)>6)) {
166
  $smooth_slider['img_pick'] = array('1',$cskey,'1','1','1','1');
167
  }
168
-
169
  if(!$smooth_slider) {
170
  $smooth_slider = array();
171
  }
@@ -1058,7 +1058,8 @@ if(is_singular()) {
1058
  if((is_singular() and $slider_style == 'default.css')
1059
  or (!is_singular() and $smooth_slider['stylesheet'] == 'default.css')
1060
  or (is_singular() and is_active_widget(false, false, 'sslider_wid', true) and (!isset($slider_style) or empty($slider_style) ))
1061
- or (is_singular() and $smooth_slider['shortcode'] == '1')){
 
1062
  ?>
1063
  <style type="text/css" media="screen">#smooth_sldr{width:<?php echo $smooth_slider['width']; ?>px;height:<?php echo $smooth_slider['height']; ?>px;background-color:<?php if ($smooth_slider['bg'] == '1') { echo "transparent";} else { echo $smooth_slider['bg_color']; } ?>;border:<?php echo $smooth_slider['border']; ?>px solid <?php echo $smooth_slider['brcolor']; ?>;}#smooth_sldr_items{padding:10px <?php if ($smooth_slider['prev_next'] == 1) {echo "18";} else {echo "12";} ?>px 0px <?php if ($smooth_slider['prev_next'] == 1) {echo "26";} else {echo "12";} ?>px;}#smooth_sliderc{width:<?php if ($smooth_slider['prev_next'] == 1) {echo ($smooth_slider['width'] - 44);} else {echo ($smooth_slider['width'] - 24);} ?>px;height:<?php if ($smooth_slider['goto_slide'] == "1"){$nav_size = $smooth_slider['content_fsize'];} elseif ($smooth_slider['goto_slide'] == "2"){$nav_size = $smooth_slider['navimg_ht'];} else {$nav_size = 10;} $sldr_title = $smooth_slider['title_text']; if(!empty($sldr_title)) { $extra_height = $smooth_slider['title_fsize'] + $nav_size + 5 + 18; } else { $extra_height = $nav_size + 5 + 5 + 18; } echo ($smooth_slider['height'] - $extra_height); ?>px;}.smooth_slideri{width:<?php if ($smooth_slider['prev_next'] == 1) {echo ($smooth_slider['width'] - 54);} else {echo ($smooth_slider['width'] - 24);} ?>px;height:<?php if ($smooth_slider['goto_slide'] == "1"){$nav_size = $smooth_slider['content_fsize'];} elseif ($smooth_slider['goto_slide'] == "2"){$nav_size = $smooth_slider['navimg_ht'];} else {$nav_size = 10;} $sldr_title = $smooth_slider['title_text']; if(!empty($sldr_title)) { $extra_height = $smooth_slider['title_fsize'] + $nav_size + 5 + 18; } else { $extra_height = $nav_size + 5 + 5 + 18; } echo ($smooth_slider['height'] - $extra_height); ?>px;}.sldr_title{font-family:<?php echo $smooth_slider['title_font']; ?>, Arial, Helvetica, sans-serif;font-size:<?php echo $smooth_slider['title_fsize']; ?>px;font-weight:<?php if ($smooth_slider['title_fstyle'] == "bold" or $smooth_slider['title_fstyle'] == "bold italic" ){echo "bold";} else { echo "normal"; } ?>;font-style:<?php if ($smooth_slider['title_fstyle'] == "italic" or $smooth_slider['title_fstyle'] == "bold italic" ){echo "italic";} else {echo "normal";} ?>;color:<?php echo $smooth_slider['title_fcolor']; ?>;}#smooth_sldr_body h2{line-height:<?php echo ($smooth_slider['ptitle_fsize'] + 3); ?>px;font-family:<?php echo $smooth_slider['ptitle_font']; ?>, Arial, Helvetica, sans-serif;font-size:<?php echo $smooth_slider['ptitle_fsize']; ?>px;font-weight:<?php if ($smooth_slider['ptitle_fstyle'] == "bold" or $smooth_slider['ptitle_fstyle'] == "bold italic" ){echo "bold";} else {echo "normal";} ?>;font-style:<?php if ($smooth_slider['ptitle_fstyle'] == "italic" or $smooth_slider['ptitle_fstyle'] == "bold italic"){echo "italic";} else {echo "normal";} ?>;color:<?php echo $smooth_slider['ptitle_fcolor']; ?>;margin:<?php $sldr_title = $smooth_slider['title_text']; if(!empty($sldr_title)) { echo "10"; } else {echo "0";} ?>px 0 5px 0;}#smooth_sldr_body h2 a{color:<?php echo $smooth_slider['ptitle_fcolor']; ?>;}#smooth_sldr_body span{font-family:<?php echo $smooth_slider['content_font']; ?>, Arial, Helvetica, sans-serif;font-size:<?php echo $smooth_slider['content_fsize']; ?>px;font-weight:<?php if ($smooth_slider['content_fstyle'] == "bold" or $smooth_slider['content_fstyle'] == "bold italic" ){echo "bold";} else {echo "normal";} ?>;font-style:<?php if ($smooth_slider['content_fstyle']=="italic" or $smooth_slider['content_fstyle'] == "bold italic"){echo "italic";} else {echo "normal";} ?>;color:<?php echo $smooth_slider['content_fcolor']; ?>;}.smooth_slider_thumbnail{float:<?php echo $smooth_slider['img_align']; ?>;margin:<?php $sldr_title = $smooth_slider['title_text']; if(!empty($sldr_title)) { echo "10"; } else {echo "0";} ?>px <?php if($smooth_slider['img_align'] == "left") {echo "5";} else {echo "0";} ?>px 0 <?php if($smooth_slider['img_align'] == "right") {echo "5";} else {echo "0";} ?>px;max-height:<?php echo $smooth_slider['img_height']; ?>px;border:<?php echo $smooth_slider['img_border']; ?>px solid <?php echo $smooth_slider['img_brcolor']; ?>;}#smooth_sldr_body p.more a{color:<?php echo $smooth_slider['ptitle_fcolor']; ?>;font-family:<?php echo $smooth_slider['content_font']; ?>, Arial, Helvetica, sans-serif;font-size:<?php echo $smooth_slider['content_fsize']; ?>px;}#smooth_sliderc_nav li{border:1px solid <?php echo $smooth_slider['content_fcolor']; ?>;font-size:<?php echo $smooth_slider['content_fsize']; ?>px;font-family:<?php echo $smooth_slider['content_font']; ?>, Arial, Helvetica, sans-serif;}#smooth_sliderc_nav li a{color:<?php echo $smooth_slider['ptitle_fcolor']; ?>;}.sldrlink{padding-right:<?php if ($smooth_slider['prev_next'] == 1) {echo "40";} else {echo "25";} ?>px;}.sldrlink a{color:<?php echo $smooth_slider['content_fcolor']; ?>;}</style>
1064
  <?php }
@@ -1078,11 +1079,17 @@ function smooth_slider_enqueue_styles() {
1078
  global $post, $smooth_slider, $wp_registered_widgets,$wp_widget_factory;
1079
  if(is_singular()) {
1080
  $slider_style = get_post_meta($post->ID,'slider_style',true);
1081
- if((is_active_widget(false, false, 'sslider_wid', true) or $smooth_slider['shortcode'] == '1') and (!isset($slider_style) or empty($slider_style))){
1082
  $slider_style='default.css';
1083
  }
1084
- wp_enqueue_style( 'smooth_slider_head_css', smooth_slider_plugin_url( 'css/styles/'.$slider_style ),
1085
- false, SMOOTH_SLIDER_VER, 'all');
 
 
 
 
 
 
1086
  }
1087
  else {
1088
  $slider_style = $smooth_slider['stylesheet'];
@@ -1141,7 +1148,7 @@ if(!empty($slider_id)){
1141
  <?php $sldr_title = $smooth_slider['title_text']; if(!empty($sldr_title)) { ?><div class="sldr_title"><?php echo $smooth_slider['title_text']; ?></div> <?php } ?>
1142
  <div id="smooth_sliderc">
1143
  <div class="smooth_sliderb">
1144
- <?php global $smooth_sldr_j; $r_array = carousel_posts_on_slider($smooth_slider['no_posts'], $offset=0, $slider_id, '1'); $smooth_sldr_j = $r_array[0]; ?>
1145
  </div>
1146
  </div>
1147
  </div>
3
  Plugin Name: Smooth Slider
4
  Plugin URI: http://www.clickonf5.org/smooth-slider
5
  Description: Smooth Slider adds a smooth content and image slideshow with customizable background and slide intervals to any location of your blog
6
+ Version: 2.3.1
7
  Author: Internet Techies
8
  Author URI: http://www.clickonf5.org/
9
+ Wordpress version supported: 2.9 and above
10
  */
11
 
12
  /* Copyright 2009-2010 Internet Techies (email : tedeshpa@gmail.com)
31
  define('PREV_SLIDER_TABLE','slider'); //Slider TABLE NAME
32
  define('SLIDER_META','smooth_slider_meta'); //Meta TABLE NAME
33
  define('SLIDER_POST_META','smooth_slider_postmeta'); //Meta TABLE NAME
34
+ define("SMOOTH_SLIDER_VER","2.3.1",false);//Current Version of Smooth Slider
35
  if ( ! defined( 'SMOOTH_SLIDER_PLUGIN_BASENAME' ) )
36
  define( 'SMOOTH_SLIDER_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
37
  if ( ! defined( 'SMOOTH_SLIDER_CSS_DIR' ) )
162
  }
163
  }
164
 
165
+ /* if(is_array($img_pick) and (count($img_pick)<6 or count($img_pick)>6)) {
166
  $smooth_slider['img_pick'] = array('1',$cskey,'1','1','1','1');
167
  }
168
+ */
169
  if(!$smooth_slider) {
170
  $smooth_slider = array();
171
  }
1058
  if((is_singular() and $slider_style == 'default.css')
1059
  or (!is_singular() and $smooth_slider['stylesheet'] == 'default.css')
1060
  or (is_singular() and is_active_widget(false, false, 'sslider_wid', true) and (!isset($slider_style) or empty($slider_style) ))
1061
+ or (is_singular() and isset($smooth_slider['shortcode']) ) )
1062
+ {
1063
  ?>
1064
  <style type="text/css" media="screen">#smooth_sldr{width:<?php echo $smooth_slider['width']; ?>px;height:<?php echo $smooth_slider['height']; ?>px;background-color:<?php if ($smooth_slider['bg'] == '1') { echo "transparent";} else { echo $smooth_slider['bg_color']; } ?>;border:<?php echo $smooth_slider['border']; ?>px solid <?php echo $smooth_slider['brcolor']; ?>;}#smooth_sldr_items{padding:10px <?php if ($smooth_slider['prev_next'] == 1) {echo "18";} else {echo "12";} ?>px 0px <?php if ($smooth_slider['prev_next'] == 1) {echo "26";} else {echo "12";} ?>px;}#smooth_sliderc{width:<?php if ($smooth_slider['prev_next'] == 1) {echo ($smooth_slider['width'] - 44);} else {echo ($smooth_slider['width'] - 24);} ?>px;height:<?php if ($smooth_slider['goto_slide'] == "1"){$nav_size = $smooth_slider['content_fsize'];} elseif ($smooth_slider['goto_slide'] == "2"){$nav_size = $smooth_slider['navimg_ht'];} else {$nav_size = 10;} $sldr_title = $smooth_slider['title_text']; if(!empty($sldr_title)) { $extra_height = $smooth_slider['title_fsize'] + $nav_size + 5 + 18; } else { $extra_height = $nav_size + 5 + 5 + 18; } echo ($smooth_slider['height'] - $extra_height); ?>px;}.smooth_slideri{width:<?php if ($smooth_slider['prev_next'] == 1) {echo ($smooth_slider['width'] - 54);} else {echo ($smooth_slider['width'] - 24);} ?>px;height:<?php if ($smooth_slider['goto_slide'] == "1"){$nav_size = $smooth_slider['content_fsize'];} elseif ($smooth_slider['goto_slide'] == "2"){$nav_size = $smooth_slider['navimg_ht'];} else {$nav_size = 10;} $sldr_title = $smooth_slider['title_text']; if(!empty($sldr_title)) { $extra_height = $smooth_slider['title_fsize'] + $nav_size + 5 + 18; } else { $extra_height = $nav_size + 5 + 5 + 18; } echo ($smooth_slider['height'] - $extra_height); ?>px;}.sldr_title{font-family:<?php echo $smooth_slider['title_font']; ?>, Arial, Helvetica, sans-serif;font-size:<?php echo $smooth_slider['title_fsize']; ?>px;font-weight:<?php if ($smooth_slider['title_fstyle'] == "bold" or $smooth_slider['title_fstyle'] == "bold italic" ){echo "bold";} else { echo "normal"; } ?>;font-style:<?php if ($smooth_slider['title_fstyle'] == "italic" or $smooth_slider['title_fstyle'] == "bold italic" ){echo "italic";} else {echo "normal";} ?>;color:<?php echo $smooth_slider['title_fcolor']; ?>;}#smooth_sldr_body h2{line-height:<?php echo ($smooth_slider['ptitle_fsize'] + 3); ?>px;font-family:<?php echo $smooth_slider['ptitle_font']; ?>, Arial, Helvetica, sans-serif;font-size:<?php echo $smooth_slider['ptitle_fsize']; ?>px;font-weight:<?php if ($smooth_slider['ptitle_fstyle'] == "bold" or $smooth_slider['ptitle_fstyle'] == "bold italic" ){echo "bold";} else {echo "normal";} ?>;font-style:<?php if ($smooth_slider['ptitle_fstyle'] == "italic" or $smooth_slider['ptitle_fstyle'] == "bold italic"){echo "italic";} else {echo "normal";} ?>;color:<?php echo $smooth_slider['ptitle_fcolor']; ?>;margin:<?php $sldr_title = $smooth_slider['title_text']; if(!empty($sldr_title)) { echo "10"; } else {echo "0";} ?>px 0 5px 0;}#smooth_sldr_body h2 a{color:<?php echo $smooth_slider['ptitle_fcolor']; ?>;}#smooth_sldr_body span{font-family:<?php echo $smooth_slider['content_font']; ?>, Arial, Helvetica, sans-serif;font-size:<?php echo $smooth_slider['content_fsize']; ?>px;font-weight:<?php if ($smooth_slider['content_fstyle'] == "bold" or $smooth_slider['content_fstyle'] == "bold italic" ){echo "bold";} else {echo "normal";} ?>;font-style:<?php if ($smooth_slider['content_fstyle']=="italic" or $smooth_slider['content_fstyle'] == "bold italic"){echo "italic";} else {echo "normal";} ?>;color:<?php echo $smooth_slider['content_fcolor']; ?>;}.smooth_slider_thumbnail{float:<?php echo $smooth_slider['img_align']; ?>;margin:<?php $sldr_title = $smooth_slider['title_text']; if(!empty($sldr_title)) { echo "10"; } else {echo "0";} ?>px <?php if($smooth_slider['img_align'] == "left") {echo "5";} else {echo "0";} ?>px 0 <?php if($smooth_slider['img_align'] == "right") {echo "5";} else {echo "0";} ?>px;max-height:<?php echo $smooth_slider['img_height']; ?>px;border:<?php echo $smooth_slider['img_border']; ?>px solid <?php echo $smooth_slider['img_brcolor']; ?>;}#smooth_sldr_body p.more a{color:<?php echo $smooth_slider['ptitle_fcolor']; ?>;font-family:<?php echo $smooth_slider['content_font']; ?>, Arial, Helvetica, sans-serif;font-size:<?php echo $smooth_slider['content_fsize']; ?>px;}#smooth_sliderc_nav li{border:1px solid <?php echo $smooth_slider['content_fcolor']; ?>;font-size:<?php echo $smooth_slider['content_fsize']; ?>px;font-family:<?php echo $smooth_slider['content_font']; ?>, Arial, Helvetica, sans-serif;}#smooth_sliderc_nav li a{color:<?php echo $smooth_slider['ptitle_fcolor']; ?>;}.sldrlink{padding-right:<?php if ($smooth_slider['prev_next'] == 1) {echo "40";} else {echo "25";} ?>px;}.sldrlink a{color:<?php echo $smooth_slider['content_fcolor']; ?>;}</style>
1065
  <?php }
1079
  global $post, $smooth_slider, $wp_registered_widgets,$wp_widget_factory;
1080
  if(is_singular()) {
1081
  $slider_style = get_post_meta($post->ID,'slider_style',true);
1082
+ if((is_active_widget(false, false, 'sslider_wid', true) or isset($smooth_slider['shortcode']) ) and (!isset($slider_style) or empty($slider_style))){
1083
  $slider_style='default.css';
1084
  }
1085
+ if (!isset($slider_style) or empty($slider_style) ) {
1086
+ wp_enqueue_style( 'smooth_slider_head_css', smooth_slider_plugin_url( 'css/styles/'.$smooth_slider['stylesheet'] ),
1087
+ false, SMOOTH_SLIDER_VER, 'all');
1088
+ }
1089
+ else {
1090
+ wp_enqueue_style( 'smooth_slider_head_css', smooth_slider_plugin_url( 'css/styles/'.$slider_style ),
1091
+ false, SMOOTH_SLIDER_VER, 'all');
1092
+ }
1093
  }
1094
  else {
1095
  $slider_style = $smooth_slider['stylesheet'];
1148
  <?php $sldr_title = $smooth_slider['title_text']; if(!empty($sldr_title)) { ?><div class="sldr_title"><?php echo $smooth_slider['title_text']; ?></div> <?php } ?>
1149
  <div id="smooth_sliderc">
1150
  <div class="smooth_sliderb">
1151
+ <?php global $smooth_sldr_j; $r_array = carousel_posts_on_slider($smooth_slider['no_posts'], $offset=0, $slider_id, '0'); $smooth_sldr_j = $r_array[0]; echo $r_array[1];?>
1152
  </div>
1153
  </div>
1154
  </div>