Ultimate Responsive Image Slider Plugin - Version 3.5.3

Version Description

  • Security issue fixed
Download this release

Release Info

Developer FARAZFRANK
Plugin Icon 128x128 Ultimate Responsive Image Slider Plugin
Version 3.5.3
Comparing to
See all releases

Code changes from version 3.5.2 to 3.5.3

admin-banner.php CHANGED
@@ -1,13 +1,12 @@
1
  <?php
2
- if ( ! defined( 'ABSPATH' ) ) {
3
- exit;
4
- }
5
  wp_enqueue_style( 'uris-feature-notice-css', URIS_PLUGIN_URL . 'assets/css/uris-feature-notice.css', array(), '1.2', 'all' );
6
  wp_enqueue_style('uris-bootstrap-min', URIS_PLUGIN_URL.'assets/css/bootstrap-latest/bootstrap.css');
7
  ?>
8
  <div class="row col-md-12 wpfrank_banner">
9
  <div class="col-md-6 col-sm-12 wpfrank_banner_img">
10
- <a href="http://wpfrank.com/account/signup/ultimate-responsive-image-slider-pro" target="_blank"><img class="img-fluid" src="<?php echo URIS_PLUGIN_URL . "assets/img/products/Ultimate-Responsive-Image-Slider-Pro.jpg"; ?>"></a>
11
  </div>
12
  <div class="col-md-6 col-sm-12 wpfrank_banner_features">
13
  <h1 style="color:#FFFFFF;">Ultimate Responsive Image Slider Pro Features</h1>
1
  <?php
2
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
+
 
4
  wp_enqueue_style( 'uris-feature-notice-css', URIS_PLUGIN_URL . 'assets/css/uris-feature-notice.css', array(), '1.2', 'all' );
5
  wp_enqueue_style('uris-bootstrap-min', URIS_PLUGIN_URL.'assets/css/bootstrap-latest/bootstrap.css');
6
  ?>
7
  <div class="row col-md-12 wpfrank_banner">
8
  <div class="col-md-6 col-sm-12 wpfrank_banner_img">
9
+ <a href="http://wpfrank.com/account/signup/ultimate-responsive-image-slider-pro" target="_blank"><img class="img-fluid" src="<?php echo esc_url(URIS_PLUGIN_URL . "assets/img/products/Ultimate-Responsive-Image-Slider-Pro.jpg"); ?>"></a>
10
  </div>
11
  <div class="col-md-6 col-sm-12 wpfrank_banner_features">
12
  <h1 style="color:#FFFFFF;">Ultimate Responsive Image Slider Pro Features</h1>
assets/js/uris-ajax-script.js CHANGED
@@ -1,15 +1,18 @@
1
  function uris_clone_run(post_id){
 
 
2
  if(confirm("Are you sure want to create clone of this slider?")){
3
- var formData = {
4
  'action': 'uris_clone_slider',
5
  'ursi_clone_post_id': post_id,
 
6
  };
7
 
8
  jQuery.ajax({
9
  type: "post",
10
  dataType: "json",
11
  url: uris_ajax_object.ajax_url,
12
- data: formData,
13
  success: function(response){
14
  //console.log('Got this from the server: ' + response);
15
  //jQuery('.uris-clone-success').show().fadeOut(4000, 'linear');
1
  function uris_clone_run(post_id){
2
+ var uris_clone_nonce = jQuery("#uris_clone_nonce").val();
3
+ console.log(uris_clone_nonce);
4
  if(confirm("Are you sure want to create clone of this slider?")){
5
+ var UrisformData = {
6
  'action': 'uris_clone_slider',
7
  'ursi_clone_post_id': post_id,
8
+ 'uris_clone_nonce': uris_clone_nonce
9
  };
10
 
11
  jQuery.ajax({
12
  type: "post",
13
  dataType: "json",
14
  url: uris_ajax_object.ajax_url,
15
+ data: UrisformData,
16
  success: function(response){
17
  //console.log('Got this from the server: ' + response);
18
  //jQuery('.uris-clone-success').show().fadeOut(4000, 'linear');
help-and-support.php CHANGED
@@ -1,7 +1,9 @@
 
 
1
  <div class="row-fluid pricing-table pricing-three-column" style="margin-top: 10px; display:block; width:100%; overflow:hidden; background:white; box-shadow: 0 0 5px hsla(0, 0%, 20%, 0.3);padding-bottom:70px">
2
  <div class="plan-name" style="margin-top:20px;text-align: center;">
3
- <h2 style="font-size: 36px;padding-top: 30px;padding-bottom: 10px;color:#D9534F;">Ultimate Responsive Image Slider </h2>
4
- </div>
5
  <hr>
6
  <div class="purchase_btn_div" style="margin-top:20px; margin-left:30px;">
7
  <h2 style="font-size: 24px;padding-top: 30px;">View Support Docs or Open a Ticket</h2>
1
+ <?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
2
+ ?>
3
  <div class="row-fluid pricing-table pricing-three-column" style="margin-top: 10px; display:block; width:100%; overflow:hidden; background:white; box-shadow: 0 0 5px hsla(0, 0%, 20%, 0.3);padding-bottom:70px">
4
  <div class="plan-name" style="margin-top:20px;text-align: center;">
5
+ <h2 style="font-size: 36px;padding-top: 30px;padding-bottom: 10px;color:#D9534F;">Ultimate Responsive Image Slider </h2>
6
+ </div>
7
  <hr>
8
  <div class="purchase_btn_div" style="margin-top:20px; margin-left:30px;">
9
  <h2 style="font-size: 24px;padding-top: 30px;">View Support Docs or Open a Ticket</h2>
layout.php CHANGED
@@ -1,4 +1,6 @@
1
  <?php
 
 
2
  /**
3
  * Load All WRIS Custom Post Type
4
  */
@@ -41,14 +43,14 @@ document.addEventListener("DOMContentLoaded", function(event) {
41
  <?php if($WRIS_L3_Width == "100%") { ?>
42
  width: "100%",
43
  <?php } else if($WRIS_L3_Width == "custom") { ?>
44
- width: <?php if($WRIS_L3_Slider_Width != "") echo $WRIS_L3_Slider_Width; else echo "1000"; ?>,
45
  <?php } else if($WRIS_L3_Width == "fullWidth") { ?>
46
- forceSize: 'fullWidth', //'fullWidth', 'fullWindow', 'none'
47
  <?php } ?>
48
 
49
  //height
50
  <?php if($WRIS_L3_Height == "custom") { ?>
51
- height: <?php if($WRIS_L3_Slider_Height != "") echo $WRIS_L3_Slider_Height; else echo "500"; ?>,
52
  <?php } else { ?>
53
  autoHeight: true,
54
  <?php } ?>
@@ -65,20 +67,20 @@ document.addEventListener("DOMContentLoaded", function(event) {
65
  <?php if($WRIS_L3_Auto_Slideshow == 3) { ?>
66
  autoplay: false,
67
  <?php } ?>
68
- autoplayDelay: <?php if($WRIS_L3_Transition_Speed != "") echo $WRIS_L3_Transition_Speed; else echo "5000"; ?>,
69
 
70
 
71
- arrows: <?php if($WRIS_L3_Sliding_Arrow == 1) echo "true"; else echo "false"; ?>,
72
- buttons: <?php if($WRIS_L3_Navigation_Button == 1) echo "true"; else echo "false"; ?>,
73
  smallSize: 500,
74
  mediumSize: 1000,
75
  largeSize: 3000,
76
- fade: <?php if($WRIS_L3_Transition == 1) echo "true"; else echo "false"; ?>,
77
 
78
  //thumbnail
79
  thumbnailArrows: true,
80
- thumbnailWidth: <?php if($WRIS_L3_Thumbnail_Width != "") echo $WRIS_L3_Thumbnail_Width; else echo "120"; ?>,
81
- thumbnailHeight: <?php if($WRIS_L3_Thumbnail_Height != "") echo $WRIS_L3_Thumbnail_Height; else echo "100"; ?>,
82
  <?php if($WRIS_L3_Navigation_Position == "top") { ?>
83
  thumbnailsPosition: 'top',
84
  <?php } ?>
@@ -90,16 +92,16 @@ document.addEventListener("DOMContentLoaded", function(event) {
90
  <?php } ?>
91
  centerImage: true,
92
  imageScaleMode: '<?php echo $WRIS_L3_Slider_Scale_Mode;?>',
93
- allowScaleUp: <?php if($WRIS_L3_Slider_Auto_Scale == 1) echo "true"; else echo "false"; ?>,
94
  <?php if($WRIS_L3_Slide_Order == "shuffle") { ?>
95
  shuffle: true,
96
  <?php } ?>
97
  startSlide: 0,
98
  loop: true,
99
- slideDistance: <?php if($WRIS_L3_Slide_Distance) echo $WRIS_L3_Slide_Distance; else echo "5"; ?>,
100
  autoplayDirection: 'normal',
101
  touchSwipe: true,
102
- fullScreen: <?php if($WRIS_L3_Fullscreeen == 1) echo "true"; else echo "false"; ?>,
103
  });
104
  });
105
  </script>
@@ -107,40 +109,40 @@ document.addEventListener("DOMContentLoaded", function(event) {
107
  /* Layout 3 */
108
  /* border */
109
  <?php if($WRIS_L3_Thumbnail_Style == "border") { ?>
110
- #slider-pro-3-<?php echo $post_id; ?> .sp-selected-thumbnail {
111
- border: 4px solid <?php echo $WRIS_L3_Navigation_Pointer_Color ; ?>;
112
  }
113
  <?php } ?>
114
 
115
  /* font + color */
116
  .title-in {
117
- font-family: <?php echo $WRIS_L3_Font_Style; ?> !important;
118
- color: <?php echo $WRIS_L3_Title_Color; ?> !important;
119
- background-color: <?php echo $WRIS_L3_Title_BgColor; ?> !important;
120
  opacity: 0.7 !important;
121
  }
122
  .desc-in {
123
- font-family: <?php echo $WRIS_L3_Font_Style; ?> !important;
124
- color: <?php echo $WRIS_L3_Desc_Color; ?> !important;
125
- background-color: <?php echo $WRIS_L3_Desc_BgColor; ?> !important;
126
  opacity: 0.7 !important;
127
  }
128
 
129
  /* bullets color */
130
  .sp-button {
131
- border: 2px solid <?php echo $WRIS_L3_Navigation_Bullets_Color; ?> !important;
132
  }
133
  .sp-selected-button {
134
- background-color: <?php echo $WRIS_L3_Navigation_Bullets_Color; ?> !important;
135
  }
136
 
137
  /* pointer color - bottom */
138
  <?php if( $WRIS_L3_Navigation_Position == "bottom") { ?>
139
  .sp-selected-thumbnail::before {
140
- border-bottom: 5px solid <?php echo $WRIS_L3_Navigation_Pointer_Color; ?> !important;
141
  }
142
  .sp-selected-thumbnail::after {
143
- border-bottom: 13px solid <?php echo $WRIS_L3_Navigation_Pointer_Color; ?> !important;
144
  }
145
  <?php } ?>
146
 
@@ -148,33 +150,33 @@ document.addEventListener("DOMContentLoaded", function(event) {
148
  <?php if( $WRIS_L3_Navigation_Position == "top") { ?>
149
 
150
  .sp-top-thumbnails.sp-has-pointer .sp-selected-thumbnail::before {
151
- border-bottom: 5px solid <?php echo $WRIS_L3_Navigation_Pointer_Color; ?>;
152
  }
153
  .sp-top-thumbnails.sp-has-pointer .sp-selected-thumbnail::after {
154
- border-top: 13px solid <?php echo $WRIS_L3_Navigation_Pointer_Color; ?> !important;
155
  }
156
  <?php } ?>
157
 
158
  /* full screen icon */
159
  .sp-full-screen-button::before {
160
- color: <?php echo $WRIS_L3_Navigation_Color; ?> !important;
161
  }
162
 
163
  /* hover navigation icon color */
164
  .sp-next-arrow::after, .sp-next-arrow::before {
165
- background-color: <?php echo $WRIS_L3_Navigation_Color; ?> !important;
166
  }
167
  .sp-previous-arrow::after, .sp-previous-arrow::before {
168
- background-color: <?php echo $WRIS_L3_Navigation_Color; ?> !important;
169
  }
170
 
171
- #slider-pro-3-<?php echo $post_id; ?> .title-in {
172
- color: <?php echo $WRIS_L3_Title_Color; ?> !important;
173
  font-weight: bolder;
174
  text-align: center;
175
  }
176
 
177
- #slider-pro-3-<?php echo $post_id; ?> .title-in-bg {
178
  background: rgba(255, 255, 255, 0.7); !important;
179
  white-space: unset !important;
180
  max-width: 90%;
@@ -184,12 +186,12 @@ document.addEventListener("DOMContentLoaded", function(event) {
184
  font-size: 14px !important;
185
  }
186
 
187
- #slider-pro-3-<?php echo $post_id; ?> .desc-in {
188
- color: <?php echo $WRIS_L3_Desc_Color; ?> !important;
189
  text-align: center;
190
  }
191
- #slider-pro-3-<?php echo $post_id; ?> .desc-in-bg {
192
- background: rgba(<?php echo $WRIS_L3_Desc_BgColor; ?>, <?php echo "0.7"; ?>) !important;
193
  white-space: unset !important;
194
  width: 80% !important;
195
  min-width: 30%;
@@ -199,17 +201,17 @@ document.addEventListener("DOMContentLoaded", function(event) {
199
  }
200
 
201
  @media (max-width: 640px) {
202
- #slider-pro-3-<?php echo $post_id; ?> .hide-small-screen {
203
  display: none;
204
  }
205
  }
206
 
207
  @media (max-width: 860px) {
208
- #slider-pro-3-<?php echo $post_id; ?> .sp-layer {
209
  font-size: 18px;
210
  }
211
 
212
- #slider-pro-3-<?php echo $post_id; ?> .hide-medium-screen {
213
  display: none;
214
  }
215
  }
@@ -222,32 +224,18 @@ document.addEventListener("DOMContentLoaded", function(event) {
222
  padding:12px;
223
  }
224
  /* Custom CSS */
225
- <?php echo $WRIS_L3_Custom_CSS; ?>
226
  </style>
227
  <?php if($WRIS_L3_Slide_Title) { ?>
228
  <h3 class="uris-slider-post-title"><?php echo $post_title = get_the_title( $post_id ); ?></h3>
229
  <?php } if($TotalSlideIds>0){ ?>
230
- <div id="slider-pro-3-<?php echo $post_id; ?>" class="slider-pro">
231
  <!---- slides div start ---->
232
  <div class="sp-slides">
233
  <?php
234
  if(is_array($URIS_All_Slide_Ids)){
235
  foreach($URIS_All_Slide_Ids as $URIS_Slide_Id) {
236
-
237
  $slide_id = $URIS_Slide_Id['rpgp_image_id'];
238
-
239
- /* free old or 3.3.9 to free 3.3.10 update */
240
- /* if(isset($URIS_Slide_Id['rpgp_image_url'])){
241
- $Url = $URIS_Slide_Id['rpgp_image_url'];
242
- global $wpdb;
243
- $post_table_name = $wpdb->prefix. "posts";
244
- if(count($attachment_id = $wpdb->get_col($wpdb->prepare("SELECT `id` FROM `$post_table_name` WHERE `guid` LIKE '%s'", $Url)))) {
245
- $slide_id = $attachment_id[0];
246
- }
247
- } else {
248
- $slide_id = $URIS_Slide_Id['rpgp_image_id'];
249
- } */
250
-
251
  $attachment = get_post( $slide_id ); // get all slide details
252
  $slide_alt = get_post_meta( $attachment->ID, '_wp_attachment_image_alt', true );
253
  $slide_caption = $attachment->post_excerpt;
@@ -268,7 +256,7 @@ document.addEventListener("DOMContentLoaded", function(event) {
268
  }
269
  ?>
270
  <div class="sp-slide">
271
- <img class="sp-image" alt="<?php echo esc_attr($slide_alt); ?>" src="<?php echo URIS_PLUGIN_URL; ?>assets/css/images/blank.gif" data-src="<?php echo esc_url($slide_src[0]); ?>" />
272
 
273
  <?php if($slide_title != "" && $WRIS_L3_Show_Slide_Title) { ?>
274
  <p class="sp-layer sp-white sp-padding title-in title-in-bg hide-small-screen"
@@ -302,18 +290,6 @@ document.addEventListener("DOMContentLoaded", function(event) {
302
  foreach($URIS_All_Slide_Ids as $URIS_Slide_Id) {
303
 
304
  $slide_id = $URIS_Slide_Id['rpgp_image_id'];
305
- /* free old or 3.3.9 to free 3.3.10 update */
306
- /* if(isset($URIS_Slide_Id['rpgp_image_url'])){
307
- $Url = $URIS_Slide_Id['rpgp_image_url'];
308
- global $wpdb;
309
- $post_table_name = $wpdb->prefix. "posts";
310
- if(count($attachment_id = $wpdb->get_col($wpdb->prepare("SELECT `id` FROM `$post_table_name` WHERE `guid` LIKE '%s'", $Url)))) {
311
- $slide_id = $attachment_id[0];
312
- }
313
- } else {
314
- $slide_id = $URIS_Slide_Id['rpgp_image_id'];
315
- } */
316
-
317
  $attachment = get_post( $slide_id ); // get all slide details
318
  $slide_alt = get_post_meta( $attachment->ID, '_wp_attachment_image_alt', true );
319
  $slide_caption = $attachment->post_excerpt;
@@ -333,7 +309,7 @@ document.addEventListener("DOMContentLoaded", function(event) {
333
  }
334
 
335
  $j++; ?>
336
- <img class="sp-thumbnail" src="<?php echo URIS_PLUGIN_URL; ?>assets/img/loading.gif" data-src="<?php echo esc_url($slide_medium[0]); ?>" alt="<?php echo $slide_alt; ?>"/>
337
  <?php } // end of for each
338
  }// end of is_array ?>
339
  </div>
1
  <?php
2
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
+
4
  /**
5
  * Load All WRIS Custom Post Type
6
  */
43
  <?php if($WRIS_L3_Width == "100%") { ?>
44
  width: "100%",
45
  <?php } else if($WRIS_L3_Width == "custom") { ?>
46
+ width: <?php if($WRIS_L3_Slider_Width != "") echo esc_js($WRIS_L3_Slider_Width); else echo esc_js("1000"); ?>,
47
  <?php } else if($WRIS_L3_Width == "fullWidth") { ?>
48
+ forceSize: 'fullWidth',
49
  <?php } ?>
50
 
51
  //height
52
  <?php if($WRIS_L3_Height == "custom") { ?>
53
+ height: <?php if($WRIS_L3_Slider_Height != "") echo esc_js($WRIS_L3_Slider_Height); else echo esc_js("500"); ?>,
54
  <?php } else { ?>
55
  autoHeight: true,
56
  <?php } ?>
67
  <?php if($WRIS_L3_Auto_Slideshow == 3) { ?>
68
  autoplay: false,
69
  <?php } ?>
70
+ autoplayDelay: <?php if($WRIS_L3_Transition_Speed != "") echo esc_js($WRIS_L3_Transition_Speed); else echo esc_js("5000"); ?>,
71
 
72
 
73
+ arrows: <?php if($WRIS_L3_Sliding_Arrow == 1) echo esc_js("true"); else echo esc_js("false"); ?>,
74
+ buttons: <?php if($WRIS_L3_Navigation_Button == 1) echo esc_js("true"); else echo esc_js("false"); ?>,
75
  smallSize: 500,
76
  mediumSize: 1000,
77
  largeSize: 3000,
78
+ fade: <?php if($WRIS_L3_Transition == 1) echo esc_js("true"); else echo esc_js("false"); ?>,
79
 
80
  //thumbnail
81
  thumbnailArrows: true,
82
+ thumbnailWidth: <?php if($WRIS_L3_Thumbnail_Width != "") echo esc_js($WRIS_L3_Thumbnail_Width); else echo esc_js("120"); ?>,
83
+ thumbnailHeight: <?php if($WRIS_L3_Thumbnail_Height != "") echo esc_js($WRIS_L3_Thumbnail_Height); else echo esc_js("100"); ?>,
84
  <?php if($WRIS_L3_Navigation_Position == "top") { ?>
85
  thumbnailsPosition: 'top',
86
  <?php } ?>
92
  <?php } ?>
93
  centerImage: true,
94
  imageScaleMode: '<?php echo $WRIS_L3_Slider_Scale_Mode;?>',
95
+ allowScaleUp: <?php if($WRIS_L3_Slider_Auto_Scale == 1) echo esc_js("true"); else echo esc_js("false"); ?>,
96
  <?php if($WRIS_L3_Slide_Order == "shuffle") { ?>
97
  shuffle: true,
98
  <?php } ?>
99
  startSlide: 0,
100
  loop: true,
101
+ slideDistance: <?php if($WRIS_L3_Slide_Distance) echo esc_js($WRIS_L3_Slide_Distance); else echo esc_js("5"); ?>,
102
  autoplayDirection: 'normal',
103
  touchSwipe: true,
104
+ fullScreen: <?php if($WRIS_L3_Fullscreeen == 1) echo esc_js("true"); else echo esc_js("false"); ?>,
105
  });
106
  });
107
  </script>
109
  /* Layout 3 */
110
  /* border */
111
  <?php if($WRIS_L3_Thumbnail_Style == "border") { ?>
112
+ #slider-pro-3-<?php echo esc_attr($post_id); ?> .sp-selected-thumbnail {
113
+ border: 4px solid <?php echo esc_attr($WRIS_L3_Navigation_Pointer_Color); ?>;
114
  }
115
  <?php } ?>
116
 
117
  /* font + color */
118
  .title-in {
119
+ font-family: <?php echo esc_attr($WRIS_L3_Font_Style); ?> !important;
120
+ color: <?php echo esc_attr($WRIS_L3_Title_Color); ?> !important;
121
+ background-color: <?php echo esc_attr($WRIS_L3_Title_BgColor); ?> !important;
122
  opacity: 0.7 !important;
123
  }
124
  .desc-in {
125
+ font-family: <?php echo esc_attr($WRIS_L3_Font_Style); ?> !important;
126
+ color: <?php echo esc_attr($WRIS_L3_Desc_Color); ?> !important;
127
+ background-color: <?php echo esc_attr($WRIS_L3_Desc_BgColor); ?> !important;
128
  opacity: 0.7 !important;
129
  }
130
 
131
  /* bullets color */
132
  .sp-button {
133
+ border: 2px solid <?php echo esc_attr($WRIS_L3_Navigation_Bullets_Color); ?> !important;
134
  }
135
  .sp-selected-button {
136
+ background-color: <?php echo esc_attr($WRIS_L3_Navigation_Bullets_Color); ?> !important;
137
  }
138
 
139
  /* pointer color - bottom */
140
  <?php if( $WRIS_L3_Navigation_Position == "bottom") { ?>
141
  .sp-selected-thumbnail::before {
142
+ border-bottom: 5px solid <?php echo esc_attr($WRIS_L3_Navigation_Pointer_Color); ?> !important;
143
  }
144
  .sp-selected-thumbnail::after {
145
+ border-bottom: 13px solid <?php echo esc_attr($WRIS_L3_Navigation_Pointer_Color); ?> !important;
146
  }
147
  <?php } ?>
148
 
150
  <?php if( $WRIS_L3_Navigation_Position == "top") { ?>
151
 
152
  .sp-top-thumbnails.sp-has-pointer .sp-selected-thumbnail::before {
153
+ border-bottom: 5px solid <?php echo esc_attr($WRIS_L3_Navigation_Pointer_Color); ?>;
154
  }
155
  .sp-top-thumbnails.sp-has-pointer .sp-selected-thumbnail::after {
156
+ border-top: 13px solid <?php echo esc_attr($WRIS_L3_Navigation_Pointer_Color); ?> !important;
157
  }
158
  <?php } ?>
159
 
160
  /* full screen icon */
161
  .sp-full-screen-button::before {
162
+ color: <?php echo esc_attr($WRIS_L3_Navigation_Color); ?> !important;
163
  }
164
 
165
  /* hover navigation icon color */
166
  .sp-next-arrow::after, .sp-next-arrow::before {
167
+ background-color: <?php echo esc_attr($WRIS_L3_Navigation_Color); ?> !important;
168
  }
169
  .sp-previous-arrow::after, .sp-previous-arrow::before {
170
+ background-color: <?php echo esc_attr($WRIS_L3_Navigation_Color); ?> !important;
171
  }
172
 
173
+ #slider-pro-3-<?php echo esc_attr($post_id); ?> .title-in {
174
+ color: <?php echo esc_attr($WRIS_L3_Title_Color); ?> !important;
175
  font-weight: bolder;
176
  text-align: center;
177
  }
178
 
179
+ #slider-pro-3-<?php echo esc_attr($post_id); ?> .title-in-bg {
180
  background: rgba(255, 255, 255, 0.7); !important;
181
  white-space: unset !important;
182
  max-width: 90%;
186
  font-size: 14px !important;
187
  }
188
 
189
+ #slider-pro-3-<?php echo esc_attr($post_id); ?> .desc-in {
190
+ color: <?php echo esc_attr($WRIS_L3_Desc_Color); ?> !important;
191
  text-align: center;
192
  }
193
+ #slider-pro-3-<?php echo esc_attr($post_id); ?> .desc-in-bg {
194
+ background: rgba(<?php echo esc_attr($WRIS_L3_Desc_BgColor); ?>, <?php echo esc_attr("0.7"); ?>) !important;
195
  white-space: unset !important;
196
  width: 80% !important;
197
  min-width: 30%;
201
  }
202
 
203
  @media (max-width: 640px) {
204
+ #slider-pro-3-<?php echo esc_attr($post_id); ?> .hide-small-screen {
205
  display: none;
206
  }
207
  }
208
 
209
  @media (max-width: 860px) {
210
+ #slider-pro-3-<?php echo esc_attr($post_id); ?> .sp-layer {
211
  font-size: 18px;
212
  }
213
 
214
+ #slider-pro-3-<?php echo esc_attr($post_id); ?> .hide-medium-screen {
215
  display: none;
216
  }
217
  }
224
  padding:12px;
225
  }
226
  /* Custom CSS */
227
+ <?php echo esc_html($WRIS_L3_Custom_CSS); ?>
228
  </style>
229
  <?php if($WRIS_L3_Slide_Title) { ?>
230
  <h3 class="uris-slider-post-title"><?php echo $post_title = get_the_title( $post_id ); ?></h3>
231
  <?php } if($TotalSlideIds>0){ ?>
232
+ <div id="slider-pro-3-<?php echo esc_attr($post_id); ?>" class="slider-pro">
233
  <!---- slides div start ---->
234
  <div class="sp-slides">
235
  <?php
236
  if(is_array($URIS_All_Slide_Ids)){
237
  foreach($URIS_All_Slide_Ids as $URIS_Slide_Id) {
 
238
  $slide_id = $URIS_Slide_Id['rpgp_image_id'];
 
 
 
 
 
 
 
 
 
 
 
 
 
239
  $attachment = get_post( $slide_id ); // get all slide details
240
  $slide_alt = get_post_meta( $attachment->ID, '_wp_attachment_image_alt', true );
241
  $slide_caption = $attachment->post_excerpt;
256
  }
257
  ?>
258
  <div class="sp-slide">
259
+ <img class="sp-image" alt="<?php echo esc_attr($slide_alt); ?>" src="<?php echo esc_url(URIS_PLUGIN_URL."assets/css/images/blank.gif"); ?>" data-src="<?php echo esc_url($slide_src[0]); ?>" />
260
 
261
  <?php if($slide_title != "" && $WRIS_L3_Show_Slide_Title) { ?>
262
  <p class="sp-layer sp-white sp-padding title-in title-in-bg hide-small-screen"
290
  foreach($URIS_All_Slide_Ids as $URIS_Slide_Id) {
291
 
292
  $slide_id = $URIS_Slide_Id['rpgp_image_id'];
 
 
 
 
 
 
 
 
 
 
 
 
293
  $attachment = get_post( $slide_id ); // get all slide details
294
  $slide_alt = get_post_meta( $attachment->ID, '_wp_attachment_image_alt', true );
295
  $slide_caption = $attachment->post_excerpt;
309
  }
310
 
311
  $j++; ?>
312
+ <img class="sp-thumbnail" src="<?php echo esc_url(URIS_PLUGIN_URL."assets/img/loading.gif"); ?>" data-src="<?php echo esc_url($slide_medium[0]); ?>" alt="<?php echo $slide_alt; ?>"/>
313
  <?php } // end of for each
314
  }// end of is_array ?>
315
  </div>
products.php CHANGED
@@ -1,6 +1,5 @@
1
  <?php
2
-
3
- defined( 'ABSPATH' ) || die;
4
 
5
  class WPFURIS_Product_Menu {
6
  public static function create_menu() {
@@ -15,7 +14,7 @@ class WPFURIS_Product_Menu {
15
 
16
  <div class="wpfrank-product">
17
  <div class="wpfrank-product-title">Slider Factory Pro</div>
18
- <img class="wpfrank-product-image" src="<?php echo URIS_PLUGIN_URL . "assets/img/products/Slider-Factory-Pro.png"; ?>">
19
  <div class="wpfrank-product-tagline">Premium Slider Plugin To Add Responsive Slide Show On Website</div>
20
  <div class="wpfrank-product-links">
21
  <a target="_blank" href="http://wpfrank.com/demo/slider-factory-pro/" class="wpfrank-link-button wpfrank-try-now">Live Demo</a>
@@ -24,7 +23,7 @@ class WPFURIS_Product_Menu {
24
  </div>
25
  <div class="wpfrank-product">
26
  <div class="wpfrank-product-title">Flickr Album Gallery Pro</div>
27
- <img class="wpfrank-product-image" src="<?php echo URIS_PLUGIN_URL . "assets/img/products/Flickr-Album-Gallery-Pro.jpg"; ?>">
28
  <div class="wpfrank-product-tagline">Premium Flickr Plugin To Fetch And Display Albums On Website</div>
29
  <div class="wpfrank-product-links">
30
  <a target="_blank" href="http://wpfrank.com/demo/flickr-album-gallery-pro/" class="wpfrank-link-button wpfrank-try-now">Live Demo</a>
@@ -33,7 +32,7 @@ class WPFURIS_Product_Menu {
33
  </div>
34
  <div class="wpfrank-product">
35
  <div class="wpfrank-product-title">Ultimate Responsive Image Slider Pro</div>
36
- <img class="wpfrank-product-image" src="<?php echo URIS_PLUGIN_URL . "assets/img/products/Ultimate-Responsive-Image-Slider-Pro.jpg"; ?>">
37
  <div class="wpfrank-product-tagline">Premium Slider Plugin With Five Elegant Design Layouts</div>
38
  <div class="wpfrank-product-links">
39
  <a target="_blank" href="http://wpfrank.com/demo/ultimate-responsive-image-slider-pro/" class="wpfrank-link-button wpfrank-try-now">Live Demo</a>
1
  <?php
2
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
 
3
 
4
  class WPFURIS_Product_Menu {
5
  public static function create_menu() {
14
 
15
  <div class="wpfrank-product">
16
  <div class="wpfrank-product-title">Slider Factory Pro</div>
17
+ <img class="wpfrank-product-image" src="<?php echo esc_url(URIS_PLUGIN_URL . "assets/img/products/Slider-Factory-Pro.png"); ?>">
18
  <div class="wpfrank-product-tagline">Premium Slider Plugin To Add Responsive Slide Show On Website</div>
19
  <div class="wpfrank-product-links">
20
  <a target="_blank" href="http://wpfrank.com/demo/slider-factory-pro/" class="wpfrank-link-button wpfrank-try-now">Live Demo</a>
23
  </div>
24
  <div class="wpfrank-product">
25
  <div class="wpfrank-product-title">Flickr Album Gallery Pro</div>
26
+ <img class="wpfrank-product-image" src="<?php echo esc_url(URIS_PLUGIN_URL . "assets/img/products/Flickr-Album-Gallery-Pro.jpg"); ?>">
27
  <div class="wpfrank-product-tagline">Premium Flickr Plugin To Fetch And Display Albums On Website</div>
28
  <div class="wpfrank-product-links">
29
  <a target="_blank" href="http://wpfrank.com/demo/flickr-album-gallery-pro/" class="wpfrank-link-button wpfrank-try-now">Live Demo</a>
32
  </div>
33
  <div class="wpfrank-product">
34
  <div class="wpfrank-product-title">Ultimate Responsive Image Slider Pro</div>
35
+ <img class="wpfrank-product-image" src="<?php echo esc_url(URIS_PLUGIN_URL . "assets/img/products/Ultimate-Responsive-Image-Slider-Pro.jpg"); ?>">
36
  <div class="wpfrank-product-tagline">Premium Slider Plugin With Five Elegant Design Layouts</div>
37
  <div class="wpfrank-product-links">
38
  <a target="_blank" href="http://wpfrank.com/demo/ultimate-responsive-image-slider-pro/" class="wpfrank-link-button wpfrank-try-now">Live Demo</a>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wpfrank.com/
4
  Tags: slider, best slider plugin, image slide show, responsive slider, wordpress image slider plugin
5
  Requires at least: 3.0
6
  Tested up to: 5.7
7
- Stable tag: 3.5.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -161,6 +161,9 @@ Please use WordPress [support forum](http://wordpress.org/support/plugin/ultimat
161
 
162
  == Changelog ==
163
 
 
 
 
164
  = 3.5.2 =
165
  * Latest WP version 5.7.2 compatibility checked
166
 
4
  Tags: slider, best slider plugin, image slide show, responsive slider, wordpress image slider plugin
5
  Requires at least: 3.0
6
  Tested up to: 5.7
7
+ Stable tag: 3.5.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
161
 
162
  == Changelog ==
163
 
164
+ = 3.5.3 =
165
+ * Security issue fixed
166
+
167
  = 3.5.2 =
168
  * Latest WP version 5.7.2 compatibility checked
169
 
recover-slider.php CHANGED
@@ -1,4 +1,6 @@
1
  <?php
 
 
2
  if(isset($_POST['slider-id'])) {
3
  if (!isset( $_POST['recover_slider_nonce'] ) || ! wp_verify_nonce( $_POST['recover_slider_nonce'], 'recover_slider' ) ) {
4
  print 'Sorry, your nonce did not verify.';
1
  <?php
2
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
+
4
  if(isset($_POST['slider-id'])) {
5
  if (!isset( $_POST['recover_slider_nonce'] ) || ! wp_verify_nonce( $_POST['recover_slider_nonce'], 'recover_slider' ) ) {
6
  print 'Sorry, your nonce did not verify.';
settings.php CHANGED
@@ -1,4 +1,6 @@
1
  <?php
 
 
2
  /**
3
  * Load Saved Settings
4
  */
@@ -212,7 +214,7 @@ jQuery(document).ready(function(){
212
  right:250px;
213
  text-indent:-9999px;
214
  display:none;
215
- background: url("<?php echo URIS_PLUGIN_URL.'assets/img/up.png'; ?>");
216
  -webkit-transition-duration: 0.4s;
217
  -moz-transition-duration: 0.4s; transition-duration: 0.4s;
218
  }
@@ -226,126 +228,126 @@ jQuery(document).ready(function(){
226
  <table class="form-table">
227
  <tbody>
228
  <tr id="L3">
229
- <th scope="row"><label><?php _e('Display Slider Post Title', URIS_TD); ?></label></th>
230
  <td>
231
  <?php if(!isset($WRIS_L3_Slide_Title)) $WRIS_L3_Slide_Title = 1; ?>
232
- <input type="radio" name="wl-l3-slide-title" id="wl-l3-slide-title" value="1" <?php if($WRIS_L3_Slide_Title == 1 ) { echo "checked"; } ?>> <i class="fa fa-check fa-2x"></i> &nbsp;&nbsp;
233
- <input type="radio" name="wl-l3-slide-title" id="wl-l3-slide-title" value="0" <?php if($WRIS_L3_Slide_Title == 0 ) { echo "checked"; } ?>> <i class="fa fa-times fa-2x"></i>
234
  <p class="description">
235
- <?php _e('Select Yes/No option to show/hide slide title above slider', URIS_TD); ?>.
236
- <a href="#" id="p1" data-tooltip="#s1"><?php _e('Preview', URIS_TD); ?></a>
237
  </p>
238
  </td>
239
  </tr>
240
 
241
  <tr id="L3">
242
- <th scope="row"><label><?php _e('Display Slide Title', URIS_TD); ?></label></th>
243
  <td>
244
  <?php if(!isset($WRIS_L3_Show_Slide_Title)) $WRIS_L3_Show_Slide_Title = 0; ?>
245
- <input type="radio" name="wl-l3-show-slide-title" id="wl-l3-show-slide-title" value="1" <?php if($WRIS_L3_Show_Slide_Title == 1 ) { echo "checked"; } ?>> <i class="fa fa-check fa-2x"></i> &nbsp;&nbsp;
246
- <input type="radio" name="wl-l3-show-slide-title" id="wl-l3-show-slide-title" value="0" <?php if($WRIS_L3_Show_Slide_Title == 0 ) { echo "checked"; } ?>> <i class="fa fa-times fa-2x"></i>
247
  <p class="description">
248
- <?php _e('Select Yes/No option to show/hide slide title over slides.', URIS_TD); ?>
249
- <a href="#" id="p2" data-tooltip="#s2"><?php _e('Preview', URIS_TD); ?></a>
250
  </p>
251
  </td>
252
  </tr>
253
 
254
  <tr id="L3">
255
- <th scope="row"><label><?php _e('Slide Title Color', URIS_TD); ?></label></th>
256
  <td>
257
  <?php if(!isset($WRIS_L3_Title_Color)) $WRIS_L3_Title_Color = "#FFFFFF"; ?>
258
- <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" />
259
  <p class="description">
260
- <?php _e('Select a color to set slide title color.', URIS_TD); ?>
261
- <a href="#" id="p3" data-tooltip="#s3"><?php _e('Preview', URIS_TD); ?></a>
262
  </p>
263
  </td>
264
  </tr>
265
 
266
  <tr id="L3">
267
- <th scope="row"><label><?php _e('Slide Title Background Color', URIS_TD); ?></label></th>
268
  <td>
269
  <?php if(!isset($WRIS_L3_Title_BgColor)) $WRIS_L3_Title_BgColor = "#000000"; ?>
270
- <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" />
271
  <p class="description">
272
- <?php _e('Select a color to set slide title background color.', URIS_TD); ?>
273
- <a href="#" id="p4" data-tooltip="#s4"><?php _e('Preview', URIS_TD); ?></a>
274
  </p>
275
  </td>
276
  </tr>
277
 
278
  <tr id="L3">
279
- <th scope="row"><label><?php _e('Display Slide Description', URIS_TD); ?></label></th>
280
  <td>
281
  <?php if(!isset($WRIS_L3_Show_Slide_Desc)) $WRIS_L3_Show_Slide_Desc = 0; ?>
282
- <input type="radio" name="wl-l3-show-slide-desc" id="wl-l3-show-slide-desc" value="1" <?php if($WRIS_L3_Show_Slide_Desc == 1 ) { echo "checked"; } ?>> <i class="fa fa-check fa-2x"></i> &nbsp;&nbsp;
283
- <input type="radio" name="wl-l3-show-slide-desc" id="wl-l3-show-slide-desc" value="0" <?php if($WRIS_L3_Show_Slide_Desc == 0 ) { echo "checked"; } ?>> <i class="fa fa-times fa-2x"></i>
284
  <p class="description">
285
- <?php _e('Select Yes/No option to show/hide slide description over slides.', URIS_TD); ?>
286
- <a href="#" id="p5" data-tooltip="#s5"><?php _e('Preview', URIS_TD); ?></a>
287
  </p>
288
  </td>
289
  </tr>
290
 
291
  <tr id="L3">
292
- <th scope="row"><label><?php _e('Slide Description Color', URIS_TD); ?></label></th>
293
  <td>
294
  <?php if(!isset($WRIS_L3_Desc_Color)) $WRIS_L3_Desc_Color = "#FFFFFF"; ?>
295
- <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" />
296
  <p class="description">
297
- <?php _e('Select a color to set slide description color.', URIS_TD); ?>
298
- <a href="#" id="p6" data-tooltip="#s6"><?php _e('Preview', URIS_TD); ?></a>
299
  </p>
300
  </td>
301
  </tr>
302
 
303
  <tr id="L3">
304
- <th scope="row"><label><?php _e('Slide Description Background Color', URIS_TD); ?></label></th>
305
  <td>
306
  <?php if(!isset($WRIS_L3_Desc_BgColor)) $WRIS_L3_Desc_BgColor = "#000000"; ?>
307
- <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" />
308
  <p class="description">
309
- <?php _e('Select a color to set slide description background color.', URIS_TD); ?>
310
- <a href="#" id="p7" data-tooltip="#s7"><?php _e('Preview', URIS_TD); ?></a>
311
  </p>
312
  </td>
313
  </tr>
314
 
315
  <tr id="L3">
316
- <th scope="row"><label><?php _e('Auto Play Slide Show', URIS_TD); ?></label></th>
317
  <td>
318
  <?php if(!isset($WRIS_L3_Auto_Slideshow)) $WRIS_L3_Auto_Slideshow = 1; ?>
319
- <input type="radio" name="wl-l3-auto-slide" id="wl-l3-auto-slide" value="1" <?php if($WRIS_L3_Auto_Slideshow == 1 ) { echo "checked"; } ?>> <?php _e('Yes', URIS_TD); ?> &nbsp;&nbsp;
320
- <input type="radio" name="wl-l3-auto-slide" id="wl-l3-auto-slide" value="2" <?php if($WRIS_L3_Auto_Slideshow == 2 ) { echo "checked"; } ?>> <?php _e('Yes with Stop on Mouse Hover', URIS_TD); ?> &nbsp;&nbsp;
321
- <input type="radio" name="wl-l3-auto-slide" id="wl-l3-auto-slide" value="3" <?php if($WRIS_L3_Auto_Slideshow == 3 ) { echo "checked"; } ?>> <?php _e('No', URIS_TD); ?>
322
  <p class="description">
323
- <?php _e('Select Yes/No option to auto slide enable or disable into slider.', URIS_TD); ?>
324
- <!--<a href="#" id="p8" data-tooltip="#s8"><?php _e('Preview', URIS_TD); ?></a>-->
325
  </p>
326
  </td>
327
  </tr>
328
  <tr id="L3">
329
- <th scope="row"><label><?php _e('Slide Transition', URIS_TD); ?></label></th>
330
  <td>
331
  <?php if(!isset($WRIS_L3_Transition)) $WRIS_L3_Transition = 1; ?>
332
- <input type="radio" name="wl-l3-transition" id="wl-l3-transition" value="1" <?php if($WRIS_L3_Transition == 1 ) { echo "checked"; } ?>> Fade &nbsp;&nbsp;
333
- <input type="radio" name="wl-l3-transition" id="wl-l3-transition" value="0" <?php if($WRIS_L3_Transition == 0 ) { echo "checked"; } ?>> Slide
334
  <p class="description">
335
- <?php _e('Select a transition effect you want to apply on slides.', URIS_TD); ?>
336
- <!--<a href="#" id="p9" data-tooltip="#s9"><?php _e('Preview', URIS_TD); ?></a>-->
337
  </p>
338
  </td>
339
  </tr>
340
  <tr id="L3">
341
- <th scope="row"><label><?php _e('Auto play Slider Speed', URIS_TD); ?></label></th>
342
  <td>
343
  <?php if(!isset($WRIS_L3_Transition_Speed)) $WRIS_L3_Transition_Speed = 5000; ?>
344
- <input class="uris-slider" name="wl-l3-transition-speed" id="wl-l3-transition-speed" type="range" min="1000" max="60000" step="1000" value="<?php echo $WRIS_L3_Transition_Speed; ?>" data-rangeSlider>
345
  <span id="uris-range-val"></span>
346
  <p class="description">
347
- <?php _e('Set your desired slider speed of slides. Default speed is 5 Second.', URIS_TD); ?>
348
- <!--<a href="#" id="p10" data-tooltip="#s10"><?php _e('Preview', URIS_TD); ?></a>-->
349
  </p>
350
  </td>
351
  </tr>
@@ -365,234 +367,234 @@ jQuery(document).ready(function(){
365
  }
366
  </script>
367
  <tr id="L3">
368
- <th scope="row"><label><?php _e('Slide Order', URIS_TD); ?></label></th>
369
  <td>
370
  <?php if(!isset($WRIS_L3_Slide_Order)) $WRIS_L3_Slide_Order = "ASC"; ?>
371
- <input type="radio" name="wl-l3-slide-order" id="wl-l3-slide-order" value="ASC" <?php if($WRIS_L3_Slide_Order == "ASC" ) { echo "checked"; } ?>> <?php _e('Ascending', URIS_TD); ?> &nbsp;&nbsp;
372
- <input type="radio" name="wl-l3-slide-order" id="wl-l3-slide-order" value="DESC" <?php if($WRIS_L3_Slide_Order == "DESC" ) { echo "checked"; } ?>> <?php _e('Descending', URIS_TD); ?> &nbsp;&nbsp;
373
- <input type="radio" name="wl-l3-slide-order" id="wl-l3-slide-order" value="shuffle" <?php if($WRIS_L3_Slide_Order == "shuffle" ) { echo "checked"; } ?>> <?php _e('Random', URIS_TD); ?>
374
  <p class="description">
375
- <?php _e('Select a slide order you want to apply on slides', URIS_TD); ?>.
376
- <!--<a href="#" id="p11" data-tooltip="#s11"><?php _e('Preview', URIS_TD); ?></a>-->
377
  </p>
378
  </td>
379
  </tr>
380
 
381
  <tr id="L3">
382
- <th scope="row"><label><?php _e('Distance Between Slide', URIS_TD); ?></label></th>
383
  <td>
384
  <?php if(!isset($WRIS_L3_Slide_Distance)) $WRIS_L3_Slide_Distance = 5; ?>
385
  <select name="wl-l3-slide-distance" id="wl-l3-slide-distance">
386
- <option value="0" <?php if($WRIS_L3_Slide_Distance == 0) echo "selected=selected";?>>0</option>
387
- <option value="5" <?php if($WRIS_L3_Slide_Distance == 5) echo "selected=selected";?>>5</option>
388
- <option value="10" <?php if($WRIS_L3_Slide_Distance == 10) echo "selected=selected";?>>10</option>
389
- <option value="15" <?php if($WRIS_L3_Slide_Distance == 15) echo "selected=selected";?>>15</option>
390
- <option value="20" <?php if($WRIS_L3_Slide_Distance == 20) echo "selected=selected";?>>20</option>
391
- <option value="25" <?php if($WRIS_L3_Slide_Distance == 25) echo "selected=selected";?>>25</option>
392
  </select>
393
  <p class="description">
394
- <?php _e('Set a gap between all slides. Range 0 to 25. Works when Slide Transition setting selected to Slide.', URIS_TD); ?>&nbsp;
395
- <a href="#" id="p12" data-tooltip="#s12"><?php _e('Preview', URIS_TD); ?></a>
396
  </p>
397
  </td>
398
  </tr>
399
 
400
  <tr id="L3">
401
- <th scope="row"><label><?php _e('Show Thumbnail', URIS_TD); ?></label></th>
402
  <td>
403
  <?php if(!isset($WRIS_L3_Slider_Navigation)) $WRIS_L3_Slider_Navigation = 1; ?>
404
- <input type="radio" name="wl-l3-navigation" id="wl-l3-navigation" value="1" <?php if($WRIS_L3_Slider_Navigation == 1 ) { echo "checked"; } ?>> <i class="fa fa-check fa-2x"></i> &nbsp;&nbsp;
405
- <input type="radio" name="wl-l3-navigation" id="wl-l3-navigation" value="0" <?php if($WRIS_L3_Slider_Navigation == 0 ) { echo "checked"; } ?>> <i class="fa fa-times fa-2x"></i>
406
  <p class="description">
407
- <?php _e('Select Yes/No option to show or hide thumbnail based navigation under slides.', URIS_TD); ?>
408
- <a href="#" id="p13" data-tooltip="#s13"><?php _e('Preview', URIS_TD); ?></a>
409
  </p>
410
  </td>
411
  </tr>
412
 
413
  <tr id="L3">
414
- <th scope="row"><label><?php _e('Thumbnail Position', URIS_TD); ?></label></th>
415
  <td>
416
  <?php if(!isset($WRIS_L3_Navigation_Position)) $WRIS_L3_Navigation_Position = "bottom"; ?>
417
- <input type="radio" name="wl-l3-navigation-position" id="wl-l3-navigation-position" value="top" <?php if($WRIS_L3_Navigation_Position == "top" ) { echo "checked"; } ?>> <?php _e('Top', URIS_TD); ?> &nbsp;&nbsp;
418
- <input type="radio" name="wl-l3-navigation-position" id="wl-l3-navigation-position" value="bottom" <?php if($WRIS_L3_Navigation_Position == "bottom" ) { echo "checked"; } ?>> <?php _e('Bottom', URIS_TD); ?>
419
  <p class="description">
420
- <?php _e('Select a thumbnail position to show above or below the slider.', URIS_TD); ?>
421
- <a href="#" id="p14" data-tooltip="#s14"><?php _e('Preview', URIS_TD); ?></a>
422
  </p>
423
  </td>
424
  </tr>
425
 
426
  <tr id="L3">
427
- <th scope="row"><label><?php _e('Selected Thumbnail Style', URIS_TD); ?></label></th>
428
  <td>
429
  <?php if(!isset($WRIS_L3_Thumbnail_Style)) $WRIS_L3_Thumbnail_Style = "border"; ?>
430
- <input type="radio" name="wl-l3-thumbnail-style" id="wl-l3-thumbnail-style" value="border" <?php if($WRIS_L3_Thumbnail_Style == "border" ) { echo "checked"; } ?>> <?php _e('Border', URIS_TD); ?> &nbsp;&nbsp;
431
- <input type="radio" name="wl-l3-thumbnail-style" id="wl-l3-thumbnail-style" value="pointer" <?php if($WRIS_L3_Thumbnail_Style == "pointer" ) { echo "checked"; } ?>> <?php _e('Pointer', URIS_TD); ?>
432
  <p class="description">
433
- <?php _e('Select a style to apply on select thumbnails.', URIS_TD); ?>
434
- <a href="#" id="p15" data-tooltip="#s15"><?php _e('Preview', URIS_TD); ?></a>
435
  </p>
436
  </td>
437
  </tr>
438
 
439
  <tr id="L3">
440
- <th scope="row"><label><?php _e('Selected Thumbnail Style Color', URIS_TD); ?></label></th>
441
  <td>
442
  <?php if(!isset($WRIS_L3_Navigation_Pointer_Color)) $WRIS_L3_Navigation_Pointer_Color = "#000000"; ?>
443
  <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" />
444
  <p class="description">
445
- <?php _e('Select a color to set on selected thumbnail style color.', URIS_TD); ?>
446
- <a href="#" id="p16" data-tooltip="#s16"><?php _e('Preview', URIS_TD); ?></a>
447
  </p>
448
  </td>
449
  </tr>
450
 
451
  <tr id="L3">
452
- <th scope="row"><label><?php _e('Thumbnail Resize', URIS_TD); ?></label></th>
453
  <td>
454
  <?php if(!isset($WRIS_L3_Thumbnail_Width)) $WRIS_L3_Thumbnail_Width = "120"; ?>
455
  <?php if(!isset($WRIS_L3_Thumbnail_Height)) $WRIS_L3_Thumbnail_Height = "120"; ?>
456
- <?php _e('Width', URIS_TD); ?> <input type="text" name="wl-l3-navigation-width" id="wl-l3-navigation-width" value="<?php echo $WRIS_L3_Thumbnail_Width; ?>"> &nbsp;&nbsp;
457
- <?php _e('Height', URIS_TD); ?> <input type="text" name="wl-l3-navigation-height" id="wl-l3-navigation-height" value="<?php echo $WRIS_L3_Thumbnail_Height; ?>">
458
  <p class="description">
459
- <?php _e('Set custom height and width for thumbnails.', URIS_TD); ?>
460
- <a href="#" id="p17" data-tooltip="#s17"><?php _e('Preview', URIS_TD); ?></a>
461
  </p>
462
  </td>
463
  </tr>
464
 
465
  <tr id="L3">
466
- <th scope="row"><label><?php _e('Slider Width', URIS_TD); ?></label></th>
467
  <td>
468
  <?php if(!isset($WRIS_L3_Slider_Width)) $WRIS_L3_Slider_Width = 1000; ?>
469
  <?php if(!isset($WRIS_L3_Width)) $WRIS_L3_Width = "custom"; ?>
470
- <input type="radio" name="wl-l3-width" id="wl-l3-width" value="100%" <?php if($WRIS_L3_Width == "100%" ) { echo "checked"; } ?>> <?php _e('100% Width', URIS_TD); ?> &nbsp;&nbsp;
471
- <input type="radio" name="wl-l3-width" id="wl-l3-width" value="fullWidth" <?php if($WRIS_L3_Width == "fullWidth" ) { echo "checked"; } ?>> <?php _e('Full Width', URIS_TD); ?> &nbsp;&nbsp;
472
- <input type="radio" name="wl-l3-width" id="wl-l3-width" value="custom" <?php if($WRIS_L3_Width == "custom" ) { echo "checked"; } ?>> <?php _e('Custom', URIS_TD); ?>
473
  <input type="text" name="wl-l3-slider-width" id="wl-l3-slider-width" value="<?php echo $WRIS_L3_Slider_Width; ?>">
474
  <p class="description">
475
- <?php _e('Enter your desired width for slider. Default width is 1000px.', URIS_TD); ?>
476
- <a href="#" id="p18" data-tooltip="#s18"><?php _e('Preview', URIS_TD); ?></a>
477
  </p>
478
  </td>
479
  </tr>
480
 
481
  <tr id="L3">
482
- <th scope="row"><label><?php _e('Slider Height', URIS_TD); ?></label></th>
483
  <td>
484
  <?php if(!isset($WRIS_L3_Slider_Height)) $WRIS_L3_Slider_Height = 500; ?>
485
  <?php if(!isset($WRIS_L3_Height)) $WRIS_L3_Height = "custom"; ?>
486
- <input type="radio" name="wl-l3-height" id="wl-l3-height" value="auto" <?php if($WRIS_L3_Height == "auto" ) { echo "checked"; } ?>> <?php _e('Auto Height', URIS_TD); ?> &nbsp;&nbsp;
487
- <input type="radio" name="wl-l3-height" id="wl-l3-height" value="custom" <?php if($WRIS_L3_Height == "custom" ) { echo "checked"; } ?>> <?php _e('Custom', URIS_TD); ?>
488
  <input type="text" name="wl-l3-slider-height" id="wl-l3-slider-height" value="<?php echo $WRIS_L3_Slider_Height; ?>">
489
  <p class="description">
490
- <?php _e('Enter your desired height for slider. Default height is 500px.', URIS_TD); ?>
491
- <a href="#" id="p19" data-tooltip="#s19"><?php _e('Preview', URIS_TD); ?></a>
492
  </p>
493
  </td>
494
  </tr>
495
 
496
  <tr id="L3">
497
- <th scope="row"><label><?php _e('Slide Scale Mode', URIS_TD); ?></label></th>
498
  <td>
499
  <?php if(!isset($WRIS_L3_Slider_Scale_Mode)) $WRIS_L3_Slider_Scale_Mode = "cover"; ?>
500
  <select name="wl-l3-slider_scale_mode" id="wl-l3-slider_scale_mode" class="standard-dropdown">
501
  <optgroup label="Select Slider Scale Mode">
502
- <option value="cover" <?php if($WRIS_L3_Slider_Scale_Mode == "cover" ) { echo "selected=selected"; } ?>><?php _e('Cover', URIS_TD); ?></option>
503
- <option value="contain" <?php if($WRIS_L3_Slider_Scale_Mode == "contain" ) { echo "selected=selected"; } ?>><?php _e('Contain', URIS_TD); ?></option>
504
- <option value="exact" <?php if($WRIS_L3_Slider_Scale_Mode == "exact" ) { echo "selected=selected"; } ?>><?php _e('Exact', URIS_TD); ?></option>
505
- <option value="none" <?php if($WRIS_L3_Slider_Scale_Mode == "none" ) { echo "selected=selected"; } ?>><?php _e('None', URIS_TD); ?></option>
506
  </optgroup>
507
  </select>
508
  <p class="description">
509
- <?php _e('COVER will scale and crop the image so that it fills the entire slide.', URIS_TD); ?><br />
510
- <?php _e('CONTAIN will keep the entire image visible inside the slide.', URIS_TD); ?><br />
511
- <?php _e('EXACT will match the size of the image to the size of the slide.', URIS_TD); ?><br />
512
- <?php _e('NONE will leave the image to its original size.', URIS_TD); ?>
513
- <!--<a href="#" id="p20" data-tooltip="#s20"><?php _e('Preview', URIS_TD); ?></a>-->
514
  </p>
515
  </td>
516
  </tr>
517
 
518
  <tr id="L3">
519
- <th scope="row"><label><?php _e('Slide Auto Scale Up', URIS_TD); ?></label></th>
520
  <td>
521
  <?php if(!isset($WRIS_L3_Slider_Auto_Scale)) $WRIS_L3_Slider_Auto_Scale = 1; ?>
522
  <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>
523
  <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>
524
  <p class="description">
525
- <?php _e('If the slide can be scaled up more than its original size.', URIS_TD); ?>
526
- <!--<a href="#" id="p21" data-tooltip="#s21"><?php _e('Preview', URIS_TD); ?></a>-->
527
  </p>
528
  </td>
529
  </tr>
530
 
531
  <tr id="L3">
532
- <th scope="row"><label><?php _e('Show Navigation Arrow', URIS_TD); ?></label></th>
533
  <td>
534
  <?php if(!isset($WRIS_L3_Sliding_Arrow)) $WRIS_L3_Sliding_Arrow = 1; ?>
535
  <input type="radio" name="wl-l3-sliding-arrow" id="wl-l3-sliding-arrow" value="1" <?php if($WRIS_L3_Sliding_Arrow == 1 ) { echo "checked"; } ?>> <i class="fa fa-check fa-2x"></i> &nbsp;&nbsp;
536
  <input type="radio" name="wl-l3-sliding-arrow" id="wl-l3-sliding-arrow" value="0" <?php if($WRIS_L3_Sliding_Arrow == 0 ) { echo "checked"; } ?>> <i class="fa fa-times fa-2x"></i>
537
  <p class="description">
538
- <?php _e('Select Yes/No option to show or hide arrows on mouse hover on slide.', URIS_TD); ?>
539
- <a href="#" id="p22" data-tooltip="#s22"><?php _e('Preview', URIS_TD); ?></a>
540
  </p>
541
  </td>
542
  </tr>
543
 
544
  <tr id="L3">
545
- <th scope="row"><label><?php _e('Navigation Color', URIS_TD); ?></label></th>
546
  <td>
547
  <?php if(!isset($WRIS_L3_Navigation_Color)) $WRIS_L3_Navigation_Color = "#FFFFFF"; ?>
548
  <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" />
549
  <p class="description">
550
- <?php _e('Select a color to set navigation arrow and full screen icon color.', URIS_TD); ?>
551
- <a href="#" id="p23" data-tooltip="#s23"><?php _e('Preview', URIS_TD); ?></a>
552
  </p>
553
  </td>
554
  </tr>
555
 
556
  <tr id="L3">
557
- <th scope="row"><label><?php _e('Show Navigation Bullets', URIS_TD); ?></label></th>
558
  <td>
559
  <?php if(!isset($WRIS_L3_Navigation_Button)) $WRIS_L3_Navigation_Button = 1; ?>
560
  <input type="radio" name="wl-l3-navigation-button" id="wl-l3-navigation-button" value="1" <?php if($WRIS_L3_Navigation_Button == 1 ) { echo "checked"; } ?>> <i class="fa fa-check fa-2x"></i> &nbsp;&nbsp;
561
  <input type="radio" name="wl-l3-navigation-button" id="wl-l3-navigation-button" value="0" <?php if($WRIS_L3_Navigation_Button == 0 ) { echo "checked"; } ?>> <i class="fa fa-times fa-2x"></i>
562
  <p class="description">
563
- <?php _e('Select Yes/No option to show or hide slider navigation buttons under image slider.', URIS_TD); ?>
564
- <a href="#" id="p24" data-tooltip="#s24"><?php _e('Preview', URIS_TD); ?></a>
565
  </p>
566
  </td>
567
  </tr>
568
 
569
  <tr id="L3">
570
- <th scope="row"><label><?php _e('Navigation Bullets Color', URIS_TD); ?></label></th>
571
  <td>
572
  <?php if(!isset($WRIS_L3_Navigation_Bullets_Color)) $WRIS_L3_Navigation_Bullets_Color = "#000000"; ?>
573
  <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" />
574
  <p class="description">
575
- <?php _e('Select a color to set navigation bullets color.', URIS_TD); ?>
576
- <a href="#" id="p25" data-tooltip="#s25"><?php _e('Preview', URIS_TD); ?></a>
577
  </p>
578
  </td>
579
  </tr>
580
 
581
  <tr id="L3">
582
- <th scope="row"><label><?php _e('Full Screen Slide Show', URIS_TD); ?></label></th>
583
  <td>
584
  <?php if(!isset($WRIS_L3_Fullscreeen)) $WRIS_L3_Fullscreeen = 1; ?>
585
  <input type="radio" name="wl-l3-fullscreen" id="wl-l3-fullscreen" value="1" <?php if($WRIS_L3_Fullscreeen == 1 ) { echo "checked"; } ?>> <i class="fa fa-check fa-2x"></i> &nbsp;&nbsp;
586
  <input type="radio" name="wl-l3-fullscreen" id="wl-l3-fullscreen" value="0" <?php if($WRIS_L3_Fullscreeen == 0 ) { echo "checked"; } ?>> <i class="fa fa-times fa-2x"></i>
587
  <p class="description">
588
- <?php _e('Select Yes/No option for full screen slide show.', URIS_TD); ?>
589
- <a href="#" id="p26" data-tooltip="#s26"><?php _e('Preview', URIS_TD); ?></a>
590
  </p>
591
  </td>
592
  </tr>
593
 
594
  <tr>
595
- <th scope="row"><label><?php _e("Fonts", URIS_TD); ?></label></th>
596
  <td>
597
  <?php if(!isset($WRIS_L3_Font_Style)) $WRIS_L3_Font_Style = "Arial";?>
598
  <select name="wl-l3-font-style" id="wl-l3-font-style" class="standard-dropdown" >
@@ -620,20 +622,20 @@ jQuery(document).ready(function(){
620
  </optgroup>
621
  </select>
622
  <p class="description">
623
- <?php _e("Choose a font to apply on slide title and description.", URIS_TD); ?>
624
- <a href="#" id="p27" data-tooltip="#s27"><?php _e('Preview', URIS_TD); ?></a>
625
  </p>
626
 
627
  </td>
628
  </tr>
629
 
630
  <tr id="L3">
631
- <th scope="row"><label><?php _e('Custom CSS', URIS_TD); ?></label></th>
632
  <td>
633
  <?php if(!isset($WRIS_L3_Custom_CSS)) $WRIS_L3_Custom_CSS = ""; ?>
634
  <textarea name="wl-l3-custom-css" id="wl-l3-custom-css" rows="5" cols="75"><?php echo $WRIS_L3_Custom_CSS; ?></textarea>
635
  <p class="description">
636
- <?php _e('Enter any custom CSS you want to apply on this slider into text area filed.', URIS_TD); ?><br>
637
  </p>
638
  <p class="custnote">Note: Please Do Not Use <b>Style</b> Tag With Custom CSS</p>
639
  </td>
1
  <?php
2
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
+
4
  /**
5
  * Load Saved Settings
6
  */
214
  right:250px;
215
  text-indent:-9999px;
216
  display:none;
217
+ background: url("<?php echo esc_url(URIS_PLUGIN_URL.'assets/img/up.png'); ?>");
218
  -webkit-transition-duration: 0.4s;
219
  -moz-transition-duration: 0.4s; transition-duration: 0.4s;
220
  }
228
  <table class="form-table">
229
  <tbody>
230
  <tr id="L3">
231
+ <th scope="row"><label><?php _e('Display Slider Post Title', 'ultimate-responsive-image-slider'); ?></label></th>
232
  <td>
233
  <?php if(!isset($WRIS_L3_Slide_Title)) $WRIS_L3_Slide_Title = 1; ?>
234
+ <input type="radio" name="wl-l3-slide-title" id="wl-l3-slide-title" value="1" <?php if($WRIS_L3_Slide_Title == 1 ) { echo esc_attr("checked"); } ?>> <i class="fa fa-check fa-2x"></i> &nbsp;&nbsp;
235
+ <input type="radio" name="wl-l3-slide-title" id="wl-l3-slide-title" value="0" <?php if($WRIS_L3_Slide_Title == 0 ) { echo esc_attr("checked"); } ?>> <i class="fa fa-times fa-2x"></i>
236
  <p class="description">
237
+ <?php _e('Select Yes/No option to show/hide slide title above slider', 'ultimate-responsive-image-slider'); ?>.
238
+ <a href="#" id="p1" data-tooltip="#s1"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
239
  </p>
240
  </td>
241
  </tr>
242
 
243
  <tr id="L3">
244
+ <th scope="row"><label><?php _e('Display Slide Title', 'ultimate-responsive-image-slider'); ?></label></th>
245
  <td>
246
  <?php if(!isset($WRIS_L3_Show_Slide_Title)) $WRIS_L3_Show_Slide_Title = 0; ?>
247
+ <input type="radio" name="wl-l3-show-slide-title" id="wl-l3-show-slide-title" value="1" <?php if($WRIS_L3_Show_Slide_Title == 1 ) { echo esc_attr("checked"); } ?>> <i class="fa fa-check fa-2x"></i> &nbsp;&nbsp;
248
+ <input type="radio" name="wl-l3-show-slide-title" id="wl-l3-show-slide-title" value="0" <?php if($WRIS_L3_Show_Slide_Title == 0 ) { echo esc_attr("checked"); } ?>> <i class="fa fa-times fa-2x"></i>
249
  <p class="description">
250
+ <?php _e('Select Yes/No option to show/hide slide title over slides.', 'ultimate-responsive-image-slider'); ?>
251
+ <a href="#" id="p2" data-tooltip="#s2"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
252
  </p>
253
  </td>
254
  </tr>
255
 
256
  <tr id="L3">
257
+ <th scope="row"><label><?php _e('Slide Title Color', 'ultimate-responsive-image-slider'); ?></label></th>
258
  <td>
259
  <?php if(!isset($WRIS_L3_Title_Color)) $WRIS_L3_Title_Color = "#FFFFFF"; ?>
260
+ <input id="wl-l3-title-color" name="wl-l3-title-color" type="text" value="<?php echo esc_attr($WRIS_L3_Title_Color); ?>" class="my-color-field" data-default-color="#000000" />
261
  <p class="description">
262
+ <?php _e('Select a color to set slide title color.', 'ultimate-responsive-image-slider'); ?>
263
+ <a href="#" id="p3" data-tooltip="#s3"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
264
  </p>
265
  </td>
266
  </tr>
267
 
268
  <tr id="L3">
269
+ <th scope="row"><label><?php _e('Slide Title Background Color', 'ultimate-responsive-image-slider'); ?></label></th>
270
  <td>
271
  <?php if(!isset($WRIS_L3_Title_BgColor)) $WRIS_L3_Title_BgColor = "#000000"; ?>
272
+ <input id="wl-l3-title-bgcolor" name="wl-l3-title-bgcolor" type="text" value="<?php echo esc_attr($WRIS_L3_Title_BgColor); ?>" class="my-color-field" data-default-color="#ffffff" />
273
  <p class="description">
274
+ <?php _e('Select a color to set slide title background color.', 'ultimate-responsive-image-slider'); ?>
275
+ <a href="#" id="p4" data-tooltip="#s4"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
276
  </p>
277
  </td>
278
  </tr>
279
 
280
  <tr id="L3">
281
+ <th scope="row"><label><?php _e('Display Slide Description', 'ultimate-responsive-image-slider'); ?></label></th>
282
  <td>
283
  <?php if(!isset($WRIS_L3_Show_Slide_Desc)) $WRIS_L3_Show_Slide_Desc = 0; ?>
284
+ <input type="radio" name="wl-l3-show-slide-desc" id="wl-l3-show-slide-desc" value="1" <?php if($WRIS_L3_Show_Slide_Desc == 1 ) { echo esc_attr("checked"); } ?>> <i class="fa fa-check fa-2x"></i> &nbsp;&nbsp;
285
+ <input type="radio" name="wl-l3-show-slide-desc" id="wl-l3-show-slide-desc" value="0" <?php if($WRIS_L3_Show_Slide_Desc == 0 ) { echo esc_attr("checked"); } ?>> <i class="fa fa-times fa-2x"></i>
286
  <p class="description">
287
+ <?php _e('Select Yes/No option to show/hide slide description over slides.', 'ultimate-responsive-image-slider'); ?>
288
+ <a href="#" id="p5" data-tooltip="#s5"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
289
  </p>
290
  </td>
291
  </tr>
292
 
293
  <tr id="L3">
294
+ <th scope="row"><label><?php _e('Slide Description Color', 'ultimate-responsive-image-slider'); ?></label></th>
295
  <td>
296
  <?php if(!isset($WRIS_L3_Desc_Color)) $WRIS_L3_Desc_Color = "#FFFFFF"; ?>
297
+ <input id="wl-l3-desc-color" name="wl-l3-desc-color" type="text" value="<?php echo esc_attr($WRIS_L3_Desc_Color); ?>" class="my-color-field" data-default-color="#ffffff" />
298
  <p class="description">
299
+ <?php _e('Select a color to set slide description color.', 'ultimate-responsive-image-slider'); ?>
300
+ <a href="#" id="p6" data-tooltip="#s6"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
301
  </p>
302
  </td>
303
  </tr>
304
 
305
  <tr id="L3">
306
+ <th scope="row"><label><?php _e('Slide Description Background Color', 'ultimate-responsive-image-slider'); ?></label></th>
307
  <td>
308
  <?php if(!isset($WRIS_L3_Desc_BgColor)) $WRIS_L3_Desc_BgColor = "#000000"; ?>
309
+ <input id="wl-l3-desc-bgcolor" name="wl-l3-desc-bgcolor" type="text" value="<?php echo esc_attr($WRIS_L3_Desc_BgColor); ?>" class="my-color-field" data-default-color="#000000" />
310
  <p class="description">
311
+ <?php _e('Select a color to set slide description background color.', 'ultimate-responsive-image-slider'); ?>
312
+ <a href="#" id="p7" data-tooltip="#s7"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
313
  </p>
314
  </td>
315
  </tr>
316
 
317
  <tr id="L3">
318
+ <th scope="row"><label><?php _e('Auto Play Slide Show', 'ultimate-responsive-image-slider'); ?></label></th>
319
  <td>
320
  <?php if(!isset($WRIS_L3_Auto_Slideshow)) $WRIS_L3_Auto_Slideshow = 1; ?>
321
+ <input type="radio" name="wl-l3-auto-slide" id="wl-l3-auto-slide" value="1" <?php if($WRIS_L3_Auto_Slideshow == 1 ) { echo esc_attr("checked"); } ?>> <?php _e('Yes', 'ultimate-responsive-image-slider'); ?> &nbsp;&nbsp;
322
+ <input type="radio" name="wl-l3-auto-slide" id="wl-l3-auto-slide" value="2" <?php if($WRIS_L3_Auto_Slideshow == 2 ) { echo esc_attr("checked"); } ?>> <?php _e('Yes with Stop on Mouse Hover', 'ultimate-responsive-image-slider'); ?> &nbsp;&nbsp;
323
+ <input type="radio" name="wl-l3-auto-slide" id="wl-l3-auto-slide" value="3" <?php if($WRIS_L3_Auto_Slideshow == 3 ) { echo esc_attr("checked"); } ?>> <?php _e('No', 'ultimate-responsive-image-slider'); ?>
324
  <p class="description">
325
+ <?php _e('Select Yes/No option to auto slide enable or disable into slider.', 'ultimate-responsive-image-slider'); ?>
326
+ <!--<a href="#" id="p8" data-tooltip="#s8"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>-->
327
  </p>
328
  </td>
329
  </tr>
330
  <tr id="L3">
331
+ <th scope="row"><label><?php _e('Slide Transition', 'ultimate-responsive-image-slider'); ?></label></th>
332
  <td>
333
  <?php if(!isset($WRIS_L3_Transition)) $WRIS_L3_Transition = 1; ?>
334
+ <input type="radio" name="wl-l3-transition" id="wl-l3-transition" value="1" <?php if($WRIS_L3_Transition == 1 ) { echo esc_attr("checked"); } ?>> Fade &nbsp;&nbsp;
335
+ <input type="radio" name="wl-l3-transition" id="wl-l3-transition" value="0" <?php if($WRIS_L3_Transition == 0 ) { echo esc_attr("checked"); } ?>> Slide
336
  <p class="description">
337
+ <?php _e('Select a transition effect you want to apply on slides.', 'ultimate-responsive-image-slider'); ?>
338
+ <!--<a href="#" id="p9" data-tooltip="#s9"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>-->
339
  </p>
340
  </td>
341
  </tr>
342
  <tr id="L3">
343
+ <th scope="row"><label><?php _e('Auto play Slider Speed', 'ultimate-responsive-image-slider'); ?></label></th>
344
  <td>
345
  <?php if(!isset($WRIS_L3_Transition_Speed)) $WRIS_L3_Transition_Speed = 5000; ?>
346
+ <input class="uris-slider" name="wl-l3-transition-speed" id="wl-l3-transition-speed" type="range" min="1000" max="60000" step="1000" value="<?php echo esc_attr($WRIS_L3_Transition_Speed); ?>" data-rangeSlider>
347
  <span id="uris-range-val"></span>
348
  <p class="description">
349
+ <?php _e('Set your desired slider speed of slides. Default speed is 5 Second.', 'ultimate-responsive-image-slider'); ?>
350
+ <!--<a href="#" id="p10" data-tooltip="#s10"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>-->
351
  </p>
352
  </td>
353
  </tr>
367
  }
368
  </script>
369
  <tr id="L3">
370
+ <th scope="row"><label><?php _e('Slide Order', 'ultimate-responsive-image-slider'); ?></label></th>
371
  <td>
372
  <?php if(!isset($WRIS_L3_Slide_Order)) $WRIS_L3_Slide_Order = "ASC"; ?>
373
+ <input type="radio" name="wl-l3-slide-order" id="wl-l3-slide-order" value="ASC" <?php if($WRIS_L3_Slide_Order == "ASC" ) { echo esc_attr("checked"); } ?>> <?php _e('Ascending', 'ultimate-responsive-image-slider'); ?> &nbsp;&nbsp;
374
+ <input type="radio" name="wl-l3-slide-order" id="wl-l3-slide-order" value="DESC" <?php if($WRIS_L3_Slide_Order == "DESC" ) { echo esc_attr("checked"); } ?>> <?php _e('Descending', 'ultimate-responsive-image-slider'); ?> &nbsp;&nbsp;
375
+ <input type="radio" name="wl-l3-slide-order" id="wl-l3-slide-order" value="shuffle" <?php if($WRIS_L3_Slide_Order == "shuffle" ) { echo esc_attr("checked"); } ?>> <?php _e('Random', 'ultimate-responsive-image-slider'); ?>
376
  <p class="description">
377
+ <?php _e('Select a slide order you want to apply on slides', 'ultimate-responsive-image-slider'); ?>.
378
+ <!--<a href="#" id="p11" data-tooltip="#s11"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>-->
379
  </p>
380
  </td>
381
  </tr>
382
 
383
  <tr id="L3">
384
+ <th scope="row"><label><?php _e('Distance Between Slide', 'ultimate-responsive-image-slider'); ?></label></th>
385
  <td>
386
  <?php if(!isset($WRIS_L3_Slide_Distance)) $WRIS_L3_Slide_Distance = 5; ?>
387
  <select name="wl-l3-slide-distance" id="wl-l3-slide-distance">
388
+ <option value="0" <?php if($WRIS_L3_Slide_Distance == 0) echo esc_attr("selected=selected");?>>0</option>
389
+ <option value="5" <?php if($WRIS_L3_Slide_Distance == 5) echo esc_attr("selected=selected");?>>5</option>
390
+ <option value="10" <?php if($WRIS_L3_Slide_Distance == 10) echo esc_attr("selected=selected");?>>10</option>
391
+ <option value="15" <?php if($WRIS_L3_Slide_Distance == 15) echo esc_attr("selected=selected");?>>15</option>
392
+ <option value="20" <?php if($WRIS_L3_Slide_Distance == 20) echo esc_attr("selected=selected");?>>20</option>
393
+ <option value="25" <?php if($WRIS_L3_Slide_Distance == 25) echo esc_attr("selected=selected");?>>25</option>
394
  </select>
395
  <p class="description">
396
+ <?php _e('Set a gap between all slides. Range 0 to 25. Works when Slide Transition setting selected to Slide.', 'ultimate-responsive-image-slider'); ?>&nbsp;
397
+ <a href="#" id="p12" data-tooltip="#s12"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
398
  </p>
399
  </td>
400
  </tr>
401
 
402
  <tr id="L3">
403
+ <th scope="row"><label><?php _e('Show Thumbnail', 'ultimate-responsive-image-slider'); ?></label></th>
404
  <td>
405
  <?php if(!isset($WRIS_L3_Slider_Navigation)) $WRIS_L3_Slider_Navigation = 1; ?>
406
+ <input type="radio" name="wl-l3-navigation" id="wl-l3-navigation" value="1" <?php if($WRIS_L3_Slider_Navigation == 1 ) { echo esc_attr("checked"); } ?>> <i class="fa fa-check fa-2x"></i> &nbsp;&nbsp;
407
+ <input type="radio" name="wl-l3-navigation" id="wl-l3-navigation" value="0" <?php if($WRIS_L3_Slider_Navigation == 0 ) { echo esc_attr("checked"); } ?>> <i class="fa fa-times fa-2x"></i>
408
  <p class="description">
409
+ <?php _e('Select Yes/No option to show or hide thumbnail based navigation under slides.', 'ultimate-responsive-image-slider'); ?>
410
+ <a href="#" id="p13" data-tooltip="#s13"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
411
  </p>
412
  </td>
413
  </tr>
414
 
415
  <tr id="L3">
416
+ <th scope="row"><label><?php _e('Thumbnail Position', 'ultimate-responsive-image-slider'); ?></label></th>
417
  <td>
418
  <?php if(!isset($WRIS_L3_Navigation_Position)) $WRIS_L3_Navigation_Position = "bottom"; ?>
419
+ <input type="radio" name="wl-l3-navigation-position" id="wl-l3-navigation-position" value="top" <?php if($WRIS_L3_Navigation_Position == "top" ) { echo esc_attr("checked"); } ?>> <?php _e('Top', 'ultimate-responsive-image-slider'); ?> &nbsp;&nbsp;
420
+ <input type="radio" name="wl-l3-navigation-position" id="wl-l3-navigation-position" value="bottom" <?php if($WRIS_L3_Navigation_Position == "bottom" ) { echo esc_attr("checked"); } ?>> <?php _e('Bottom', 'ultimate-responsive-image-slider'); ?>
421
  <p class="description">
422
+ <?php _e('Select a thumbnail position to show above or below the slider.', 'ultimate-responsive-image-slider'); ?>
423
+ <a href="#" id="p14" data-tooltip="#s14"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
424
  </p>
425
  </td>
426
  </tr>
427
 
428
  <tr id="L3">
429
+ <th scope="row"><label><?php _e('Selected Thumbnail Style', 'ultimate-responsive-image-slider'); ?></label></th>
430
  <td>
431
  <?php if(!isset($WRIS_L3_Thumbnail_Style)) $WRIS_L3_Thumbnail_Style = "border"; ?>
432
+ <input type="radio" name="wl-l3-thumbnail-style" id="wl-l3-thumbnail-style" value="border" <?php if($WRIS_L3_Thumbnail_Style == "border" ) { echo esc_attr("checked"); } ?>> <?php _e('Border', 'ultimate-responsive-image-slider'); ?> &nbsp;&nbsp;
433
+ <input type="radio" name="wl-l3-thumbnail-style" id="wl-l3-thumbnail-style" value="pointer" <?php if($WRIS_L3_Thumbnail_Style == "pointer" ) { echo esc_attr("checked"); } ?>> <?php _e('Pointer', 'ultimate-responsive-image-slider'); ?>
434
  <p class="description">
435
+ <?php _e('Select a style to apply on select thumbnails.', 'ultimate-responsive-image-slider'); ?>
436
+ <a href="#" id="p15" data-tooltip="#s15"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
437
  </p>
438
  </td>
439
  </tr>
440
 
441
  <tr id="L3">
442
+ <th scope="row"><label><?php _e('Selected Thumbnail Style Color', 'ultimate-responsive-image-slider'); ?></label></th>
443
  <td>
444
  <?php if(!isset($WRIS_L3_Navigation_Pointer_Color)) $WRIS_L3_Navigation_Pointer_Color = "#000000"; ?>
445
  <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" />
446
  <p class="description">
447
+ <?php _e('Select a color to set on selected thumbnail style color.', 'ultimate-responsive-image-slider'); ?>
448
+ <a href="#" id="p16" data-tooltip="#s16"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
449
  </p>
450
  </td>
451
  </tr>
452
 
453
  <tr id="L3">
454
+ <th scope="row"><label><?php _e('Thumbnail Resize', 'ultimate-responsive-image-slider'); ?></label></th>
455
  <td>
456
  <?php if(!isset($WRIS_L3_Thumbnail_Width)) $WRIS_L3_Thumbnail_Width = "120"; ?>
457
  <?php if(!isset($WRIS_L3_Thumbnail_Height)) $WRIS_L3_Thumbnail_Height = "120"; ?>
458
+ <?php _e('Width', 'ultimate-responsive-image-slider'); ?> <input type="text" name="wl-l3-navigation-width" id="wl-l3-navigation-width" value="<?php echo $WRIS_L3_Thumbnail_Width; ?>"> &nbsp;&nbsp;
459
+ <?php _e('Height', 'ultimate-responsive-image-slider'); ?> <input type="text" name="wl-l3-navigation-height" id="wl-l3-navigation-height" value="<?php echo $WRIS_L3_Thumbnail_Height; ?>">
460
  <p class="description">
461
+ <?php _e('Set custom height and width for thumbnails.', 'ultimate-responsive-image-slider'); ?>
462
+ <a href="#" id="p17" data-tooltip="#s17"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
463
  </p>
464
  </td>
465
  </tr>
466
 
467
  <tr id="L3">
468
+ <th scope="row"><label><?php _e('Slider Width', 'ultimate-responsive-image-slider'); ?></label></th>
469
  <td>
470
  <?php if(!isset($WRIS_L3_Slider_Width)) $WRIS_L3_Slider_Width = 1000; ?>
471
  <?php if(!isset($WRIS_L3_Width)) $WRIS_L3_Width = "custom"; ?>
472
+ <input type="radio" name="wl-l3-width" id="wl-l3-width" value="100%" <?php if($WRIS_L3_Width == "100%" ) { echo "checked"; } ?>> <?php _e('100% Width', 'ultimate-responsive-image-slider'); ?> &nbsp;&nbsp;
473
+ <input type="radio" name="wl-l3-width" id="wl-l3-width" value="fullWidth" <?php if($WRIS_L3_Width == "fullWidth" ) { echo "checked"; } ?>> <?php _e('Full Width', 'ultimate-responsive-image-slider'); ?> &nbsp;&nbsp;
474
+ <input type="radio" name="wl-l3-width" id="wl-l3-width" value="custom" <?php if($WRIS_L3_Width == "custom" ) { echo "checked"; } ?>> <?php _e('Custom', 'ultimate-responsive-image-slider'); ?>
475
  <input type="text" name="wl-l3-slider-width" id="wl-l3-slider-width" value="<?php echo $WRIS_L3_Slider_Width; ?>">
476
  <p class="description">
477
+ <?php _e('Enter your desired width for slider. Default width is 1000px.', 'ultimate-responsive-image-slider'); ?>
478
+ <a href="#" id="p18" data-tooltip="#s18"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
479
  </p>
480
  </td>
481
  </tr>
482
 
483
  <tr id="L3">
484
+ <th scope="row"><label><?php _e('Slider Height', 'ultimate-responsive-image-slider'); ?></label></th>
485
  <td>
486
  <?php if(!isset($WRIS_L3_Slider_Height)) $WRIS_L3_Slider_Height = 500; ?>
487
  <?php if(!isset($WRIS_L3_Height)) $WRIS_L3_Height = "custom"; ?>
488
+ <input type="radio" name="wl-l3-height" id="wl-l3-height" value="auto" <?php if($WRIS_L3_Height == "auto" ) { echo "checked"; } ?>> <?php _e('Auto Height', 'ultimate-responsive-image-slider'); ?> &nbsp;&nbsp;
489
+ <input type="radio" name="wl-l3-height" id="wl-l3-height" value="custom" <?php if($WRIS_L3_Height == "custom" ) { echo "checked"; } ?>> <?php _e('Custom', 'ultimate-responsive-image-slider'); ?>
490
  <input type="text" name="wl-l3-slider-height" id="wl-l3-slider-height" value="<?php echo $WRIS_L3_Slider_Height; ?>">
491
  <p class="description">
492
+ <?php _e('Enter your desired height for slider. Default height is 500px.', 'ultimate-responsive-image-slider'); ?>
493
+ <a href="#" id="p19" data-tooltip="#s19"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
494
  </p>
495
  </td>
496
  </tr>
497
 
498
  <tr id="L3">
499
+ <th scope="row"><label><?php _e('Slide Scale Mode', 'ultimate-responsive-image-slider'); ?></label></th>
500
  <td>
501
  <?php if(!isset($WRIS_L3_Slider_Scale_Mode)) $WRIS_L3_Slider_Scale_Mode = "cover"; ?>
502
  <select name="wl-l3-slider_scale_mode" id="wl-l3-slider_scale_mode" class="standard-dropdown">
503
  <optgroup label="Select Slider Scale Mode">
504
+ <option value="cover" <?php if($WRIS_L3_Slider_Scale_Mode == "cover" ) { echo "selected=selected"; } ?>><?php _e('Cover', 'ultimate-responsive-image-slider'); ?></option>
505
+ <option value="contain" <?php if($WRIS_L3_Slider_Scale_Mode == "contain" ) { echo "selected=selected"; } ?>><?php _e('Contain', 'ultimate-responsive-image-slider'); ?></option>
506
+ <option value="exact" <?php if($WRIS_L3_Slider_Scale_Mode == "exact" ) { echo "selected=selected"; } ?>><?php _e('Exact', 'ultimate-responsive-image-slider'); ?></option>
507
+ <option value="none" <?php if($WRIS_L3_Slider_Scale_Mode == "none" ) { echo "selected=selected"; } ?>><?php _e('None', 'ultimate-responsive-image-slider'); ?></option>
508
  </optgroup>
509
  </select>
510
  <p class="description">
511
+ <?php _e('COVER will scale and crop the image so that it fills the entire slide.', 'ultimate-responsive-image-slider'); ?><br />
512
+ <?php _e('CONTAIN will keep the entire image visible inside the slide.', 'ultimate-responsive-image-slider'); ?><br />
513
+ <?php _e('EXACT will match the size of the image to the size of the slide.', 'ultimate-responsive-image-slider'); ?><br />
514
+ <?php _e('NONE will leave the image to its original size.', 'ultimate-responsive-image-slider'); ?>
515
+ <!--<a href="#" id="p20" data-tooltip="#s20"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>-->
516
  </p>
517
  </td>
518
  </tr>
519
 
520
  <tr id="L3">
521
+ <th scope="row"><label><?php _e('Slide Auto Scale Up', 'ultimate-responsive-image-slider'); ?></label></th>
522
  <td>
523
  <?php if(!isset($WRIS_L3_Slider_Auto_Scale)) $WRIS_L3_Slider_Auto_Scale = 1; ?>
524
  <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>
525
  <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>
526
  <p class="description">
527
+ <?php _e('If the slide can be scaled up more than its original size.', 'ultimate-responsive-image-slider'); ?>
528
+ <!--<a href="#" id="p21" data-tooltip="#s21"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>-->
529
  </p>
530
  </td>
531
  </tr>
532
 
533
  <tr id="L3">
534
+ <th scope="row"><label><?php _e('Show Navigation Arrow', 'ultimate-responsive-image-slider'); ?></label></th>
535
  <td>
536
  <?php if(!isset($WRIS_L3_Sliding_Arrow)) $WRIS_L3_Sliding_Arrow = 1; ?>
537
  <input type="radio" name="wl-l3-sliding-arrow" id="wl-l3-sliding-arrow" value="1" <?php if($WRIS_L3_Sliding_Arrow == 1 ) { echo "checked"; } ?>> <i class="fa fa-check fa-2x"></i> &nbsp;&nbsp;
538
  <input type="radio" name="wl-l3-sliding-arrow" id="wl-l3-sliding-arrow" value="0" <?php if($WRIS_L3_Sliding_Arrow == 0 ) { echo "checked"; } ?>> <i class="fa fa-times fa-2x"></i>
539
  <p class="description">
540
+ <?php _e('Select Yes/No option to show or hide arrows on mouse hover on slide.', 'ultimate-responsive-image-slider'); ?>
541
+ <a href="#" id="p22" data-tooltip="#s22"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
542
  </p>
543
  </td>
544
  </tr>
545
 
546
  <tr id="L3">
547
+ <th scope="row"><label><?php _e('Navigation Color', 'ultimate-responsive-image-slider'); ?></label></th>
548
  <td>
549
  <?php if(!isset($WRIS_L3_Navigation_Color)) $WRIS_L3_Navigation_Color = "#FFFFFF"; ?>
550
  <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" />
551
  <p class="description">
552
+ <?php _e('Select a color to set navigation arrow and full screen icon color.', 'ultimate-responsive-image-slider'); ?>
553
+ <a href="#" id="p23" data-tooltip="#s23"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
554
  </p>
555
  </td>
556
  </tr>
557
 
558
  <tr id="L3">
559
+ <th scope="row"><label><?php _e('Show Navigation Bullets', 'ultimate-responsive-image-slider'); ?></label></th>
560
  <td>
561
  <?php if(!isset($WRIS_L3_Navigation_Button)) $WRIS_L3_Navigation_Button = 1; ?>
562
  <input type="radio" name="wl-l3-navigation-button" id="wl-l3-navigation-button" value="1" <?php if($WRIS_L3_Navigation_Button == 1 ) { echo "checked"; } ?>> <i class="fa fa-check fa-2x"></i> &nbsp;&nbsp;
563
  <input type="radio" name="wl-l3-navigation-button" id="wl-l3-navigation-button" value="0" <?php if($WRIS_L3_Navigation_Button == 0 ) { echo "checked"; } ?>> <i class="fa fa-times fa-2x"></i>
564
  <p class="description">
565
+ <?php _e('Select Yes/No option to show or hide slider navigation buttons under image slider.', 'ultimate-responsive-image-slider'); ?>
566
+ <a href="#" id="p24" data-tooltip="#s24"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
567
  </p>
568
  </td>
569
  </tr>
570
 
571
  <tr id="L3">
572
+ <th scope="row"><label><?php _e('Navigation Bullets Color', 'ultimate-responsive-image-slider'); ?></label></th>
573
  <td>
574
  <?php if(!isset($WRIS_L3_Navigation_Bullets_Color)) $WRIS_L3_Navigation_Bullets_Color = "#000000"; ?>
575
  <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" />
576
  <p class="description">
577
+ <?php _e('Select a color to set navigation bullets color.', 'ultimate-responsive-image-slider'); ?>
578
+ <a href="#" id="p25" data-tooltip="#s25"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
579
  </p>
580
  </td>
581
  </tr>
582
 
583
  <tr id="L3">
584
+ <th scope="row"><label><?php _e('Full Screen Slide Show', 'ultimate-responsive-image-slider'); ?></label></th>
585
  <td>
586
  <?php if(!isset($WRIS_L3_Fullscreeen)) $WRIS_L3_Fullscreeen = 1; ?>
587
  <input type="radio" name="wl-l3-fullscreen" id="wl-l3-fullscreen" value="1" <?php if($WRIS_L3_Fullscreeen == 1 ) { echo "checked"; } ?>> <i class="fa fa-check fa-2x"></i> &nbsp;&nbsp;
588
  <input type="radio" name="wl-l3-fullscreen" id="wl-l3-fullscreen" value="0" <?php if($WRIS_L3_Fullscreeen == 0 ) { echo "checked"; } ?>> <i class="fa fa-times fa-2x"></i>
589
  <p class="description">
590
+ <?php _e('Select Yes/No option for full screen slide show.', 'ultimate-responsive-image-slider'); ?>
591
+ <a href="#" id="p26" data-tooltip="#s26"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
592
  </p>
593
  </td>
594
  </tr>
595
 
596
  <tr>
597
+ <th scope="row"><label><?php _e("Fonts", 'ultimate-responsive-image-slider'); ?></label></th>
598
  <td>
599
  <?php if(!isset($WRIS_L3_Font_Style)) $WRIS_L3_Font_Style = "Arial";?>
600
  <select name="wl-l3-font-style" id="wl-l3-font-style" class="standard-dropdown" >
622
  </optgroup>
623
  </select>
624
  <p class="description">
625
+ <?php _e("Choose a font to apply on slide title and description.", 'ultimate-responsive-image-slider'); ?>
626
+ <a href="#" id="p27" data-tooltip="#s27"><?php _e('Preview', 'ultimate-responsive-image-slider'); ?></a>
627
  </p>
628
 
629
  </td>
630
  </tr>
631
 
632
  <tr id="L3">
633
+ <th scope="row"><label><?php _e('Custom CSS', 'ultimate-responsive-image-slider'); ?></label></th>
634
  <td>
635
  <?php if(!isset($WRIS_L3_Custom_CSS)) $WRIS_L3_Custom_CSS = ""; ?>
636
  <textarea name="wl-l3-custom-css" id="wl-l3-custom-css" rows="5" cols="75"><?php echo $WRIS_L3_Custom_CSS; ?></textarea>
637
  <p class="description">
638
+ <?php _e('Enter any custom CSS you want to apply on this slider into text area filed.', 'ultimate-responsive-image-slider'); ?><br>
639
  </p>
640
  <p class="custnote">Note: Please Do Not Use <b>Style</b> Tag With Custom CSS</p>
641
  </td>
shortcode.php CHANGED
@@ -1,4 +1,6 @@
1
  <?php
 
 
2
  add_shortcode( 'URIS', 'Wpfrank_URIS_Shortcode' );
3
  function Wpfrank_URIS_Shortcode( $Id ) {
4
 
1
  <?php
2
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
+
4
  add_shortcode( 'URIS', 'Wpfrank_URIS_Shortcode' );
5
  function Wpfrank_URIS_Shortcode( $Id ) {
6
 
tooltip.php CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  <style>
2
  .sprev {
3
  margin:8px;
@@ -45,110 +48,110 @@ jQuery(document).ready( function(){
45
  <?php $PreviewImg = URIS_PLUGIN_URL.'assets/img/preview/'; ?>
46
 
47
  <div style="display:none;" id="s1">
48
- <h4><?php _e('Display Slider Post Title', URIS_TD); ?></h4>
49
- <img src="<?php echo $PreviewImg."Display Slider Post Title.png"; ?>" class="sprev">
50
  </div>
51
 
52
  <div style="display:none;" id="s2">
53
- <h4><?php _e('Display Slide Title', URIS_TD); ?></h4>
54
- <img src="<?php echo $PreviewImg."Display Slide Title.png"; ?>" class="sprev">
55
  </div>
56
 
57
  <div style="display:none;" id="s3">
58
- <h4><?php _e('Slide Title Color', URIS_TD); ?></h4>
59
- <img src="<?php echo $PreviewImg."Slide Title Color.png"; ?>" class="sprev">
60
  </div>
61
 
62
  <div style="display:none;" id="s4">
63
- <h4><?php _e('Slide Title Background Color', URIS_TD); ?></h4>
64
- <img src="<?php echo $PreviewImg."Slide Title Background Color.png"; ?>" class="sprev">
65
  </div>
66
 
67
  <div style="display:none;" id="s5">
68
- <h4><?php _e('Display Slide Description', URIS_TD); ?></h4>
69
- <img src="<?php echo $PreviewImg."Display Slide Description.png"; ?>" class="sprev">
70
  </div>
71
 
72
  <div style="display:none;" id="s6">
73
- <h4><?php _e('Slide Description Color', URIS_TD); ?></h4>
74
- <img src="<?php echo $PreviewImg."Slide Description Color.png"; ?>" class="sprev">
75
  </div>
76
 
77
  <div style="display:none;" id="s7">
78
- <h4><?php _e('Slide Description Background Color', URIS_TD); ?></h4>
79
- <img src="<?php echo $PreviewImg."Slide Description Background Color.png"; ?>" class="sprev">
80
  </div>
81
 
82
  <!-- 8 9 10 11 -->
83
 
84
  <div style="display:none;" id="s12">
85
- <h4><?php _e('Distance Between Slide', URIS_TD); ?></h4>
86
- <img src="<?php echo $PreviewImg."Distance Between Slide.png"; ?>" class="sprev">
87
  </div>
88
 
89
  <div style="display:none;" id="s13">
90
- <h4><?php _e('Show Thumbnail', URIS_TD); ?></h4>
91
- <img src="<?php echo $PreviewImg."Show Thumbnail.png"; ?>" class="sprev">
92
  </div>
93
 
94
  <div style="display:none;" id="s14">
95
- <h4><?php _e('Thumbnail Position', URIS_TD); ?></h4>
96
- <img src="<?php echo $PreviewImg."Thumbnail Position.png"; ?>" class="sprev">
97
  </div>
98
 
99
  <div style="display:none;" id="s15">
100
- <h4><?php _e('Selected Thumbnail Style', URIS_TD); ?></h4>
101
- <img src="<?php echo $PreviewImg."Selected Thumbnail Style.png"; ?>" class="sprev">
102
  </div>
103
 
104
  <div style="display:none;" id="s16">
105
- <h4><?php _e('Selected Thumbnail Style Color', URIS_TD); ?></h4>
106
- <img src="<?php echo $PreviewImg."Selected Thumbnail Style Color.png"; ?>" class="sprev">
107
  </div>
108
 
109
  <div style="display:none;" id="s17">
110
- <h4><?php _e('Thumbnail Resize', URIS_TD); ?></h4>
111
- <img src="<?php echo $PreviewImg."Thumbnail Resize.png"; ?>" class="sprev">
112
  </div>
113
 
114
  <div style="display:none;" id="s18">
115
- <h4><?php _e('Slider Width', URIS_TD); ?></h4>
116
- <img src="<?php echo $PreviewImg."Slider Width.png"; ?>" class="sprev">
117
  </div>
118
 
119
  <div style="display:none;" id="s19">
120
- <h4><?php _e('Slider Height', URIS_TD); ?></h4>
121
- <img src="<?php echo $PreviewImg."Slider Height.png"; ?>" class="sprev">
122
  </div>
123
 
124
  <!-- 20 21 -->
125
 
126
  <div style="display:none;" id="s22">
127
- <h4><?php _e('Show Navigation Arrow', URIS_TD); ?></h4>
128
- <img src="<?php echo $PreviewImg."Show Navigation Arrow.png"; ?>" class="sprev">
129
  </div>
130
 
131
  <div style="display:none;" id="s23">
132
- <h4><?php _e('Navigation Color', URIS_TD); ?></h4>
133
- <img src="<?php echo $PreviewImg."Navigation Color.png"; ?>" class="sprev">
134
  </div>
135
 
136
  <div style="display:none;" id="s24">
137
- <h4><?php _e('Show Navigation Bullets', URIS_TD); ?></h4>
138
- <img src="<?php echo $PreviewImg."Show Navigation Bullets.png"; ?>" class="sprev">
139
  </div>
140
 
141
  <div style="display:none;" id="s25">
142
- <h4><?php _e('Navigation Bullets Color', URIS_TD); ?></h4>
143
- <img src="<?php echo $PreviewImg."Navigation Bullets Color.png"; ?>" class="sprev">
144
  </div>
145
 
146
  <div style="display:none;" id="s26">
147
- <h4><?php _e('Full Screen Slide Show', URIS_TD); ?></h4>
148
- <img src="<?php echo $PreviewImg."Full Screen Slide Show.png"; ?>" class="sprev">
149
  </div>
150
 
151
  <div style="display:none;" id="s27">
152
- <h4><?php _e('Fonts', URIS_TD); ?></h4>
153
- <img src="<?php echo $PreviewImg."Fonts.png"; ?>" class="sprev">
154
  </div>
1
+ <?php
2
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
+ ?>
4
  <style>
5
  .sprev {
6
  margin:8px;
48
  <?php $PreviewImg = URIS_PLUGIN_URL.'assets/img/preview/'; ?>
49
 
50
  <div style="display:none;" id="s1">
51
+ <h4><?php _e('Display Slider Post Title', 'ultimate-responsive-image-slider'); ?></h4>
52
+ <img src="<?php echo esc_url($PreviewImg."Display Slider Post Title.png"); ?>" class="sprev">
53
  </div>
54
 
55
  <div style="display:none;" id="s2">
56
+ <h4><?php _e('Display Slide Title', 'ultimate-responsive-image-slider'); ?></h4>
57
+ <img src="<?php echo esc_url($PreviewImg."Display Slide Title.png"); ?>" class="sprev">
58
  </div>
59
 
60
  <div style="display:none;" id="s3">
61
+ <h4><?php _e('Slide Title Color', 'ultimate-responsive-image-slider'); ?></h4>
62
+ <img src="<?php echo esc_url($PreviewImg."Slide Title Color.png"); ?>" class="sprev">
63
  </div>
64
 
65
  <div style="display:none;" id="s4">
66
+ <h4><?php _e('Slide Title Background Color', 'ultimate-responsive-image-slider'); ?></h4>
67
+ <img src="<?php echo esc_url($PreviewImg."Slide Title Background Color.png"); ?>" class="sprev">
68
  </div>
69
 
70
  <div style="display:none;" id="s5">
71
+ <h4><?php _e('Display Slide Description', 'ultimate-responsive-image-slider'); ?></h4>
72
+ <img src="<?php echo esc_url($PreviewImg."Display Slide Description.png"); ?>" class="sprev">
73
  </div>
74
 
75
  <div style="display:none;" id="s6">
76
+ <h4><?php _e('Slide Description Color', 'ultimate-responsive-image-slider'); ?></h4>
77
+ <img src="<?php echo esc_url($PreviewImg."Slide Description Color.png"); ?>" class="sprev">
78
  </div>
79
 
80
  <div style="display:none;" id="s7">
81
+ <h4><?php _e('Slide Description Background Color', 'ultimate-responsive-image-slider'); ?></h4>
82
+ <img src="<?php echo esc_url($PreviewImg."Slide Description Background Color.png"); ?>" class="sprev">
83
  </div>
84
 
85
  <!-- 8 9 10 11 -->
86
 
87
  <div style="display:none;" id="s12">
88
+ <h4><?php _e('Distance Between Slide', 'ultimate-responsive-image-slider'); ?></h4>
89
+ <img src="<?php echo esc_url($PreviewImg."Distance Between Slide.png"); ?>" class="sprev">
90
  </div>
91
 
92
  <div style="display:none;" id="s13">
93
+ <h4><?php _e('Show Thumbnail', 'ultimate-responsive-image-slider'); ?></h4>
94
+ <img src="<?php echo esc_url($PreviewImg."Show Thumbnail.png"); ?>" class="sprev">
95
  </div>
96
 
97
  <div style="display:none;" id="s14">
98
+ <h4><?php _e('Thumbnail Position', 'ultimate-responsive-image-slider'); ?></h4>
99
+ <img src="<?php echo esc_url($PreviewImg."Thumbnail Position.png"); ?>" class="sprev">
100
  </div>
101
 
102
  <div style="display:none;" id="s15">
103
+ <h4><?php _e('Selected Thumbnail Style', 'ultimate-responsive-image-slider'); ?></h4>
104
+ <img src="<?php echo esc_url($PreviewImg."Selected Thumbnail Style.png"); ?>" class="sprev">
105
  </div>
106
 
107
  <div style="display:none;" id="s16">
108
+ <h4><?php _e('Selected Thumbnail Style Color', 'ultimate-responsive-image-slider'); ?></h4>
109
+ <img src="<?php echo esc_url($PreviewImg."Selected Thumbnail Style Color.png"); ?>" class="sprev">
110
  </div>
111
 
112
  <div style="display:none;" id="s17">
113
+ <h4><?php _e('Thumbnail Resize', 'ultimate-responsive-image-slider'); ?></h4>
114
+ <img src="<?php echo esc_url($PreviewImg."Thumbnail Resize.png"); ?>" class="sprev">
115
  </div>
116
 
117
  <div style="display:none;" id="s18">
118
+ <h4><?php _e('Slider Width', 'ultimate-responsive-image-slider'); ?></h4>
119
+ <img src="<?php echo esc_url($PreviewImg."Slider Width.png"); ?>" class="sprev">
120
  </div>
121
 
122
  <div style="display:none;" id="s19">
123
+ <h4><?php _e('Slider Height', 'ultimate-responsive-image-slider'); ?></h4>
124
+ <img src="<?php echo esc_url($PreviewImg."Slider Height.png"); ?>" class="sprev">
125
  </div>
126
 
127
  <!-- 20 21 -->
128
 
129
  <div style="display:none;" id="s22">
130
+ <h4><?php _e('Show Navigation Arrow', 'ultimate-responsive-image-slider'); ?></h4>
131
+ <img src="<?php echo esc_url($PreviewImg."Show Navigation Arrow.png"); ?>" class="sprev">
132
  </div>
133
 
134
  <div style="display:none;" id="s23">
135
+ <h4><?php _e('Navigation Color', 'ultimate-responsive-image-slider'); ?></h4>
136
+ <img src="<?php echo esc_url($PreviewImg."Navigation Color.png"); ?>" class="sprev">
137
  </div>
138
 
139
  <div style="display:none;" id="s24">
140
+ <h4><?php _e('Show Navigation Bullets', 'ultimate-responsive-image-slider'); ?></h4>
141
+ <img src="<?php echo esc_url($PreviewImg."Show Navigation Bullets.png"); ?>" class="sprev">
142
  </div>
143
 
144
  <div style="display:none;" id="s25">
145
+ <h4><?php _e('Navigation Bullets Color', 'ultimate-responsive-image-slider'); ?></h4>
146
+ <img src="<?php echo esc_url($PreviewImg."Navigation Bullets Color.png"); ?>" class="sprev">
147
  </div>
148
 
149
  <div style="display:none;" id="s26">
150
+ <h4><?php _e('Full Screen Slide Show', 'ultimate-responsive-image-slider'); ?></h4>
151
+ <img src="<?php echo esc_url($PreviewImg."Full Screen Slide Show.png"); ?>" class="sprev">
152
  </div>
153
 
154
  <div style="display:none;" id="s27">
155
+ <h4><?php _e('Fonts', 'ultimate-responsive-image-slider'); ?></h4>
156
+ <img src="<?php echo esc_url($PreviewImg."Fonts.png"); ?>" class="sprev">
157
  </div>
ultimate-responsive-image-slider.php CHANGED
@@ -1,14 +1,16 @@
1
  <?php
 
 
2
  /*
3
- Plugin Name: Ultimate Responsive Image Slider - 3.5.2
4
- Plugin URI: https://wordpress.org/plugins/ultimate-responsive-image-slider/
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
- Version: 3.5.2
7
- Author: FARAZFRANK
8
- Author URI: http://wpfrank.com/
9
  Text Domain: ultimate-responsive-image-slider
10
  Domain Path: /languages
11
- License: GPL2
12
 
13
  Ultimate Responsive Image Slider is free software: you can redistribute it and/or modify
14
  it under the terms of the GNU General Public License as published by
@@ -70,9 +72,9 @@ function WRIS_DefaultSettingsPro() {
70
 
71
  // Add settings link on plugin page
72
  function ris_links($links) {
73
- $ris_pro_link = '<a href="http://wpfrank.com/demo/ultimate-responsive-image-slider-pro/" target="_blank">Try Pro</a>';
74
  array_unshift($links, $ris_pro_link);
75
- $ris_settings_link = '<a href="edit.php?post_type=ris_gallery">Settings</a>';
76
  array_unshift($links, $ris_settings_link);
77
  return $links;
78
  }
@@ -117,7 +119,6 @@ class URIS {
117
  // add new slide function
118
  add_action('wp_ajax_uris_get_thumbnail', array(&$this, 'ajax_get_thumbnail_uris'));
119
 
120
-
121
  // only for admin dashboard clone slider ajax JS
122
  add_action( 'admin_enqueue_scripts', array(&$this, 'uris_scripts'));
123
 
@@ -125,7 +126,6 @@ class URIS {
125
  add_action('wp_ajax_uris_clone_slider', array(&$this, 'uris_clone_slider'));
126
  }
127
 
128
-
129
  /**
130
  * Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks.
131
  */
@@ -138,33 +138,38 @@ class URIS {
138
  * Clone slider call back
139
  */
140
  public function uris_clone_slider() {
141
- if(isset($_POST['ursi_clone_post_id'])) {
142
- $ursi_clone_post_id = sanitize_text_field($_POST['ursi_clone_post_id']);
143
- // get all required data for cloning
144
- $post_title = get_the_title($ursi_clone_post_id)." - Clone";
145
- $post_type = "ris_gallery";
146
- $post_status = "publish";
147
- // get all slide ids for cloning
148
- $URIS_All_Slide_Ids = get_post_meta( $ursi_clone_post_id, 'ris_all_photos_details', true);
149
-
150
- // get slider post meta settings for cloning
151
- $WRIS_Gallery_Settings_Key = "WRIS_Gallery_Settings_".$ursi_clone_post_id;
152
- $WRIS_Gallery_Settings = get_post_meta( $ursi_clone_post_id, $WRIS_Gallery_Settings_Key, true);
153
-
154
- //cloning post
155
- $uris_cloning_post_array = array(
156
- 'post_title' => $post_title,
157
- 'post_type' => $post_type,
158
- 'post_status' => $post_status,
159
- 'meta_input' => array(
160
- // post meta key => value
161
- 'ris_all_photos_details' => $URIS_All_Slide_Ids,
162
- ),
163
- );
164
-
165
- $cloned_post_id = wp_insert_post($uris_cloning_post_array);
166
- // slider post meta settings cloning
167
- add_post_meta( $cloned_post_id, "WRIS_Gallery_Settings_".$cloned_post_id, $WRIS_Gallery_Settings);
 
 
 
 
 
168
  }
169
  }
170
 
@@ -180,16 +185,16 @@ class URIS {
180
  $labels = array(
181
  'name' => 'Ultimate Responsive Image Slider',
182
  'singular_name' => 'Ultimate Responsive Image Slider',
183
- 'add_new' => __( 'Add New Slider', URIS_TD ),
184
- 'add_new_item' => __( 'Add New Slider', URIS_TD ),
185
- 'edit_item' => __( 'Edit Slider', URIS_TD ),
186
- 'new_item' => __( 'New Slider', URIS_TD ),
187
- 'view_item' => __( 'View Slider', URIS_TD ),
188
- 'search_items' => __( 'Search Slider', URIS_TD ),
189
- 'not_found' => __( 'No Slider found', URIS_TD ),
190
- 'not_found_in_trash' => __( 'No Slider Found in Trash', URIS_TD ),
191
- 'parent_item_colon' => __( 'Parent Slider:', URIS_TD ),
192
- 'all_items' => __( 'All Sliders', URIS_TD ),
193
  'menu_name' => 'UR Image Slider',
194
  );
195
 
@@ -239,11 +244,11 @@ class URIS {
239
  }
240
 
241
  public function add_all_ris_meta_boxes() {
242
- add_meta_box( __('Add Slides', URIS_TD), __('Add Slides', URIS_TD), array(&$this, 'ris_generate_add_image_meta_box_function'), 'ris_gallery', 'normal', 'low' );
243
- add_meta_box( __('Configure Settings', URIS_TD), __('Configure Settings', URIS_TD), array(&$this, 'ris_settings_meta_box_function'), 'ris_gallery', 'normal', 'low');
244
  add_meta_box( 'Upgrade To Pro Plugin', 'Upgrade To Pro Plugin', array(&$this, 'ris_upgrade_to_pro_meta_box_function'), 'ris_gallery', 'normal', 'low');
245
- add_meta_box ( __('Slider Shortcode', URIS_TD), __('Slider Shortcode', URIS_TD), array(&$this, 'ris_shotcode_meta_box_function'), 'ris_gallery', 'side', 'low');
246
- add_meta_box ( __('Try My New Slider Plugin', URIS_TD), __('Try My New Slider Plugin', URIS_TD), array(&$this, 'ris_new_plugin_meta_box_function'), 'ris_gallery', 'side', 'low');
247
  add_meta_box('Show US Some Love & Rate Us', 'Show US Some Love & Rate Us', array(&$this, 'uris_Rate_us_meta_box_function'), 'ris_gallery', 'side', 'low');
248
  }
249
 
@@ -279,7 +284,7 @@ class URIS {
279
  <div align="center">
280
  <p>Please Review & Rate Us On WordPress</p>
281
  <a class="upgrade-to-pro-demo urisp-rate-us" style=" text-decoration: none; height: 40px; width: 40px;" href="https://wordpress.org/support/plugin/ultimate-responsive-image-slider/reviews/#new-post" target="_blank">
282
- <img class="wpf_uris_fivestar" src="<?php $path = URIS_PLUGIN_URL."assets/img/5star.jpg" ; echo $path; ?>">
283
  </a>
284
  </div>
285
  <div class="upgrade-to-pro" style="text-align:center;margin-bottom:10px;margin-top:10px;">
@@ -311,7 +316,6 @@ class URIS {
311
  <input type="hidden" id="uris-save-action" name="uris-save-action" value="uris-save-settings">
312
  <ul id="uris-slides-container" class="clearfix SortSlides">
313
  <?php
314
-
315
  /* load all slide into dashboard */
316
  $URIS_All_Slide_Ids = get_post_meta( $post->ID, 'ris_all_photos_details', true);
317
  $TotalSlideIdsArray = get_post_meta( $post->ID, 'ris_all_photos_details', true );
@@ -321,35 +325,11 @@ class URIS {
321
  $TotalSlideIds = 0;
322
  }
323
 
324
- /* free old or 3.3.9 to free 3.3.10 update */
325
- /* if ( ! is_array( $URIS_All_Slide_Ids ) ) {
326
- $URIS_All_Slide_Ids = unserialize(base64_decode($URIS_All_Slide_Ids));
327
- $TotalSlideIds = unserialize(base64_decode(get_post_meta( $post->ID, 'ris_all_photos_details', true )));
328
- if(is_array($TotalSlideIds)) $TotalSlideIds = count($TotalSlideIds);
329
- } else {
330
- $TotalSlideIds = count(get_post_meta( $post->ID, 'ris_all_photos_details', true ));
331
- } */
332
-
333
  $i = 0;
334
  if($TotalSlideIds) {
335
  if(is_array($URIS_All_Slide_Ids)){
336
  foreach($URIS_All_Slide_Ids as $URIS_Slide_Id) {
337
-
338
-
339
- /* free old or 3.3.9 to free 3.3.10 update */
340
- /* if(isset($URIS_Slide_Id['rpgp_image_url'])){
341
- $Url = $URIS_Slide_Id['rpgp_image_url'];
342
- global $wpdb;
343
- $post_table_name = $wpdb->prefix. "posts";
344
- if(count($attachment_id = $wpdb->get_col($wpdb->prepare("SELECT `id` FROM `$post_table_name` WHERE `guid` LIKE '%s'", $Url)))) {
345
- $slide_id = $attachment_id[0];
346
- }
347
- } else {
348
- $slide_id = $URIS_Slide_Id['rpgp_image_id'];
349
- } */
350
-
351
  $slide_id = $URIS_Slide_Id['rpgp_image_id'];
352
-
353
  $attachment = get_post( $slide_id ); // get all slide details
354
  $slide_alt = get_post_meta( $attachment->ID, '_wp_attachment_image_alt', true );
355
  $slide_caption = $attachment->post_excerpt;
@@ -359,26 +339,26 @@ class URIS {
359
  $slide_medium = wp_get_attachment_image_src($slide_id, 'medium', true); // return is array medium image URL
360
  $UniqueString = substr(str_shuffle("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 5);
361
  ?>
362
- <li id="<?php echo $slide_id; ?>" class="uris-slide" data-position="<?php echo $slide_id; ?>">
363
- <a id="uris-slide-delete-icon" class="uris-slide-delete-icon"><img src="<?php echo URIS_PLUGIN_URL.'assets/img/close-icon.png'; ?>" /></a>
364
  <div class="uris-slide-meta">
365
  <p>
366
- <img src="<?php echo $slide_medium[0]; ?>" class="uris-slide-image">
367
  </p>
368
  <p>
369
- <label><?php _e('Slide Title', URIS_TD); ?></label>
370
- <input type="hidden" id="unique_string[]" name="unique_string[]" value="<?php echo $UniqueString; ?>" />
371
- <input type="hidden" id="rpgp_image_id[]" name="rpgp_image_id[]" value="<?php echo $slide_id; ?>">
372
- <input type="text" id="rpgp_image_label[]" name="rpgp_image_label[]" class="uris-slide-input-text" value="<?php echo esc_attr( $slide_title ); ?>" placeholder="<?php _e('Enter Slide Title', URIS_TD); ?>" >
373
  </p>
374
  <p>
375
- <label><?php _e('Slide Descriptions', URIS_TD); ?></label>
376
- <textarea rows="4" cols="50" id="rpgp_image_desc[]" name="rpgp_image_desc[]" class=" urisp_richeditbox_<?php echo $i; ?> uris-slide-input-text" placeholder="<?php _e('Enter Slide Description', URIS_TD); ?>"><?php echo htmlentities( $slide_description ); ?></textarea>
377
- <button type="button" class="btn btn-md btn-info btn-block" data-toggle="modal" data-target="#myModal" onclick="urisp_richeditor(<?php echo $i; ?>)"><?php _e('Use Rich Text Editor', URIS_TD); ?> <i class="fa fa-edit"></i></button>
378
  </p>
379
  <p>
380
- <label><?php _e('Slide Alt Text', URIS_TD); ?></label>
381
- <input type="text" id="rpgp_image_alt[]" name="rpgp_image_alt[]" class="uris-slide-input-text" value="<?php echo $slide_alt; ?>" placeholder="<?php _e('Max Length 125 Characters', URIS_TD); ?>">
382
  </p>
383
  </div>
384
  </li>
@@ -426,28 +406,29 @@ class URIS {
426
  <div class="uris-control-buttons">
427
  <div id="uris-add-new-slide" class="uris-add-new-slide" data-uploader_title="Upload Slide" data-uploader_button_text="Select" >
428
  <div class="dashicons dashicons-plus"></div>
429
- <p><?php _e('Add New Slide', URIS_TD); ?></p>
430
  </div>
431
  <div id="sort-all-slides" class="uris-clone-slider" onclick="return URISSortSlides('ASC');">
432
  <div class="dashicons dashicons-sort"></div>
433
- <p><?php _e("Sort Ascending", URIS_TD); ?></p>
434
  </div>
435
  <div id="sort-all-slides" class="uris-clone-slider" onclick="return URISSortSlides('DESC');">
436
  <div class="dashicons dashicons-sort"></div>
437
- <p><?php _e("Sort Descending", URIS_TD); ?></p>
438
  </div>
439
- <div id="uris-clone-slider" class="uris-clone-slider" onclick="return uris_clone_run(<?php echo $post->ID; ?>);">
440
  <div class="dashicons dashicons-admin-page"></div>
441
- <p><?php _e("Clone Slider (beta)", URIS_TD); ?></p>
 
442
  </div>
443
 
444
  <div id="uris-delete-all-slide" class="uris-delete-all-slide">
445
  <div class="dashicons dashicons-trash"></div>
446
- <p><?php _e('Delete All Slides', URIS_TD); ?></p>
447
  </div>
448
 
449
  <div id="uris-clone-success" class="uris-clone-success">
450
- <h1><?php _e('Slider clone created successfully.', URIS_TD); ?> <?php _e('Go to', URIS_TD); ?> <a href="edit.php?post_type=ris_gallery"><?php _e('All Slider', URIS_TD); ?></a> <?php _e('page to edit cloned slider.', URIS_TD); ?></h1>
451
  </div>
452
 
453
  <div style="clear:left;"></div>
@@ -529,17 +510,17 @@ class URIS {
529
  }
530
 
531
  public function ris_shotcode_meta_box_function() { ?>
532
- <p><?php _e("Use below shortcode in any Page/Post to publish your slider", URIS_TD);?></p>
533
- <input readonly="readonly" type="text" value="<?php echo "[URIS id=".get_the_ID()."]"; ?>" style="width:100%;">
534
 
535
- <p><?php _e("To embed slider in any custom theme template", URIS_TD);?></p>
536
- <?php $uris_shortcode = "[URIS id=".get_the_ID()."]"; ?>
537
- <input readonly="readonly" type="text" value="&#x3c;&#x3f;php do_shortcode&#x28; '<?php echo "[URIS id=".get_the_ID()."]"; ?>' &#x29;; &#x3f;&#x3e;" style="width:100%;">
538
  <?php
539
  }
540
 
541
  public function ris_new_plugin_meta_box_function() { ?>
542
- <p><a href="https://wordpress.org/plugins/slider-factory/" target="_blank"><img src="<?php echo URIS_PLUGIN_URL . "assets/img/products/slider-factory-free-wordpress-plugin.jpg"; ?>" width="100%" /></a></p>
543
  <p style="text-align: center;"><a href="plugin-install.php?s=slider%20factory&tab=search&type=term" class="button button-primary button-hero">Install Plugin</a></p>
544
  <?php
545
  }
@@ -556,25 +537,25 @@ class URIS {
556
  $slide_full = wp_get_attachment_image_src($id, 'full', true);
557
  $UniqueString = substr(str_shuffle("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 5);
558
  ?>
559
- <li id="<?php echo $id; ?>" class="uris-slide" data-position="<?php echo $id; ?>">
560
- <a id="uris-slide-delete-icon" class="uris-slide-delete-icon"><img src="<?php echo URIS_PLUGIN_URL.'assets/img/close-icon.png'; ?>" /></a>
561
  <div>
562
  <p>
563
- <img src="<?php echo $slide_medium[0]; ?>" class="uris-slide-image">
564
  <p>
565
- <label><?php _e('Slide Title', URIS_TD); ?></label>
566
- <input type="hidden" id="unique_string[]" name="unique_string[]" value="<?php echo $UniqueString; ?>" />
567
- <input type="hidden" id="rpgp_image_id[]" name="rpgp_image_id[]" value="<?php echo $id; ?>">
568
- <input type="text" id="rpgp_image_label[]" name="rpgp_image_label[]" value="<?php echo $slide_title; ?>" placeholder="<?php _e('Enter Slide Title Here', URIS_TD); ?>" class="uris-slide-input-text">
569
  </p>
570
  <p>
571
- <label><?php _e('Slide Description', URIS_TD); ?></label>
572
- <textarea rows="4" cols="50" id="rpgp_image_desc[]" name="rpgp_image_desc[]" placeholder="<?php _e('Enter Slide Description Here', URIS_TD); ?>" class="urisp_richeditbox_<?php echo $id; ?> uris-slide-input-text"><?php echo $slide_description; ?></textarea>
573
- <button type="button" class="btn btn-md btn-info btn-block" data-toggle="modal" data-target="#myModal" onclick="urisp_richeditor(<?php echo $id; ?>)"><?php _e('Use Rich Text Editor', URIS_TD); ?> <i class="fa fa-edit"></i></button>
574
  </p>
575
  <p>
576
- <label><?php _e('Slide Alt Text', URIS_TD); ?></label>
577
- <input type="text" id="rpgp_image_alt[]" name="rpgp_image_alt[]" class="uris-slide-input-text" value="<?php echo $slide_alt; ?>" placeholder="<?php _e('Max Length 125 Characters', URIS_TD); ?>">
578
  </p>
579
  </div>
580
  </li>
@@ -582,7 +563,7 @@ class URIS {
582
  }
583
 
584
  public function ajax_get_thumbnail_uris() {
585
- echo $this->admin_thumb_uris($_POST['imageid']);
586
  die;
587
  }
588
 
@@ -592,23 +573,23 @@ class URIS {
592
  $SlideIds = array();
593
  if($TotalSlideIds) {
594
  for($i=0; $i < $TotalSlideIds; $i++) {
595
- $slide_id = stripslashes($_POST['rpgp_image_id'][$i]);
596
- $slide_title = stripslashes($_POST['rpgp_image_label'][$i]);
597
- $slide_desc = stripslashes($_POST['rpgp_image_desc'][$i]);
598
- $slide_alt = stripslashes($_POST['rpgp_image_alt'][$i]);
599
  $SlideIds[] = array(
600
  'rpgp_image_id' => $slide_id,
601
  );
602
  // update attachment image title and description
603
  $attachment_details = array(
604
- 'ID' => sanitize_text_field($slide_id),
605
- 'post_title' => sanitize_text_field($slide_title),
606
- 'post_content' => sanitize_text_field($slide_desc)
607
  );
608
  wp_update_post( $attachment_details );
609
 
610
  // update attachment alt text
611
- update_post_meta( $slide_id, '_wp_attachment_image_alt', sanitize_text_field( $slide_alt ) );
612
  }
613
  update_post_meta($PostID, 'ris_all_photos_details', $SlideIds);
614
  /* echo "<pre>";
1
  <?php
2
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
+
4
  /*
5
+ Plugin Name: Ultimate Responsive Image Slider - 3.5.3
6
+ Plugin URI: https://wordpress.org/plugins/ultimate-responsive-image-slider/
7
  Description: Add unlimited image slides using Ultimate Responsive Image Slider in any Page and Post content to give an attractive mode to represent contents.
8
+ Version: 3.5.3
9
+ Author: FARAZFRANK
10
+ Author URI: http://wpfrank.com/
11
  Text Domain: ultimate-responsive-image-slider
12
  Domain Path: /languages
13
+ License: GPL2
14
 
15
  Ultimate Responsive Image Slider is free software: you can redistribute it and/or modify
16
  it under the terms of the GNU General Public License as published by
72
 
73
  // Add settings link on plugin page
74
  function ris_links($links) {
75
+ $ris_pro_link = ('<a href="http://wpfrank.com/demo/ultimate-responsive-image-slider-pro/" target="_blank">Try Pro</a>');
76
  array_unshift($links, $ris_pro_link);
77
+ $ris_settings_link = ('<a href="edit.php?post_type=ris_gallery">Settings</a>');
78
  array_unshift($links, $ris_settings_link);
79
  return $links;
80
  }
119
  // add new slide function
120
  add_action('wp_ajax_uris_get_thumbnail', array(&$this, 'ajax_get_thumbnail_uris'));
121
 
 
122
  // only for admin dashboard clone slider ajax JS
123
  add_action( 'admin_enqueue_scripts', array(&$this, 'uris_scripts'));
124
 
126
  add_action('wp_ajax_uris_clone_slider', array(&$this, 'uris_clone_slider'));
127
  }
128
 
 
129
  /**
130
  * Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks.
131
  */
138
  * Clone slider call back
139
  */
140
  public function uris_clone_slider() {
141
+ if ( current_user_can( 'manage_options' ) ) {
142
+ if ( isset( $_POST['uris_clone_nonce'] ) && wp_verify_nonce( $_POST['uris_clone_nonce'], 'uris_clone_nonce' ) ) {
143
+ $ursi_clone_post_id = sanitize_text_field($_POST['ursi_clone_post_id']);
144
+ // get all required data for cloning
145
+ $post_title = get_the_title($ursi_clone_post_id)." - Clone";
146
+ $post_type = sanitize_text_field("ris_gallery");
147
+ $post_status = sanitize_text_field("publish");
148
+ // get all slide ids for cloning
149
+ $URIS_All_Slide_Ids = get_post_meta( $ursi_clone_post_id, 'ris_all_photos_details', true);
150
+
151
+ // get slider post meta settings for cloning
152
+ $WRIS_Gallery_Settings_Key = sanitize_text_field("WRIS_Gallery_Settings_".$ursi_clone_post_id);
153
+ $WRIS_Gallery_Settings = get_post_meta( $ursi_clone_post_id, $WRIS_Gallery_Settings_Key, true);
154
+
155
+ //cloning post
156
+ $uris_cloning_post_array = array(
157
+ 'post_title' => $post_title,
158
+ 'post_type' => $post_type,
159
+ 'post_status' => $post_status,
160
+ 'meta_input' => array(
161
+ // post meta key => value
162
+ 'ris_all_photos_details' => $URIS_All_Slide_Ids,
163
+ ),
164
+ );
165
+
166
+ $cloned_post_id = wp_insert_post($uris_cloning_post_array);
167
+ // slider post meta settings cloning
168
+ add_post_meta( $cloned_post_id, "WRIS_Gallery_Settings_".$cloned_post_id, $WRIS_Gallery_Settings);
169
+ die;
170
+ } else {
171
+ die;
172
+ }
173
  }
174
  }
175
 
185
  $labels = array(
186
  'name' => 'Ultimate Responsive Image Slider',
187
  'singular_name' => 'Ultimate Responsive Image Slider',
188
+ 'add_new' => __( 'Add New Slider', 'ultimate-responsive-image-slider' ),
189
+ 'add_new_item' => __( 'Add New Slider', 'ultimate-responsive-image-slider' ),
190
+ 'edit_item' => __( 'Edit Slider', 'ultimate-responsive-image-slider' ),
191
+ 'new_item' => __( 'New Slider', 'ultimate-responsive-image-slider' ),
192
+ 'view_item' => __( 'View Slider', 'ultimate-responsive-image-slider' ),
193
+ 'search_items' => __( 'Search Slider', 'ultimate-responsive-image-slider' ),
194
+ 'not_found' => __( 'No Slider found', 'ultimate-responsive-image-slider' ),
195
+ 'not_found_in_trash' => __( 'No Slider Found in Trash', 'ultimate-responsive-image-slider' ),
196
+ 'parent_item_colon' => __( 'Parent Slider:', 'ultimate-responsive-image-slider' ),
197
+ 'all_items' => __( 'All Sliders', 'ultimate-responsive-image-slider' ),
198
  'menu_name' => 'UR Image Slider',
199
  );
200
 
244
  }
245
 
246
  public function add_all_ris_meta_boxes() {
247
+ add_meta_box( __('Add Slides', 'ultimate-responsive-image-slider'), __('Add Slides', 'ultimate-responsive-image-slider'), array(&$this, 'ris_generate_add_image_meta_box_function'), 'ris_gallery', 'normal', 'low' );
248
+ add_meta_box( __('Configure Settings', 'ultimate-responsive-image-slider'), __('Configure Settings', 'ultimate-responsive-image-slider'), array(&$this, 'ris_settings_meta_box_function'), 'ris_gallery', 'normal', 'low');
249
  add_meta_box( 'Upgrade To Pro Plugin', 'Upgrade To Pro Plugin', array(&$this, 'ris_upgrade_to_pro_meta_box_function'), 'ris_gallery', 'normal', 'low');
250
+ add_meta_box ( __('Slider Shortcode', 'ultimate-responsive-image-slider'), __('Slider Shortcode', 'ultimate-responsive-image-slider'), array(&$this, 'ris_shotcode_meta_box_function'), 'ris_gallery', 'side', 'low');
251
+ add_meta_box ( __('Try My New Slider Plugin', 'ultimate-responsive-image-slider'), __('Try My New Slider Plugin', 'ultimate-responsive-image-slider'), array(&$this, 'ris_new_plugin_meta_box_function'), 'ris_gallery', 'side', 'low');
252
  add_meta_box('Show US Some Love & Rate Us', 'Show US Some Love & Rate Us', array(&$this, 'uris_Rate_us_meta_box_function'), 'ris_gallery', 'side', 'low');
253
  }
254
 
284
  <div align="center">
285
  <p>Please Review & Rate Us On WordPress</p>
286
  <a class="upgrade-to-pro-demo urisp-rate-us" style=" text-decoration: none; height: 40px; width: 40px;" href="https://wordpress.org/support/plugin/ultimate-responsive-image-slider/reviews/#new-post" target="_blank">
287
+ <img class="wpf_uris_fivestar" src="<?php echo $path = esc_url(URIS_PLUGIN_URL."assets/img/5star.jpg"); ?>">
288
  </a>
289
  </div>
290
  <div class="upgrade-to-pro" style="text-align:center;margin-bottom:10px;margin-top:10px;">
316
  <input type="hidden" id="uris-save-action" name="uris-save-action" value="uris-save-settings">
317
  <ul id="uris-slides-container" class="clearfix SortSlides">
318
  <?php
 
319
  /* load all slide into dashboard */
320
  $URIS_All_Slide_Ids = get_post_meta( $post->ID, 'ris_all_photos_details', true);
321
  $TotalSlideIdsArray = get_post_meta( $post->ID, 'ris_all_photos_details', true );
325
  $TotalSlideIds = 0;
326
  }
327
 
 
 
 
 
 
 
 
 
 
328
  $i = 0;
329
  if($TotalSlideIds) {
330
  if(is_array($URIS_All_Slide_Ids)){
331
  foreach($URIS_All_Slide_Ids as $URIS_Slide_Id) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
332
  $slide_id = $URIS_Slide_Id['rpgp_image_id'];
 
333
  $attachment = get_post( $slide_id ); // get all slide details
334
  $slide_alt = get_post_meta( $attachment->ID, '_wp_attachment_image_alt', true );
335
  $slide_caption = $attachment->post_excerpt;
339
  $slide_medium = wp_get_attachment_image_src($slide_id, 'medium', true); // return is array medium image URL
340
  $UniqueString = substr(str_shuffle("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 5);
341
  ?>
342
+ <li id="<?php echo esc_attr($slide_id); ?>" class="uris-slide" data-position="<?php echo esc_attr($slide_id); ?>">
343
+ <a id="uris-slide-delete-icon" class="uris-slide-delete-icon"><img src="<?php echo esc_url(URIS_PLUGIN_URL.'assets/img/close-icon.png'); ?>" /></a>
344
  <div class="uris-slide-meta">
345
  <p>
346
+ <img src="<?php echo esc_url($slide_medium[0]); ?>" class="uris-slide-image">
347
  </p>
348
  <p>
349
+ <label><?php _e('Slide Title', 'ultimate-responsive-image-slider'); ?></label>
350
+ <input type="hidden" id="unique_string[]" name="unique_string[]" value="<?php echo esc_attr($UniqueString); ?>" />
351
+ <input type="hidden" id="rpgp_image_id[]" name="rpgp_image_id[]" value="<?php echo esc_attr($slide_id); ?>">
352
+ <input type="text" id="rpgp_image_label[]" name="rpgp_image_label[]" class="uris-slide-input-text" value="<?php echo esc_attr( $slide_title ); ?>" placeholder="<?php _e('Enter Slide Title', 'ultimate-responsive-image-slider'); ?>" >
353
  </p>
354
  <p>
355
+ <label><?php _e('Slide Descriptions', 'ultimate-responsive-image-slider'); ?></label>
356
+ <textarea rows="4" cols="50" id="rpgp_image_desc[]" name="rpgp_image_desc[]" class=" urisp_richeditbox_<?php echo esc_attr($i); ?> uris-slide-input-text" placeholder="<?php _e('Enter Slide Description', 'ultimate-responsive-image-slider'); ?>"><?php echo htmlentities( $slide_description ); ?></textarea>
357
+ <button type="button" class="btn btn-md btn-info btn-block" data-toggle="modal" data-target="#myModal" onclick="urisp_richeditor(<?php echo esc_attr($i); ?>)"><?php _e('Use Rich Text Editor', 'ultimate-responsive-image-slider'); ?> <i class="fa fa-edit"></i></button>
358
  </p>
359
  <p>
360
+ <label><?php _e('Slide Alt Text', 'ultimate-responsive-image-slider'); ?></label>
361
+ <input type="text" id="rpgp_image_alt[]" name="rpgp_image_alt[]" class="uris-slide-input-text" value="<?php echo esc_attr($slide_alt); ?>" placeholder="<?php _e('Max Length 125 Characters', 'ultimate-responsive-image-slider'); ?>">
362
  </p>
363
  </div>
364
  </li>
406
  <div class="uris-control-buttons">
407
  <div id="uris-add-new-slide" class="uris-add-new-slide" data-uploader_title="Upload Slide" data-uploader_button_text="Select" >
408
  <div class="dashicons dashicons-plus"></div>
409
+ <p><?php _e('Add New Slide', 'ultimate-responsive-image-slider'); ?></p>
410
  </div>
411
  <div id="sort-all-slides" class="uris-clone-slider" onclick="return URISSortSlides('ASC');">
412
  <div class="dashicons dashicons-sort"></div>
413
+ <p><?php _e("Sort Ascending", 'ultimate-responsive-image-slider'); ?></p>
414
  </div>
415
  <div id="sort-all-slides" class="uris-clone-slider" onclick="return URISSortSlides('DESC');">
416
  <div class="dashicons dashicons-sort"></div>
417
+ <p><?php _e("Sort Descending", 'ultimate-responsive-image-slider'); ?></p>
418
  </div>
419
+ <div id="uris-clone-slider" class="uris-clone-slider" onclick="return uris_clone_run(<?php echo esc_attr($post->ID); ?>);">
420
  <div class="dashicons dashicons-admin-page"></div>
421
+ <?php wp_nonce_field('uris_clone_nonce','uris_clone_nonce' ); ?>
422
+ <p><?php _e("Clone Slider (beta)", 'ultimate-responsive-image-slider'); ?></p>
423
  </div>
424
 
425
  <div id="uris-delete-all-slide" class="uris-delete-all-slide">
426
  <div class="dashicons dashicons-trash"></div>
427
+ <p><?php _e('Delete All Slides', 'ultimate-responsive-image-slider'); ?></p>
428
  </div>
429
 
430
  <div id="uris-clone-success" class="uris-clone-success">
431
+ <h1><?php _e('Slider clone created successfully.', 'ultimate-responsive-image-slider'); ?> <?php _e('Go to', 'ultimate-responsive-image-slider'); ?> <a href="edit.php?post_type=ris_gallery"><?php _e('All Slider', 'ultimate-responsive-image-slider'); ?></a> <?php _e('page to edit cloned slider.', 'ultimate-responsive-image-slider'); ?></h1>
432
  </div>
433
 
434
  <div style="clear:left;"></div>
510
  }
511
 
512
  public function ris_shotcode_meta_box_function() { ?>
513
+ <p><?php _e("Use below shortcode in any Page/Post to publish your slider", 'ultimate-responsive-image-slider');?></p>
514
+ <input readonly="readonly" type="text" value="<?php echo esc_attr("[URIS id=".get_the_ID()."]"); ?>" style="width:100%;">
515
 
516
+ <p><?php _e("To embed slider in any custom theme template", 'ultimate-responsive-image-slider');?></p>
517
+ <?php $uris_shortcode = esc_attr("[URIS id=".get_the_ID()."]"); ?>
518
+ <input readonly="readonly" type="text" value="&#x3c;&#x3f;php do_shortcode&#x28; '<?php echo esc_attr("[URIS id=".get_the_ID()."]"); ?>' &#x29;; &#x3f;&#x3e;" style="width:100%;">
519
  <?php
520
  }
521
 
522
  public function ris_new_plugin_meta_box_function() { ?>
523
+ <p><a href="https://wordpress.org/plugins/slider-factory/" target="_blank"><img src="<?php echo esc_url(URIS_PLUGIN_URL . "assets/img/products/slider-factory-free-wordpress-plugin.jpg"); ?>" width="100%" /></a></p>
524
  <p style="text-align: center;"><a href="plugin-install.php?s=slider%20factory&tab=search&type=term" class="button button-primary button-hero">Install Plugin</a></p>
525
  <?php
526
  }
537
  $slide_full = wp_get_attachment_image_src($id, 'full', true);
538
  $UniqueString = substr(str_shuffle("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 5);
539
  ?>
540
+ <li id="<?php echo esc_attr($id); ?>" class="uris-slide" data-position="<?php echo esc_attr($id); ?>">
541
+ <a id="uris-slide-delete-icon" class="uris-slide-delete-icon"><img src="<?php echo esc_url(URIS_PLUGIN_URL.'assets/img/close-icon.png'); ?>" /></a>
542
  <div>
543
  <p>
544
+ <img src="<?php echo esc_url($slide_medium[0]); ?>" class="uris-slide-image">
545
  <p>
546
+ <label><?php _e('Slide Title', 'ultimate-responsive-image-slider'); ?></label>
547
+ <input type="hidden" id="unique_string[]" name="unique_string[]" value="<?php echo esc_attr($UniqueString); ?>" />
548
+ <input type="hidden" id="rpgp_image_id[]" name="rpgp_image_id[]" value="<?php echo esc_attr($id); ?>">
549
+ <input type="text" id="rpgp_image_label[]" name="rpgp_image_label[]" value="<?php echo esc_attr($slide_title); ?>" placeholder="<?php _e('Enter Slide Title Here', 'ultimate-responsive-image-slider'); ?>" class="uris-slide-input-text">
550
  </p>
551
  <p>
552
+ <label><?php _e('Slide Description', 'ultimate-responsive-image-slider'); ?></label>
553
+ <textarea rows="4" cols="50" id="rpgp_image_desc[]" name="rpgp_image_desc[]" placeholder="<?php _e('Enter Slide Description Here', 'ultimate-responsive-image-slider'); ?>" class="urisp_richeditbox_<?php echo esc_attr($id); ?> uris-slide-input-text"><?php echo $slide_description; ?></textarea>
554
+ <button type="button" class="btn btn-md btn-info btn-block" data-toggle="modal" data-target="#myModal" onclick="urisp_richeditor(<?php echo esc_attr($id); ?>)"><?php _e('Use Rich Text Editor', 'ultimate-responsive-image-slider'); ?> <i class="fa fa-edit"></i></button>
555
  </p>
556
  <p>
557
+ <label><?php _e('Slide Alt Text', 'ultimate-responsive-image-slider'); ?></label>
558
+ <input type="text" id="rpgp_image_alt[]" name="rpgp_image_alt[]" class="uris-slide-input-text" value="<?php echo esc_attr($slide_alt); ?>" placeholder="<?php _e('Max Length 125 Characters', 'ultimate-responsive-image-slider'); ?>">
559
  </p>
560
  </div>
561
  </li>
563
  }
564
 
565
  public function ajax_get_thumbnail_uris() {
566
+ echo esc_html($this->admin_thumb_uris($_POST['imageid']));
567
  die;
568
  }
569
 
573
  $SlideIds = array();
574
  if($TotalSlideIds) {
575
  for($i=0; $i < $TotalSlideIds; $i++) {
576
+ $slide_id = sanitize_text_field($_POST['rpgp_image_id'][$i]);
577
+ $slide_title = sanitize_text_field($_POST['rpgp_image_label'][$i]);
578
+ $slide_desc = sanitize_textarea_field($_POST['rpgp_image_desc'][$i]);
579
+ $slide_alt = sanitize_text_field($_POST['rpgp_image_alt'][$i]);
580
  $SlideIds[] = array(
581
  'rpgp_image_id' => $slide_id,
582
  );
583
  // update attachment image title and description
584
  $attachment_details = array(
585
+ 'ID' => $slide_id,
586
+ 'post_title' => $slide_title,
587
+ 'post_content' => $slide_desc
588
  );
589
  wp_update_post( $attachment_details );
590
 
591
  // update attachment alt text
592
+ update_post_meta( $slide_id, '_wp_attachment_image_alt', $slide_alt );
593
  }
594
  update_post_meta($PostID, 'ris_all_photos_details', $SlideIds);
595
  /* echo "<pre>";