Version Description
Download this release
Release Info
Developer | weblizar |
Plugin | Ultimate Responsive Image Slider Plugin |
Version | 3.0.4 |
Comparing to | |
See all releases |
Code changes from version 3.0.3 to 3.0.4
- readme.txt +2 -1
- ultimate-responsive-image-slider-short-code.php +2 -2
- ultimate-responsive-image-slider.php +1 -1
- uris-layout.php +21 -7
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.weblizar.com/
|
|
4 |
Tags: slider, slider plugin, best slider plugin, image slide show, responsive slider, image slider, wordpress slider, slider widget, responsive image slider, theme slider, post slider, page slider, free slider plugin
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.8
|
7 |
-
Stable tag: 3.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -154,6 +154,7 @@ Please use WordPress [support forum](http://wordpress.org/support/plugin/ultimat
|
|
154 |
|
155 |
For more information, see Weblizar(http://wwww.weblizar.com/).
|
156 |
|
|
|
157 |
V 3.0.3 - version update + compatible upto wp 4.8
|
158 |
V 3.0.2 - compatible upto wp 4.7.5
|
159 |
V 3.0.1 - pre-loader removed due many user facing issues with it
|
4 |
Tags: slider, slider plugin, best slider plugin, image slide show, responsive slider, image slider, wordpress slider, slider widget, responsive image slider, theme slider, post slider, page slider, free slider plugin
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.8
|
7 |
+
Stable tag: 3.0.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
154 |
|
155 |
For more information, see Weblizar(http://wwww.weblizar.com/).
|
156 |
|
157 |
+
V 3.0.4 - Slide image blank alt text fixed
|
158 |
V 3.0.3 - version update + compatible upto wp 4.8
|
159 |
V 3.0.2 - compatible upto wp 4.7.5
|
160 |
V 3.0.1 - pre-loader removed due many user facing issues with it
|
ultimate-responsive-image-slider-short-code.php
CHANGED
@@ -73,7 +73,7 @@ function ResponsiveWWRISroShortCode( $Id ) {
|
|
73 |
if(isset($WRIS_Gallery_Settings['WRIS_L3_Thumbnail_Height']))
|
74 |
$WRIS_L3_Thumbnail_Height = $WRIS_Gallery_Settings['WRIS_L3_Thumbnail_Height'];
|
75 |
else
|
76 |
-
$WRIS_L3_Thumbnail_Height =
|
77 |
|
78 |
if(isset($WRIS_Gallery_Settings['WRIS_L3_Navigation_Button']))
|
79 |
$WRIS_L3_Navigation_Button = $WRIS_Gallery_Settings['WRIS_L3_Navigation_Button'];
|
@@ -148,7 +148,7 @@ function ResponsiveWWRISroShortCode( $Id ) {
|
|
148 |
if(isset($WRIS_Gallery_Settings['WRIS_L3_Custom_CSS']))
|
149 |
$WRIS_L3_Custom_CSS = $WRIS_Gallery_Settings['WRIS_L3_Custom_CSS'];
|
150 |
else
|
151 |
-
$WRIS_L3_Custom_CSS = "";
|
152 |
}
|
153 |
}
|
154 |
|
73 |
if(isset($WRIS_Gallery_Settings['WRIS_L3_Thumbnail_Height']))
|
74 |
$WRIS_L3_Thumbnail_Height = $WRIS_Gallery_Settings['WRIS_L3_Thumbnail_Height'];
|
75 |
else
|
76 |
+
$WRIS_L3_Thumbnail_Height = 120;
|
77 |
|
78 |
if(isset($WRIS_Gallery_Settings['WRIS_L3_Navigation_Button']))
|
79 |
$WRIS_L3_Navigation_Button = $WRIS_Gallery_Settings['WRIS_L3_Navigation_Button'];
|
148 |
if(isset($WRIS_Gallery_Settings['WRIS_L3_Custom_CSS']))
|
149 |
$WRIS_L3_Custom_CSS = $WRIS_Gallery_Settings['WRIS_L3_Custom_CSS'];
|
150 |
else
|
151 |
+
$WRIS_L3_Custom_CSS = "";
|
152 |
}
|
153 |
}
|
154 |
|
ultimate-responsive-image-slider.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Ultimate Responsive Image Slider
|
4 |
-
* Version: 3.0.
|
5 |
* Description: Add unlimited image slides using Ultimate Responsive Image Slider in any Page and Post content to give an attractive mode to represent contents.
|
6 |
* Author: Weblizar
|
7 |
* Author URI: https://weblizar.com/plugins/ultimate-responsive-image-slider-pro/
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Ultimate Responsive Image Slider
|
4 |
+
* Version: 3.0.4
|
5 |
* Description: Add unlimited image slides using Ultimate Responsive Image Slider in any Page and Post content to give an attractive mode to represent contents.
|
6 |
* Author: Weblizar
|
7 |
* Author URI: https://weblizar.com/plugins/ultimate-responsive-image-slider-pro/
|
uris-layout.php
CHANGED
@@ -208,8 +208,8 @@ $j = 1;
|
|
208 |
/* Custom CSS */
|
209 |
<?php echo $WRIS_L3_Custom_CSS; ?>
|
210 |
</style>
|
211 |
-
<?php if($WRIS_L3_Slide_Title
|
212 |
-
<h3 class="uris-slider-title"><?php echo get_the_title( $post_id );
|
213 |
<?php } ?>
|
214 |
<div id="example3_<?php echo $post_id; ?>" class="slider-pro">
|
215 |
<!---- slides div start ---->
|
@@ -220,9 +220,24 @@ $j = 1;
|
|
220 |
$Desc = $RPGP_SinglePhotoDetails['rpgp_image_desc'];
|
221 |
$Url = $RPGP_SinglePhotoDetails['rpgp_image_url'];
|
222 |
$i++;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
223 |
?>
|
224 |
<div class="sp-slide">
|
225 |
-
<img class="sp-image" alt="<?php echo
|
226 |
data-src="<?php echo esc_url($Url); ?>"
|
227 |
data-small="<?php echo esc_url($Url); ?>"
|
228 |
data-medium="<?php echo esc_url($Url); ?>"
|
@@ -234,7 +249,7 @@ $j = 1;
|
|
234 |
data-position="centerCenter"
|
235 |
data-vertical="-14%"
|
236 |
data-show-transition="left" data-show-delay="500">
|
237 |
-
<?php if(strlen(
|
238 |
</p>
|
239 |
<?php } ?>
|
240 |
|
@@ -243,7 +258,7 @@ $j = 1;
|
|
243 |
data-position="centerCenter"
|
244 |
data-vertical="14%"
|
245 |
data-show-transition="right" data-show-delay="500">
|
246 |
-
<?php if(strlen(
|
247 |
</p>
|
248 |
<?php } ?>
|
249 |
</div>
|
@@ -265,7 +280,6 @@ $j = 1;
|
|
265 |
<?php } ?>
|
266 |
</div>
|
267 |
<?php } ?>
|
268 |
-
<!-- slides thumbnails div end -->
|
269 |
-
|
270 |
</div>
|
271 |
<?php endwhile; ?>
|
208 |
/* Custom CSS */
|
209 |
<?php echo $WRIS_L3_Custom_CSS; ?>
|
210 |
</style>
|
211 |
+
<?php if($WRIS_L3_Slide_Title) { ?>
|
212 |
+
<h3 class="uris-slider-title"><?php echo get_the_title( $post_id ); ?></h3>
|
213 |
<?php } ?>
|
214 |
<div id="example3_<?php echo $post_id; ?>" class="slider-pro">
|
215 |
<!---- slides div start ---->
|
220 |
$Desc = $RPGP_SinglePhotoDetails['rpgp_image_desc'];
|
221 |
$Url = $RPGP_SinglePhotoDetails['rpgp_image_url'];
|
222 |
$i++;
|
223 |
+
if($Title == "") {
|
224 |
+
// if slide title blank then
|
225 |
+
global $wpdb;
|
226 |
+
$post_table_prefix = $wpdb->prefix. "posts";
|
227 |
+
if(count($attachment = $wpdb->get_col($wpdb->prepare("SELECT `post_title` FROM `$post_table_prefix` WHERE `guid` LIKE '%s'", $Url)))) {
|
228 |
+
// attachment title as alt
|
229 |
+
$slide_alt = $attachment[0];
|
230 |
+
} else {
|
231 |
+
// post title as alt
|
232 |
+
$slide_alt = get_the_title( $post_id );
|
233 |
+
}
|
234 |
+
} else {
|
235 |
+
// slide title as alt
|
236 |
+
$slide_alt = $Title;
|
237 |
+
}
|
238 |
?>
|
239 |
<div class="sp-slide">
|
240 |
+
<img class="sp-image" alt="<?php echo esc_attr($slide_alt); ?>" src=""
|
241 |
data-src="<?php echo esc_url($Url); ?>"
|
242 |
data-small="<?php echo esc_url($Url); ?>"
|
243 |
data-medium="<?php echo esc_url($Url); ?>"
|
249 |
data-position="centerCenter"
|
250 |
data-vertical="-14%"
|
251 |
data-show-transition="left" data-show-delay="500">
|
252 |
+
<?php if(strlen($Title) > 100 ) echo substr($Title,0,100); else echo esc_html( $Title ); ?>
|
253 |
</p>
|
254 |
<?php } ?>
|
255 |
|
258 |
data-position="centerCenter"
|
259 |
data-vertical="14%"
|
260 |
data-show-transition="right" data-show-delay="500">
|
261 |
+
<?php if(strlen($Desc) > 300 ) echo substr($Desc,0,300)."..."; else echo esc_html($Desc); ?>
|
262 |
</p>
|
263 |
<?php } ?>
|
264 |
</div>
|
280 |
<?php } ?>
|
281 |
</div>
|
282 |
<?php } ?>
|
283 |
+
<!-- slides thumbnails div end -->
|
|
|
284 |
</div>
|
285 |
<?php endwhile; ?>
|