Ultimate Responsive Image Slider Plugin - Version 3.1.2

Version Description

Download this release

Release Info

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

Code changes from version 3.1.1 to 3.1.2

css/slider-pro.css CHANGED
@@ -822,4 +822,10 @@ a.sp-video:after {
822
 
823
  .slider-pro img.sp-layer {
824
  border: none;
 
 
 
 
 
 
825
  }
822
 
823
  .slider-pro img.sp-layer {
824
  border: none;
825
+ }
826
+
827
+ .sp-full-screen-button{
828
+ padding: 5px !important;
829
+ top: 15px !important;
830
+ right: 15px !important;
831
  }
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: weblizar
3
  Donate link: http://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.8.3
7
- Stable tag: 3.1.1
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.1.1 - Slide scaling bug fixed + Full screen button position fixed
158
  V 3.1.0 - Multiple Delete Bug Fixed
159
  V 3.0.9 - Wooocommerce Conflict issue fixed + compatible upto wp 4.8.3
3
  Donate link: http://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
7
+ Stable tag: 3.1.2
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.1.2 - New settings: Slide Scale Mode(none,exact,contain,cover) Slide Auto Scale(on/off), Color Picker For All Color Settings + compatible upto wp 4.9
158
  V 3.1.1 - Slide scaling bug fixed + Full screen button position fixed
159
  V 3.1.0 - Multiple Delete Bug Fixed
160
  V 3.0.9 - Wooocommerce Conflict issue fixed + compatible upto wp 4.8.3
ultimate-responsive-image-slider-settings-meta-box.php CHANGED
@@ -6,6 +6,18 @@ $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
  if(isset($WRIS_Gallery_Settings['WRIS_L3_Slide_Title']))
10
  $WRIS_L3_Slide_Title = $WRIS_Gallery_Settings['WRIS_L3_Slide_Title'];
11
  else
@@ -346,6 +358,36 @@ if($WRIS_Gallery_Settings['WRIS_L3_Slider_Width'] && $WRIS_Gallery_Settings['WRI
346
  </td>
347
  </tr>
348
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
349
  <tr>
350
  <th scope="row"><label><?php _e("Font Style", WRIS_TEXT_DOMAIN); ?></label></th>
351
  <td>
@@ -379,10 +421,7 @@ if($WRIS_Gallery_Settings['WRIS_L3_Slider_Width'] && $WRIS_Gallery_Settings['WRI
379
  <th scope="row"><label><?php _e('Slide Title Color', WRIS_TEXT_DOMAIN); ?></label></th>
380
  <td>
381
  <?php if(!isset($WRIS_L3_Title_Color)) $WRIS_L3_Title_Color = "#000000"; ?>
382
- <input type="radio" name="wl-l3-title-color" id="wl-l3-title-color" value="#F8504B" <?php if($WRIS_L3_Title_Color == "#F8504B" ) { echo "checked"; } ?>> <?php _e('Red', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
383
- <input type="radio" name="wl-l3-title-color" id="wl-l3-title-color" value="#31a3dd" <?php if($WRIS_L3_Title_Color == "#31a3dd" ) { echo "checked"; } ?>> <?php _e('Blue', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
384
- <input type="radio" name="wl-l3-title-color" id="wl-l3-title-color" value="#000000" <?php if($WRIS_L3_Title_Color == "#000000" ) { echo "checked"; } ?>> <?php _e('Black', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
385
- <input type="radio" name="wl-l3-title-color" id="wl-l3-title-color" value="#FFFFFF" <?php if($WRIS_L3_Title_Color == "#FFFFFF" ) { echo "checked"; } ?>> <?php _e('White', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
386
  <p class="description">
387
  <?php _e('Select a color to set slide title color', WRIS_TEXT_DOMAIN); ?>.
388
  <a href="#" id="p7" data-tooltip="#s7"><?php _e('Preview', WRIS_TEXT_DOMAIN); ?></a>
@@ -394,10 +433,7 @@ if($WRIS_Gallery_Settings['WRIS_L3_Slider_Width'] && $WRIS_Gallery_Settings['WRI
394
  <th scope="row"><label><?php _e('Slide Title Background Color', WRIS_TEXT_DOMAIN); ?></label></th>
395
  <td>
396
  <?php if(!isset($WRIS_L3_Title_BgColor)) $WRIS_L3_Title_BgColor = "#FFFFFF"; ?>
397
- <input type="radio" name="wl-l3-title-bgcolor" id="wl-l3-title-bgcolor" value="#F8504B" <?php if($WRIS_L3_Title_BgColor == "#F8504B" ) { echo "checked"; } ?>> <?php _e('Red', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
398
- <input type="radio" name="wl-l3-title-bgcolor" id="wl-l3-title-bgcolor" value="#31a3dd" <?php if($WRIS_L3_Title_BgColor == "#31a3dd" ) { echo "checked"; } ?>> <?php _e('Blue', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
399
- <input type="radio" name="wl-l3-title-bgcolor" id="wl-l3-title-bgcolor" value="#000000" <?php if($WRIS_L3_Title_BgColor == "#000000" ) { echo "checked"; } ?>> <?php _e('Black', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
400
- <input type="radio" name="wl-l3-title-bgcolor" id="wl-l3-title-bgcolor" value="#FFFFFF" <?php if($WRIS_L3_Title_BgColor == "#FFFFFF" ) { echo "checked"; } ?>> <?php _e('White', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
401
  <p class="description">
402
  <?php _e('Select a color to set slide title background color', WRIS_TEXT_DOMAIN); ?>.
403
  <a href="#" id="p8" data-tooltip="#s8"><?php _e('Preview', WRIS_TEXT_DOMAIN); ?></a>
@@ -409,10 +445,7 @@ if($WRIS_Gallery_Settings['WRIS_L3_Slider_Width'] && $WRIS_Gallery_Settings['WRI
409
  <th scope="row"><label><?php _e('Slide Description Color', WRIS_TEXT_DOMAIN); ?></label></th>
410
  <td>
411
  <?php if(!isset($WRIS_L3_Desc_Color)) $WRIS_L3_Desc_Color = "#FFFFFF"; ?>
412
- <input type="radio" name="wl-l3-desc-color" id="wl-l3-desc-color" value="#F8504B" <?php if($WRIS_L3_Desc_Color == "#F8504B" ) { echo "checked"; } ?>> <?php _e('Red', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
413
- <input type="radio" name="wl-l3-desc-color" id="wl-l3-desc-color" value="#31a3dd" <?php if($WRIS_L3_Desc_Color == "#31a3dd" ) { echo "checked"; } ?>> <?php _e('Blue', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
414
- <input type="radio" name="wl-l3-desc-color" id="wl-l3-desc-color" value="#000000" <?php if($WRIS_L3_Desc_Color == "#000000" ) { echo "checked"; } ?>> <?php _e('Black', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
415
- <input type="radio" name="wl-l3-desc-color" id="wl-l3-desc-color" value="#FFFFFF" <?php if($WRIS_L3_Desc_Color == "#FFFFFF" ) { echo "checked"; } ?>> <?php _e('White', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
416
  <p class="description">
417
  <?php _e('Select a color to set slide description color', WRIS_TEXT_DOMAIN); ?>.
418
  <a href="#" id="p9" data-tooltip="#s9"><?php _e('Preview', WRIS_TEXT_DOMAIN); ?></a>
@@ -424,10 +457,7 @@ if($WRIS_Gallery_Settings['WRIS_L3_Slider_Width'] && $WRIS_Gallery_Settings['WRI
424
  <th scope="row"><label><?php _e('Slide Description Background Color', WRIS_TEXT_DOMAIN); ?></label></th>
425
  <td>
426
  <?php if(!isset($WRIS_L3_Desc_BgColor)) $WRIS_L3_Desc_BgColor = "#000000"; ?>
427
- <input type="radio" name="wl-l3-desc-bgcolor" id="wl-l3-desc-bgcolor" value="#F8504B" <?php if($WRIS_L3_Desc_BgColor == "#F8504B" ) { echo "checked"; } ?>> <?php _e('Red', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
428
- <input type="radio" name="wl-l3-desc-bgcolor" id="wl-l3-desc-bgcolor" value="#31a3dd" <?php if($WRIS_L3_Desc_BgColor == "#31a3dd" ) { echo "checked"; } ?>> <?php _e('Blue', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
429
- <input type="radio" name="wl-l3-desc-bgcolor" id="wl-l3-desc-bgcolor" value="#000000" <?php if($WRIS_L3_Desc_BgColor == "#000000" ) { echo "checked"; } ?>> <?php _e('Black', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
430
- <input type="radio" name="wl-l3-desc-bgcolor" id="wl-l3-desc-bgcolor" value="#FFFFFF" <?php if($WRIS_L3_Desc_BgColor == "#FFFFFF" ) { echo "checked"; } ?>> <?php _e('White', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
431
  <p class="description">
432
  <?php _e('Select a color to set slide description background color', WRIS_TEXT_DOMAIN); ?>.
433
  <a href="#" id="p10" data-tooltip="#s10"><?php _e('Preview', WRIS_TEXT_DOMAIN); ?></a>
@@ -439,10 +469,7 @@ if($WRIS_Gallery_Settings['WRIS_L3_Slider_Width'] && $WRIS_Gallery_Settings['WRI
439
  <th scope="row"><label><?php _e('Navigation Color', WRIS_TEXT_DOMAIN); ?></label></th>
440
  <td>
441
  <?php if(!isset($WRIS_L3_Navigation_Color)) $WRIS_L3_Navigation_Color = "#FFFFFF"; ?>
442
- <input type="radio" name="wl-l3-navigation-color" id="wl-l3-navigation-color" value="#F8504B" <?php if($WRIS_L3_Navigation_Color == "#F8504B" ) { echo "checked"; } ?>> <?php _e('Red', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
443
- <input type="radio" name="wl-l3-navigation-color" id="wl-l3-navigation-color" value="#31a3dd" <?php if($WRIS_L3_Navigation_Color == "#31a3dd" ) { echo "checked"; } ?>> <?php _e('Blue', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
444
- <input type="radio" name="wl-l3-navigation-color" id="wl-l3-navigation-color" value="#000000" <?php if($WRIS_L3_Navigation_Color == "#000000" ) { echo "checked"; } ?>> <?php _e('Black', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
445
- <input type="radio" name="wl-l3-navigation-color" id="wl-l3-navigation-color" value="#FFFFFF" <?php if($WRIS_L3_Navigation_Color == "#FFFFFF" ) { echo "checked"; } ?>> <?php _e('White', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
446
  <p class="description">
447
  <?php _e('Select a color to set navigation arrow and fullscreen icon color', WRIS_TEXT_DOMAIN); ?>.
448
  <a href="#" id="p11" data-tooltip="#s11"><?php _e('Preview', WRIS_TEXT_DOMAIN); ?></a>
@@ -454,10 +481,7 @@ if($WRIS_Gallery_Settings['WRIS_L3_Slider_Width'] && $WRIS_Gallery_Settings['WRI
454
  <th scope="row"><label><?php _e('Navigation Bullets Color', WRIS_TEXT_DOMAIN); ?></label></th>
455
  <td>
456
  <?php if(!isset($WRIS_L3_Navigation_Bullets_Color)) $WRIS_L3_Navigation_Bullets_Color = "#000000"; ?>
457
- <input type="radio" name="wl-l3-navigation-bullets-color" id="wl-l3-navigation-bullets-color" value="#F8504B" <?php if($WRIS_L3_Navigation_Bullets_Color == "#F8504B" ) { echo "checked"; } ?>> <?php _e('Red', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
458
- <input type="radio" name="wl-l3-navigation-bullets-color" id="wl-l3-navigation-bullets-color" value="#31a3dd" <?php if($WRIS_L3_Navigation_Bullets_Color == "#31a3dd" ) { echo "checked"; } ?>> <?php _e('Blue', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
459
- <input type="radio" name="wl-l3-navigation-bullets-color" id="wl-l3-navigation-bullets-color" value="#000000" <?php if($WRIS_L3_Navigation_Bullets_Color == "#000000" ) { echo "checked"; } ?>> <?php _e('Black', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
460
- <input type="radio" name="wl-l3-navigation-bullets-color" id="wl-l3-navigation-bullets-color" value="#FFFFFF" <?php if($WRIS_L3_Navigation_Bullets_Color == "#FFFFFF" ) { echo "checked"; } ?>> <?php _e('White', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
461
  <p class="description">
462
  <?php _e('Select a color to set navigation bullets color', WRIS_TEXT_DOMAIN); ?>.
463
  </p>
@@ -468,10 +492,7 @@ if($WRIS_Gallery_Settings['WRIS_L3_Slider_Width'] && $WRIS_Gallery_Settings['WRI
468
  <th scope="row"><label><?php _e('Navigation Pointer Color', WRIS_TEXT_DOMAIN); ?></label></th>
469
  <td>
470
  <?php if(!isset($WRIS_L3_Navigation_Pointer_Color)) $WRIS_L3_Navigation_Pointer_Color = "#000000"; ?>
471
- <input type="radio" name="wl-l3-navigation-pointer-color" id="wl-l3-navigation-pointer-color" value="#F8504B" <?php if($WRIS_L3_Navigation_Pointer_Color == "#F8504B" ) { echo "checked"; } ?>> <?php _e('Red', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
472
- <input type="radio" name="wl-l3-navigation-pointer-color" id="wl-l3-navigation-pointer-color" value="#31a3dd" <?php if($WRIS_L3_Navigation_Pointer_Color == "#31a3dd" ) { echo "checked"; } ?>> <?php _e('Blue', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
473
- <input type="radio" name="wl-l3-navigation-pointer-color" id="wl-l3-navigation-pointer-color" value="#000000" <?php if($WRIS_L3_Navigation_Pointer_Color == "#000000" ) { echo "checked"; } ?>> <?php _e('Black', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
474
- <input type="radio" name="wl-l3-navigation-pointer-color" id="wl-l3-navigation-pointer-color" value="#FFFFFF" <?php if($WRIS_L3_Navigation_Pointer_Color == "#FFFFFF" ) { echo "checked"; } ?>> <?php _e('White', WRIS_TEXT_DOMAIN); ?> &nbsp;&nbsp;
475
  <p class="description">
476
  <?php _e('Select a color to set navigation pointer color', WRIS_TEXT_DOMAIN); ?>.
477
  </p>
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'];
12
+ else
13
+ $WRIS_L3_Slider_Scale_Mode = "cover";
14
+
15
+
16
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Slider_Auto_Scale']))
17
+ $WRIS_L3_Slider_Auto_Scale = $WRIS_Gallery_Settings['WRIS_L3_Slider_Auto_Scale'];
18
+ else
19
+ $WRIS_L3_Slider_Auto_Scale = 1;
20
+
21
  if(isset($WRIS_Gallery_Settings['WRIS_L3_Slide_Title']))
22
  $WRIS_L3_Slide_Title = $WRIS_Gallery_Settings['WRIS_L3_Slide_Title'];
23
  else
358
  </td>
359
  </tr>
360
 
361
+ <tr id="L3">
362
+ <th scope="row"><label><?php _e('Slide Scale Mode', WRIS_TEXT_DOMAIN); ?></label></th>
363
+ <td>
364
+ <?php if(!isset($WRIS_L3_Slider_Scale_Mode)) $WRIS_L3_Slider_Scale_Mode = "cover"; ?>
365
+ <select name="wl-l3-slider_scale_mode" id="wl-l3-slider_scale_mode" class="standard-dropdown">
366
+ <optgroup label="Select Slider Scale Mode">
367
+ <option value="none" <?php if($WRIS_L3_Slider_Scale_Mode == "none" ) { echo "selected=selected"; } ?>><?php _e('None', WRIS_TEXT_DOMAIN); ?></option>
368
+ <option value="exact" <?php if($WRIS_L3_Slider_Scale_Mode == "exact" ) { echo "selected=selected"; } ?>><?php _e('Exact', WRIS_TEXT_DOMAIN); ?></option>
369
+ <option value="contain" <?php if($WRIS_L3_Slider_Scale_Mode == "contain" ) { echo "selected=selected"; } ?>><?php _e('Contain', WRIS_TEXT_DOMAIN); ?></option>
370
+ <option value="cover" <?php if($WRIS_L3_Slider_Scale_Mode == "cover" ) { echo "selected=selected"; } ?>><?php _e('Cover', WRIS_TEXT_DOMAIN); ?></option>
371
+ </optgroup>
372
+ </select>
373
+ <p class="description">
374
+ <?php _e('Select a slide scale mode for slide frame', WRIS_TEXT_DOMAIN); ?>.
375
+ </p>
376
+ </td>
377
+ </tr>
378
+
379
+ <tr id="L3">
380
+ <th scope="row"><label><?php _e('Slide Auto Scale', WRIS_TEXT_DOMAIN); ?></label></th>
381
+ <td>
382
+ <?php if(!isset($WRIS_L3_Slider_Auto_Scale)) $WRIS_L3_Slider_Auto_Scale = 1; ?>
383
+ <input type="radio" name="wl-l3-slider-auto-scale" id="wl-l3-slider-auto-scale" value="1" <?php if($WRIS_L3_Slider_Auto_Scale == 1 ) { echo "checked"; } ?>> <i class="fa fa-check fa-2x"></i>
384
+ <input type="radio" name="wl-l3-slider-auto-scale" id="wl-l3-slider-auto-scale" value="0" <?php if($WRIS_L3_Slider_Auto_Scale == 0 ) { echo "checked"; } ?>> <i class="fa fa-times fa-2x"></i>
385
+ <p class="description">
386
+ <?php _e('Select Yes/No option for slide auto scale', WRIS_TEXT_DOMAIN); ?>.
387
+ </p>
388
+ </td>
389
+ </tr>
390
+
391
  <tr>
392
  <th scope="row"><label><?php _e("Font Style", WRIS_TEXT_DOMAIN); ?></label></th>
393
  <td>
421
  <th scope="row"><label><?php _e('Slide Title Color', WRIS_TEXT_DOMAIN); ?></label></th>
422
  <td>
423
  <?php if(!isset($WRIS_L3_Title_Color)) $WRIS_L3_Title_Color = "#000000"; ?>
424
+ <input id="wl-l3-title-color" name="wl-l3-title-color" type="text" value="<?php echo $WRIS_L3_Title_Color; ?>" class="my-color-field" data-default-color="#000000" />
 
 
 
425
  <p class="description">
426
  <?php _e('Select a color to set slide title color', WRIS_TEXT_DOMAIN); ?>.
427
  <a href="#" id="p7" data-tooltip="#s7"><?php _e('Preview', WRIS_TEXT_DOMAIN); ?></a>
433
  <th scope="row"><label><?php _e('Slide Title Background Color', WRIS_TEXT_DOMAIN); ?></label></th>
434
  <td>
435
  <?php if(!isset($WRIS_L3_Title_BgColor)) $WRIS_L3_Title_BgColor = "#FFFFFF"; ?>
436
+ <input id="wl-l3-title-bgcolor" name="wl-l3-title-bgcolor" type="text" value="<?php echo $WRIS_L3_Title_BgColor; ?>" class="my-color-field" data-default-color="#ffffff" />
 
 
 
437
  <p class="description">
438
  <?php _e('Select a color to set slide title background color', WRIS_TEXT_DOMAIN); ?>.
439
  <a href="#" id="p8" data-tooltip="#s8"><?php _e('Preview', WRIS_TEXT_DOMAIN); ?></a>
445
  <th scope="row"><label><?php _e('Slide Description Color', WRIS_TEXT_DOMAIN); ?></label></th>
446
  <td>
447
  <?php if(!isset($WRIS_L3_Desc_Color)) $WRIS_L3_Desc_Color = "#FFFFFF"; ?>
448
+ <input id="wl-l3-desc-color" name="wl-l3-desc-color" type="text" value="<?php echo $WRIS_L3_Desc_Color; ?>" class="my-color-field" data-default-color="#ffffff" />
 
 
 
449
  <p class="description">
450
  <?php _e('Select a color to set slide description color', WRIS_TEXT_DOMAIN); ?>.
451
  <a href="#" id="p9" data-tooltip="#s9"><?php _e('Preview', WRIS_TEXT_DOMAIN); ?></a>
457
  <th scope="row"><label><?php _e('Slide Description Background Color', WRIS_TEXT_DOMAIN); ?></label></th>
458
  <td>
459
  <?php if(!isset($WRIS_L3_Desc_BgColor)) $WRIS_L3_Desc_BgColor = "#000000"; ?>
460
+ <input id="wl-l3-desc-bgcolor" name="wl-l3-desc-bgcolor" type="text" value="<?php echo $WRIS_L3_Desc_BgColor; ?>" class="my-color-field" data-default-color="#000000" />
 
 
 
461
  <p class="description">
462
  <?php _e('Select a color to set slide description background color', WRIS_TEXT_DOMAIN); ?>.
463
  <a href="#" id="p10" data-tooltip="#s10"><?php _e('Preview', WRIS_TEXT_DOMAIN); ?></a>
469
  <th scope="row"><label><?php _e('Navigation Color', WRIS_TEXT_DOMAIN); ?></label></th>
470
  <td>
471
  <?php if(!isset($WRIS_L3_Navigation_Color)) $WRIS_L3_Navigation_Color = "#FFFFFF"; ?>
472
+ <input id="wl-l3-navigation-color" name="wl-l3-navigation-color" type="text" value="<?php echo $WRIS_L3_Navigation_Color; ?>" class="my-color-field" data-default-color="#ffffff" />
 
 
 
473
  <p class="description">
474
  <?php _e('Select a color to set navigation arrow and fullscreen icon color', WRIS_TEXT_DOMAIN); ?>.
475
  <a href="#" id="p11" data-tooltip="#s11"><?php _e('Preview', WRIS_TEXT_DOMAIN); ?></a>
481
  <th scope="row"><label><?php _e('Navigation Bullets Color', WRIS_TEXT_DOMAIN); ?></label></th>
482
  <td>
483
  <?php if(!isset($WRIS_L3_Navigation_Bullets_Color)) $WRIS_L3_Navigation_Bullets_Color = "#000000"; ?>
484
+ <input id="wl-l3-navigation-bullets-color" name="wl-l3-navigation-bullets-color" type="text" value="<?php echo $WRIS_L3_Navigation_Bullets_Color; ?>" class="my-color-field" data-default-color="#000000" />
 
 
 
485
  <p class="description">
486
  <?php _e('Select a color to set navigation bullets color', WRIS_TEXT_DOMAIN); ?>.
487
  </p>
492
  <th scope="row"><label><?php _e('Navigation Pointer Color', WRIS_TEXT_DOMAIN); ?></label></th>
493
  <td>
494
  <?php if(!isset($WRIS_L3_Navigation_Pointer_Color)) $WRIS_L3_Navigation_Pointer_Color = "#000000"; ?>
495
+ <input id="wl-l3-navigation-pointer-color" name="wl-l3-navigation-pointer-color" type="text" value="<?php echo $WRIS_L3_Navigation_Pointer_Color; ?>" class="my-color-field" data-default-color="#000000" />
 
 
 
496
  <p class="description">
497
  <?php _e('Select a color to set navigation pointer color', WRIS_TEXT_DOMAIN); ?>.
498
  </p>
ultimate-responsive-image-slider-short-code.php CHANGED
@@ -18,6 +18,19 @@ function ResponsiveWWRISroShortCode( $Id ) {
18
  $WRIS_Gallery_Settings_Key = "WRIS_Gallery_Settings_".$WRIS_Id;
19
  $WRIS_Gallery_Settings = unserialize(get_post_meta( $WRIS_Id, $WRIS_Gallery_Settings_Key, true));
20
  if($WRIS_Gallery_Settings['WRIS_L3_Slider_Width'] && $WRIS_Gallery_Settings['WRIS_L3_Slider_Height']) {
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  if(isset($WRIS_Gallery_Settings['WRIS_L3_Slide_Title']))
22
  $WRIS_L3_Slide_Title = $WRIS_Gallery_Settings['WRIS_L3_Slide_Title'];
23
  else
18
  $WRIS_Gallery_Settings_Key = "WRIS_Gallery_Settings_".$WRIS_Id;
19
  $WRIS_Gallery_Settings = unserialize(get_post_meta( $WRIS_Id, $WRIS_Gallery_Settings_Key, true));
20
  if($WRIS_Gallery_Settings['WRIS_L3_Slider_Width'] && $WRIS_Gallery_Settings['WRIS_L3_Slider_Height']) {
21
+
22
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Slider_Scale_Mode']))
23
+ $WRIS_L3_Slider_Scale_Mode = $WRIS_Gallery_Settings['WRIS_L3_Slider_Scale_Mode'];
24
+ else
25
+ $WRIS_L3_Slider_Scale_Mode = "cover";
26
+
27
+
28
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Slider_Auto_Scale']))
29
+ $WRIS_L3_Slider_Auto_Scale = $WRIS_Gallery_Settings['WRIS_L3_Slider_Auto_Scale'];
30
+ else
31
+ $WRIS_L3_Slider_Auto_Scale = 1;
32
+
33
+
34
  if(isset($WRIS_Gallery_Settings['WRIS_L3_Slide_Title']))
35
  $WRIS_L3_Slide_Title = $WRIS_Gallery_Settings['WRIS_L3_Slide_Title'];
36
  else
ultimate-responsive-image-slider.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Ultimate Responsive Image Slider
4
- * Version: 3.1.1
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/
@@ -28,6 +28,8 @@ function WRIS_DefaultSettingsPro() {
28
  "WRIS_L3_Slider_Height" => "500",
29
  "WRIS_L3_Font_Style" => "Arial",
30
  "WRIS_L3_Title_Color" => "#FFFFFF",
 
 
31
  "WRIS_L3_Title_BgColor" => "#000000",
32
  "WRIS_L3_Desc_Color" => "#FFFFFF",
33
  "WRIS_L3_Desc_BgColor" => "#000000",
@@ -558,6 +560,8 @@ class WRIS {
558
  $WRIS_L3_Slider_Height = sanitize_option ( 'slider_height', $_POST['wl-l3-slider-height'] );
559
  $WRIS_L3_Font_Style = sanitize_option ( 'font_style', $_POST['wl-l3-font-style'] );
560
  $WRIS_L3_Title_Color = sanitize_option ( 'title_color', $_POST['wl-l3-title-color'] );
 
 
561
  $WRIS_L3_Title_BgColor = sanitize_option ( 'title_bgcolor', $_POST['wl-l3-title-bgcolor'] );
562
  $WRIS_L3_Desc_Color = sanitize_option ( 'desc_color', $_POST['wl-l3-desc-color'] );
563
  $WRIS_L3_Desc_BgColor = sanitize_option ( 'desc_bgcolor', $_POST['wl-l3-desc-bgcolor'] );
@@ -587,6 +591,8 @@ class WRIS {
587
  'WRIS_L3_Slider_Height' => $WRIS_L3_Slider_Height,
588
  'WRIS_L3_Font_Style' => $WRIS_L3_Font_Style,
589
  'WRIS_L3_Title_Color' => $WRIS_L3_Title_Color,
 
 
590
  'WRIS_L3_Title_BgColor' => $WRIS_L3_Title_BgColor,
591
  'WRIS_L3_Desc_Color' => $WRIS_L3_Desc_Color,
592
  'WRIS_L3_Desc_BgColor' => $WRIS_L3_Desc_BgColor,
1
  <?php
2
  /**
3
  * Plugin Name: Ultimate Responsive Image Slider
4
+ * Version: 3.1.2
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/
28
  "WRIS_L3_Slider_Height" => "500",
29
  "WRIS_L3_Font_Style" => "Arial",
30
  "WRIS_L3_Title_Color" => "#FFFFFF",
31
+ "WRIS_L3_Slider_Scale_Mode" => "cover",
32
+ "WRIS_L3_Slider_Auto_Scale" => 1,
33
  "WRIS_L3_Title_BgColor" => "#000000",
34
  "WRIS_L3_Desc_Color" => "#FFFFFF",
35
  "WRIS_L3_Desc_BgColor" => "#000000",
560
  $WRIS_L3_Slider_Height = sanitize_option ( 'slider_height', $_POST['wl-l3-slider-height'] );
561
  $WRIS_L3_Font_Style = sanitize_option ( 'font_style', $_POST['wl-l3-font-style'] );
562
  $WRIS_L3_Title_Color = sanitize_option ( 'title_color', $_POST['wl-l3-title-color'] );
563
+ $WRIS_L3_Slider_Scale_Mode = sanitize_option ( 'slider_scale_mode', $_POST['wl-l3-slider_scale_mode'] );
564
+ $WRIS_L3_Slider_Auto_Scale = sanitize_option ( 'slider_auto_scale', $_POST['wl-l3-slider-auto-scale'] );
565
  $WRIS_L3_Title_BgColor = sanitize_option ( 'title_bgcolor', $_POST['wl-l3-title-bgcolor'] );
566
  $WRIS_L3_Desc_Color = sanitize_option ( 'desc_color', $_POST['wl-l3-desc-color'] );
567
  $WRIS_L3_Desc_BgColor = sanitize_option ( 'desc_bgcolor', $_POST['wl-l3-desc-bgcolor'] );
591
  'WRIS_L3_Slider_Height' => $WRIS_L3_Slider_Height,
592
  'WRIS_L3_Font_Style' => $WRIS_L3_Font_Style,
593
  'WRIS_L3_Title_Color' => $WRIS_L3_Title_Color,
594
+ 'WRIS_L3_Slider_Scale_Mode' => $WRIS_L3_Slider_Scale_Mode,
595
+ 'WRIS_L3_Slider_Auto_Scale' => $WRIS_L3_Slider_Auto_Scale,
596
  'WRIS_L3_Title_BgColor' => $WRIS_L3_Title_BgColor,
597
  'WRIS_L3_Desc_Color' => $WRIS_L3_Desc_Color,
598
  'WRIS_L3_Desc_BgColor' => $WRIS_L3_Desc_BgColor,
uris-layout.php CHANGED
@@ -79,7 +79,8 @@ jQuery( document ).ready(function( jQuery ) {
79
  thumbnailPointer: true,
80
  <?php } ?>
81
  centerImage: true,
82
- allowScaleUp: false,
 
83
  <?php if($WRIS_L3_Slide_Order == "shuffle") { ?>
84
  shuffle: true,
85
  <?php } ?>
79
  thumbnailPointer: true,
80
  <?php } ?>
81
  centerImage: true,
82
+ imageScaleMode: '<?php echo $WRIS_L3_Slider_Scale_Mode;?>',
83
+ allowScaleUp: <?php if($WRIS_L3_Slider_Auto_Scale == 1) echo "true"; else echo "false"; ?>,
84
  <?php if($WRIS_L3_Slide_Order == "shuffle") { ?>
85
  shuffle: true,
86
  <?php } ?>