Ultimate Responsive Image Slider Plugin - Version 3.1.9

Version Description

Download this release

Release Info

Developer weblizar
Plugin Icon 128x128 Ultimate Responsive Image Slider Plugin
Version 3.1.9
Comparing to
See all releases

Code changes from version 3.1.8 to 3.1.9

css/slider-pro.css CHANGED
@@ -7,7 +7,7 @@
7
/* Core
8
--------------------------------------------------*/
9
/* Plugin Name: Ultimate Responsive Image Slider
10
- * Version: 3.1.7
11
*/
12
13
.slider-pro {
7
/* Core
8
--------------------------------------------------*/
9
/* Plugin Name: Ultimate Responsive Image Slider
10
+ * Version: 3.1.9
11
*/
12
13
.slider-pro {
our_product.php CHANGED
@@ -116,7 +116,15 @@
116
<a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/responsive-gallery-with-lightbox/" target="_new" title="Download Plugin"><i class="fas fa-download"></i></a>
117
<a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/responsive-photo-gallery-pro/" target="_new" title="Plugin Details"><i class="fas fa-info"></i></a>
118
<a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/responsive-photo-gallery-pro/" target="_new" title="Plugin Demo"><i class="fas fa-eye"></i></a>
119
- </div>
120
</div>
121
122
<!-- Themes -->
@@ -231,7 +239,14 @@
231
<a class="btn btn-secondary btn-sm" href="https://weblizar.com/best-free-wordpress-themes/" target="_new" title="Download Theme"><i class="fas fa-download"></i></a>
232
<a class="btn btn-secondary btn-sm" href="https://weblizar.com/themes/weblizar-premium-theme/" target="_new" title="Theme Details"><i class="fas fa-info"></i></a>
233
<a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/preview/#weblizar" target="_new" title="Theme Demo"><i class="fas fa-eye"></i></a>
234
- </div>
235
</div>
236
237
<!-- footer -->
116
<a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/responsive-gallery-with-lightbox/" target="_new" title="Download Plugin"><i class="fas fa-download"></i></a>
117
<a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/responsive-photo-gallery-pro/" target="_new" title="Plugin Details"><i class="fas fa-info"></i></a>
118
<a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/responsive-photo-gallery-pro/" target="_new" title="Plugin Demo"><i class="fas fa-eye"></i></a>
119
+ </div>
120
+ <div class="col products col-sm-6 col-md-4 p-3">
121
+ <h4>Clock in Portal</h4>
122
+ <p class="icon-size"><i class="far fa-clock"></i></p>
123
+ <a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/clock-in-portal/" target="_new" title="Download Plugin"><i class="fas fa-download"></i></a>
124
+ <a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/clockin-pro-plugin/" target="_new" title="Plugin Details"><i class="fas fa-info"></i></a>
125
+ <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/clockin-pro-admin/wp-login.php?redirect_to=http%3A%2F%2Fdemo.weblizar.com%2Fclockin-pro-admin%2Fwp-admin%2F&reauth=1" target="_new" title="Admin Demo"><i class="fas fa-eye"></i></a>
126
+ <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/clockin-pro-admin/wp-login.php?redirect_to=http%3A%2F%2Fdemo.weblizar.com%2Fclockin-pro-admin%2Fwp-admin%2F&reauth=1" target="_new" title="Staff Demo"><i class="fas fa-eye"></i></a>
127
+ </div>
128
</div>
129
130
<!-- Themes -->
239
<a class="btn btn-secondary btn-sm" href="https://weblizar.com/best-free-wordpress-themes/" target="_new" title="Download Theme"><i class="fas fa-download"></i></a>
240
<a class="btn btn-secondary btn-sm" href="https://weblizar.com/themes/weblizar-premium-theme/" target="_new" title="Theme Details"><i class="fas fa-info"></i></a>
241
<a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/preview/#weblizar" target="_new" title="Theme Demo"><i class="fas fa-eye"></i></a>
242
+ </div>
243
+ <div class="col products col-sm-6 col-md-4 p-3">
244
+ <h4>Love Wedding Premium</h4>
245
+ <p class="icon-size"><i class="fas fa-heart"></i></p>
246
+ <a class="btn btn-secondary btn-sm" href="https://weblizar.com/best-free-wordpress-themes/" target="_new" title="Download Theme"><i class="fas fa-download"></i></a>
247
+ <a class="btn btn-secondary btn-sm" href="https://weblizar.com/themes/love-wedding-premium-theme/" target="_new" title="Theme Details"><i class="fas fa-info"></i></a>
248
+ <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/love-wedding/" target="_new" title="Theme Demo"><i class="fas fa-eye"></i></a>
249
+ </div>
250
</div>
251
252
<!-- footer -->
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.weblizar.com/
4
Tags: slider, best slider plugin, image slide show, responsive slider, wordpress image slider plugin
5
Requires at least: 3.8
6
Tested up to: 4.9.6
7
- Stable tag: 3.1.8
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
@@ -195,6 +195,9 @@ Please use WordPress [support forum](http://wordpress.org/support/plugin/ultimat
195
196
For more information, see Weblizar(https://weblizar.com/)
197
198
= V 3.1.8 - minor bug fix
199
= V 3.1.7
200
- Add Back to top link at setting page
4
Tags: slider, best slider plugin, image slide show, responsive slider, wordpress image slider plugin
5
Requires at least: 3.8
6
Tested up to: 4.9.6
7
+ Stable tag: 3.1.9
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
195
196
For more information, see Weblizar(https://weblizar.com/)
197
198
+ = V 3.1.9 =
199
+ - If no slide found in slider show alert message at frontend
200
+ - Add new products in our product page
201
= V 3.1.8 - minor bug fix
202
= V 3.1.7
203
- Add Back to top link at setting page
ultimate-responsive-image-slider-settings-meta-box.php CHANGED
@@ -5,7 +5,7 @@
5
$PostId = $post->ID;
6
$WRIS_Gallery_Settings_Key = "WRIS_Gallery_Settings_".$PostId;
7
$WRIS_Gallery_Settings = unserialize(get_post_meta( $PostId, $WRIS_Gallery_Settings_Key, true));
8
- if($WRIS_Gallery_Settings['WRIS_L3_Slider_Width'] && $WRIS_Gallery_Settings['WRIS_L3_Slider_Height']) {
9
10
if(isset($WRIS_Gallery_Settings['WRIS_L3_Slider_Scale_Mode']))
11
$WRIS_L3_Slider_Scale_Mode = $WRIS_Gallery_Settings['WRIS_L3_Slider_Scale_Mode'];
@@ -156,7 +156,7 @@ if($WRIS_Gallery_Settings['WRIS_L3_Slider_Width'] && $WRIS_Gallery_Settings['WRI
156
$WRIS_L3_Navigation_Pointer_Color = $WRIS_Gallery_Settings['WRIS_L3_Navigation_Pointer_Color'];
157
else
158
$WRIS_L3_Navigation_Pointer_Color = "#000000";
159
- }
160
?>
161
<script type="text/javascript">
162
jQuery(document).ready(function(){
5
$PostId = $post->ID;
6
$WRIS_Gallery_Settings_Key = "WRIS_Gallery_Settings_".$PostId;
7
$WRIS_Gallery_Settings = unserialize(get_post_meta( $PostId, $WRIS_Gallery_Settings_Key, true));
8
+
9
10
if(isset($WRIS_Gallery_Settings['WRIS_L3_Slider_Scale_Mode']))
11
$WRIS_L3_Slider_Scale_Mode = $WRIS_Gallery_Settings['WRIS_L3_Slider_Scale_Mode'];
156
$WRIS_L3_Navigation_Pointer_Color = $WRIS_Gallery_Settings['WRIS_L3_Navigation_Pointer_Color'];
157
else
158
$WRIS_L3_Navigation_Pointer_Color = "#000000";
159
+
160
?>
161
<script type="text/javascript">
162
jQuery(document).ready(function(){
ultimate-responsive-image-slider-short-code.php CHANGED
@@ -6,6 +6,7 @@ function ResponsiveWWRISroShortCode( $Id ) {
6
// slider js css scripts
7
wp_enqueue_script('ris-jquery-sliderPro-js', WRIS_PLUGIN_URL.'js/jquery.sliderPro.js', array('jquery'), '1.4.0', true);
8
wp_enqueue_style('ris-slider-css', WRIS_PLUGIN_URL.'css/slider-pro.css');
9
10
/**
11
* Load Saved Responsive Image Slider Settings
6
// slider js css scripts
7
wp_enqueue_script('ris-jquery-sliderPro-js', WRIS_PLUGIN_URL.'js/jquery.sliderPro.js', array('jquery'), '1.4.0', true);
8
wp_enqueue_style('ris-slider-css', WRIS_PLUGIN_URL.'css/slider-pro.css');
9
+ wp_enqueue_style('uris-font-awesome-5.0.8', WRIS_PLUGIN_URL.'css/font-awesome-latest/css/fontawesome-all.min.css');
10
11
/**
12
* Load Saved Responsive Image Slider Settings
ultimate-responsive-image-slider.php CHANGED
@@ -1,10 +1,10 @@
1
<?php
2
/*
3
* Plugin Name: Ultimate Responsive Image Slider
4
- * Version: 3.1.8
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/
8
* Plugin URI: https://weblizar.com/plugins/ultimate-responsive-image-slider-pro/
9
*/
10
1
<?php
2
/*
3
* Plugin Name: Ultimate Responsive Image Slider
4
+ * Version: 3.1.9
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/
8
* Plugin URI: https://weblizar.com/plugins/ultimate-responsive-image-slider-pro/
9
*/
10
uris-layout.php CHANGED
@@ -207,116 +207,130 @@ jQuery( document ).ready(function() {
207
display: none;
208
}
209
}
210
/* Custom CSS */
211
<?php echo $WRIS_L3_Custom_CSS; ?>
212
</style>
213
<?php if($WRIS_L3_Slide_Title) { ?>
214
<h3 class="uris-slider-title uris-title"><?php echo get_the_title( $post_id ); ?></h3>
215
- <?php } ?>
216
- <div id="example3_<?php echo $post_id; ?>" class="slider-pro">
217
- <!---- slides div start ---->
218
- <div class="sp-slides">
219
- <?php
220
- foreach($RPGP_AllPhotosDetails as $RPGP_SinglePhotoDetails) {
221
- $Title = $RPGP_SinglePhotoDetails['rpgp_image_label'];
222
- $Desc = $RPGP_SinglePhotoDetails['rpgp_image_desc'];
223
- $Url = $RPGP_SinglePhotoDetails['rpgp_image_url'];
224
- $i++;
225
- if($Title == "") {
226
- // if slide title blank then
227
- global $wpdb;
228
- $post_table_name = $wpdb->prefix. "posts";
229
- if(count($attachment = $wpdb->get_col($wpdb->prepare("SELECT `post_title` FROM `$post_table_name` WHERE `guid` LIKE '%s'", $Url)))) {
230
- // attachment title as alt
231
- $slide_alt = $attachment[0];
232
- if(empty($attachment[0])) {
233
- // post title as alt
234
- $slide_alt = get_the_title( $post_id );
235
- }
236
- }
237
- } else {
238
- // slide title as alt
239
- $slide_alt = $Title;
240
- }
241
- ?>
242
- <div class="sp-slide">
243
- <img class="sp-image" alt="<?php echo esc_attr($slide_alt); ?>" src="<?php echo WRIS_PLUGIN_URL; ?>css/images/blank.gif" data-src="<?php echo esc_url($Url); ?>" />
244
-
245
- <?php if($Title != "") { ?>
246
- <p class="sp-layer sp-white sp-padding title-in title-in-bg hide-small-screen"
247
- data-position="centerCenter"
248
- data-vertical="-14%"
249
- data-show-transition="left" data-show-delay="500">
250
- <?php // set slide title as a custom title
251
- if($WRIS_L3_Set_slide_Title==0){
252
- if(strlen($Title) > 100 ) echo substr($Title,0,100); else echo esc_html( $Title );
253
- }else{ // set slide title as a file title
254
- global $wpdb;
255
- $post_table_name = $wpdb->prefix. "posts";
256
- if(count($attachment = $wpdb->get_col($wpdb->prepare("SELECT `post_title` FROM `$post_table_name` WHERE `guid` LIKE '%s'", $Url)))) {
257
- // attachment title as slide title
258
- echo $Title = $attachment[0];
259
- if(empty($attachment[0])) {
260
- // post title as slide title
261
- echo $Title = get_the_title( $post_id );
262
- }
263
- }
264
- }
265
- ?>
266
- </p>
267
- <?php }
268
- ?>
269
-
270
- <?php if($Title == "" && $WRIS_L3_Set_slide_Title==1 ) { ?>
271
- <p class="sp-layer sp-white sp-padding title-in title-in-bg hide-small-screen"
272
- data-position="centerCenter"
273
- data-vertical="-14%"
274
- data-show-transition="left" data-show-delay="500">
275
- <?php // set slide title as a custom title
276
- if($WRIS_L3_Set_slide_Title==1){
277
global $wpdb;
278
$post_table_name = $wpdb->prefix. "posts";
279
if(count($attachment = $wpdb->get_col($wpdb->prepare("SELECT `post_title` FROM `$post_table_name` WHERE `guid` LIKE '%s'", $Url)))) {
280
- // attachment title as slide title
281
- echo $Title = $attachment[0];
282
- if(empty($attachment[0])) {
283
- // post title as slide title
284
- echo $Title = get_the_title( $post_id );
285
}
286
}
287
- }
288
-
289
- ?>
290
- </p>
291
- <?php }
292
- ?>
293
294
- <?php if($Desc != "") { ?>
295
- <p class="sp-layer sp-black sp-padding desc-in desc-in-bg hide-medium-screen"
296
- data-position="centerCenter"
297
- data-vertical="14%"
298
- data-show-transition="right" data-show-delay="500">
299
- <?php if(strlen($Desc) > 300 ) echo substr($Desc,0,300)."..."; else echo $Desc; ?>
300
- </p>
301
<?php } ?>
302
</div>
303
- <?php } //end for each ?>
304
- </div>
305
-
306
- <!---- slides div end ---->
307
- <?php
308
- if($WRIS_L3_Slider_Navigation == 1) {
309
- ?>
310
- <!-- slides thumbnails div start -->
311
- <div class="sp-thumbnails">
312
- <?php
313
- foreach($RPGP_AllPhotosDetails as $RPGP_SinglePhotoDetails) {
314
- $ThumbUrl = $RPGP_SinglePhotoDetails['rpggallery_admin_thumb'];
315
- $j++; ?>
316
- <img class="sp-thumbnail" src="<?php echo WRIS_PLUGIN_URL; ?>img/loading.gif" data-src="<?php echo esc_url($ThumbUrl); ?>"/>
317
- <?php } ?>
318
- </div>
319
- <?php } ?>
320
- <!-- slides thumbnails div end -->
321
- </div>
322
- <?php endwhile; ?>
207
display: none;
208
}
209
}
210
+ .fnf{
211
+ background-color: #a92929;
212
+ border-radius: 5px;
213
+ color: #fff;
214
+ font-family: initial;
215
+ text-align: center;
216
+ padding:12px;
217
+ }
218
/* Custom CSS */
219
<?php echo $WRIS_L3_Custom_CSS; ?>
220
</style>
221
<?php if($WRIS_L3_Slide_Title) { ?>
222
<h3 class="uris-slider-title uris-title"><?php echo get_the_title( $post_id ); ?></h3>
223
+ <?php }
224
+ if($TotalImages>0){
225
+ ?>
226
+ <div id="example3_<?php echo $post_id; ?>" class="slider-pro">
227
+ <!---- slides div start ---->
228
+ <div class="sp-slides">
229
+ <?php
230
+ if(is_array($RPGP_AllPhotosDetails)){
231
+ foreach($RPGP_AllPhotosDetails as $RPGP_SinglePhotoDetails) {
232
+ $Title = $RPGP_SinglePhotoDetails['rpgp_image_label'];
233
+ $Desc = $RPGP_SinglePhotoDetails['rpgp_image_desc'];
234
+ $Url = $RPGP_SinglePhotoDetails['rpgp_image_url'];
235
+ $i++;
236
+ if($Title == "") {
237
+ // if slide title blank then
238
global $wpdb;
239
$post_table_name = $wpdb->prefix. "posts";
240
if(count($attachment = $wpdb->get_col($wpdb->prepare("SELECT `post_title` FROM `$post_table_name` WHERE `guid` LIKE '%s'", $Url)))) {
241
+ // attachment title as alt
242
+ $slide_alt = $attachment[0];
243
+ if(empty($attachment[0])) {
244
+ // post title as alt
245
+ $slide_alt = get_the_title( $post_id );
246
+ }
247
}
248
+ } else {
249
+ // slide title as alt
250
+ $slide_alt = $Title;
251
}
252
+ ?>
253
+ <div class="sp-slide">
254
+ <img class="sp-image" alt="<?php echo esc_attr($slide_alt); ?>" src="<?php echo WRIS_PLUGIN_URL; ?>css/images/blank.gif" data-src="<?php echo esc_url($Url); ?>" />
255
+
256
+ <?php if($Title != "") { ?>
257
+ <p class="sp-layer sp-white sp-padding title-in title-in-bg hide-small-screen"
258
+ data-position="centerCenter"
259
+ data-vertical="-14%"
260
+ data-show-transition="left" data-show-delay="500">
261
+ <?php // set slide title as a custom title
262
+ if($WRIS_L3_Set_slide_Title==0){
263
+ if(strlen($Title) > 100 ) echo substr($Title,0,100); else echo esc_html( $Title );
264
+ }else{ // set slide title as a file title
265
+ global $wpdb;
266
+ $post_table_name = $wpdb->prefix. "posts";
267
+ if(count($attachment = $wpdb->get_col($wpdb->prepare("SELECT `post_title` FROM `$post_table_name` WHERE `guid` LIKE '%s'", $Url)))) {
268
+ // attachment title as slide title
269
+ echo $Title = $attachment[0];
270
+ if(empty($attachment[0])) {
271
+ // post title as slide title
272
+ echo $Title = get_the_title( $post_id );
273
+ }
274
+ }
275
+ }
276
+ ?>
277
+ </p>
278
+ <?php }
279
+ ?>
280
281
+ <?php if($Title == "" && $WRIS_L3_Set_slide_Title==1 ) { ?>
282
+ <p class="sp-layer sp-white sp-padding title-in title-in-bg hide-small-screen"
283
+ data-position="centerCenter"
284
+ data-vertical="-14%"
285
+ data-show-transition="left" data-show-delay="500">
286
+ <?php // set slide title as a custom title
287
+ if($WRIS_L3_Set_slide_Title==1){
288
+ global $wpdb;
289
+ $post_table_name = $wpdb->prefix. "posts";
290
+ if(count($attachment = $wpdb->get_col($wpdb->prepare("SELECT `post_title` FROM `$post_table_name` WHERE `guid` LIKE '%s'", $Url)))) {
291
+ // attachment title as slide title
292
+ echo $Title = $attachment[0];
293
+ if(empty($attachment[0])) {
294
+ // post title as slide title
295
+ echo $Title = get_the_title( $post_id );
296
+ }
297
+ }
298
+ }
299
+
300
+ ?>
301
+ </p>
302
+ <?php }
303
+ ?>
304
+
305
+ <?php if($Desc != "") { ?>
306
+ <p class="sp-layer sp-black sp-padding desc-in desc-in-bg hide-medium-screen"
307
+ data-position="centerCenter"
308
+ data-vertical="14%"
309
+ data-show-transition="right" data-show-delay="500">
310
+ <?php if(strlen($Desc) > 300 ) echo substr($Desc,0,300)."..."; else echo $Desc; ?>
311
+ </p>
312
+ <?php } ?>
313
+ </div>
314
+ <?php } //end for each
315
+ }//end of is_array ?>
316
+ </div>
317
+
318
+ <!---- slides div end ---->
319
+ <?php
320
+ if($WRIS_L3_Slider_Navigation == 1) {
321
+ ?>
322
+ <!-- slides thumbnails div start -->
323
+ <div class="sp-thumbnails">
324
+ <?php
325
+ if(is_array($RPGP_AllPhotosDetails)){
326
+ foreach($RPGP_AllPhotosDetails as $RPGP_SinglePhotoDetails) {
327
+ $ThumbUrl = $RPGP_SinglePhotoDetails['rpggallery_admin_thumb'];
328
+ $j++; ?>
329
+ <img class="sp-thumbnail" src="<?php echo WRIS_PLUGIN_URL; ?>img/loading.gif" data-src="<?php echo esc_url($ThumbUrl); ?>"/>
330
+ <?php } // end of foreach
331
+ }// end of is_array ?>
332
+ </div>
333
<?php } ?>
334
+ <!-- slides thumbnails div end -->
335
</div>
336
+ <?php } else { ?> <div class="fnf"><i class="far fa-times-circle"></i> No Slide Found In Slider.</div> <?php } endwhile; ?>