Version Description
- Cross-Site Scripting (XSS) Vulnerabilities issue fixed
Download this release
Release Info
Developer | FARAZFRANK |
Plugin | Ultimate Responsive Image Slider Plugin |
Version | 3.5.4 |
Comparing to | |
See all releases |
Code changes from version 3.5.3 to 3.5.4
- layout.php +3 -21
- readme.txt +12 -4
- settings.php +26 -26
- shortcode.php +1 -4
- ultimate-responsive-image-slider.php +160 -169
layout.php
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
<?php
|
2 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
3 |
|
4 |
-
|
5 |
-
* Load All WRIS Custom Post Type
|
6 |
-
*/
|
7 |
$URIS_CPT_Name = "ris_gallery";
|
8 |
$AllSlides = array( 'p' => $Id['id'], 'post_type' => $URIS_CPT_Name, 'orderby' => $WRIS_L3_Slide_Order);
|
9 |
$loop = new WP_Query( $AllSlides );
|
@@ -12,20 +10,10 @@ while ( $loop->have_posts() ) : $loop->the_post();
|
|
12 |
//get the post id
|
13 |
$post_id = get_the_ID();
|
14 |
|
15 |
-
|
16 |
-
* Get All Slides Details Post Meta
|
17 |
-
*/
|
18 |
$URIS_All_Slide_Ids = get_post_meta( get_the_ID(), 'ris_all_photos_details', true);
|
19 |
$TotalSlideIds = count(get_post_meta( get_the_ID(), 'ris_all_photos_details', true ));
|
20 |
|
21 |
-
/* free old or 3.3.9 to free 3.3.10 update */
|
22 |
-
/* if ( ! is_array( $URIS_All_Slide_Ids ) ) {
|
23 |
-
$URIS_All_Slide_Ids = unserialize(base64_decode(get_post_meta( get_the_ID(), 'ris_all_photos_details', true)));
|
24 |
-
$TotalSlideIds = count(unserialize(base64_decode(get_post_meta( get_the_ID(), 'ris_all_photos_details', true ))));
|
25 |
-
} else {
|
26 |
-
$TotalSlideIds = count(get_post_meta( get_the_ID(), 'ris_all_photos_details', true ));
|
27 |
-
} */
|
28 |
-
|
29 |
if($WRIS_L3_Slide_Order == "DESC" ) {
|
30 |
$URIS_All_Slide_Ids = array_reverse($URIS_All_Slide_Ids, true);
|
31 |
}
|
@@ -55,7 +43,7 @@ document.addEventListener("DOMContentLoaded", function(event) {
|
|
55 |
autoHeight: true,
|
56 |
<?php } ?>
|
57 |
|
58 |
-
//
|
59 |
<?php if($WRIS_L3_Auto_Slideshow == 1) { ?>
|
60 |
autoplay: true,
|
61 |
autoplayOnHover: 'none',
|
@@ -240,7 +228,6 @@ document.addEventListener("DOMContentLoaded", function(event) {
|
|
240 |
$slide_alt = get_post_meta( $attachment->ID, '_wp_attachment_image_alt', true );
|
241 |
$slide_caption = $attachment->post_excerpt;
|
242 |
$slide_description = $attachment->post_content;
|
243 |
-
//$slide_src = $attachment->guid; // full image URL
|
244 |
$slide_src = wp_get_attachment_image_src($slide_id, 'full', true); // return is array full image URL
|
245 |
$slide_title = $attachment->post_title; // attachment title
|
246 |
$i++;
|
@@ -249,7 +236,6 @@ document.addEventListener("DOMContentLoaded", function(event) {
|
|
249 |
if($slide_alt == "" && $slide_title != "") {
|
250 |
$slide_alt = $slide_title;
|
251 |
}
|
252 |
-
|
253 |
// slide title is blank than set post title as alt tag
|
254 |
if($slide_alt == "" && $slide_title == "") {
|
255 |
$slide_alt = $post_title;
|
@@ -288,7 +274,6 @@ document.addEventListener("DOMContentLoaded", function(event) {
|
|
288 |
<?php
|
289 |
if(is_array($URIS_All_Slide_Ids)){
|
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 );
|
@@ -297,17 +282,14 @@ document.addEventListener("DOMContentLoaded", function(event) {
|
|
297 |
$slide_src = $attachment->guid; // full image URL
|
298 |
$slide_title = $attachment->post_title; // attachment title
|
299 |
$slide_medium = wp_get_attachment_image_src($slide_id, 'medium', true); // return is array medium image URL
|
300 |
-
|
301 |
// alt is blank than set attachment title as alt tag
|
302 |
if($slide_alt == "" && $slide_title != "") {
|
303 |
$slide_alt = $slide_title;
|
304 |
}
|
305 |
-
|
306 |
// slide title is blank than set post title as alt tag
|
307 |
if($slide_alt == "" && $slide_title == "") {
|
308 |
$slide_alt = $post_title;
|
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
|
1 |
<?php
|
2 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
3 |
|
4 |
+
//Load All Slides
|
|
|
|
|
5 |
$URIS_CPT_Name = "ris_gallery";
|
6 |
$AllSlides = array( 'p' => $Id['id'], 'post_type' => $URIS_CPT_Name, 'orderby' => $WRIS_L3_Slide_Order);
|
7 |
$loop = new WP_Query( $AllSlides );
|
10 |
//get the post id
|
11 |
$post_id = get_the_ID();
|
12 |
|
13 |
+
//Get All Slides Details Post Meta
|
|
|
|
|
14 |
$URIS_All_Slide_Ids = get_post_meta( get_the_ID(), 'ris_all_photos_details', true);
|
15 |
$TotalSlideIds = count(get_post_meta( get_the_ID(), 'ris_all_photos_details', true ));
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
if($WRIS_L3_Slide_Order == "DESC" ) {
|
18 |
$URIS_All_Slide_Ids = array_reverse($URIS_All_Slide_Ids, true);
|
19 |
}
|
43 |
autoHeight: true,
|
44 |
<?php } ?>
|
45 |
|
46 |
+
//auto play
|
47 |
<?php if($WRIS_L3_Auto_Slideshow == 1) { ?>
|
48 |
autoplay: true,
|
49 |
autoplayOnHover: 'none',
|
228 |
$slide_alt = get_post_meta( $attachment->ID, '_wp_attachment_image_alt', true );
|
229 |
$slide_caption = $attachment->post_excerpt;
|
230 |
$slide_description = $attachment->post_content;
|
|
|
231 |
$slide_src = wp_get_attachment_image_src($slide_id, 'full', true); // return is array full image URL
|
232 |
$slide_title = $attachment->post_title; // attachment title
|
233 |
$i++;
|
236 |
if($slide_alt == "" && $slide_title != "") {
|
237 |
$slide_alt = $slide_title;
|
238 |
}
|
|
|
239 |
// slide title is blank than set post title as alt tag
|
240 |
if($slide_alt == "" && $slide_title == "") {
|
241 |
$slide_alt = $post_title;
|
274 |
<?php
|
275 |
if(is_array($URIS_All_Slide_Ids)){
|
276 |
foreach($URIS_All_Slide_Ids as $URIS_Slide_Id) {
|
|
|
277 |
$slide_id = $URIS_Slide_Id['rpgp_image_id'];
|
278 |
$attachment = get_post( $slide_id ); // get all slide details
|
279 |
$slide_alt = get_post_meta( $attachment->ID, '_wp_attachment_image_alt', true );
|
282 |
$slide_src = $attachment->guid; // full image URL
|
283 |
$slide_title = $attachment->post_title; // attachment title
|
284 |
$slide_medium = wp_get_attachment_image_src($slide_id, 'medium', true); // return is array medium image URL
|
|
|
285 |
// alt is blank than set attachment title as alt tag
|
286 |
if($slide_alt == "" && $slide_title != "") {
|
287 |
$slide_alt = $slide_title;
|
288 |
}
|
|
|
289 |
// slide title is blank than set post title as alt tag
|
290 |
if($slide_alt == "" && $slide_title == "") {
|
291 |
$slide_alt = $post_title;
|
292 |
}
|
|
|
293 |
$j++; ?>
|
294 |
<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; ?>"/>
|
295 |
<?php } // end of for each
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: FARAZFRANK
|
3 |
Donate link: https://wpfrank.com/
|
4 |
Tags: slider, best slider plugin, image slide show, responsive slider, wordpress image slider plugin
|
5 |
-
Requires at least:
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 3.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -13,7 +13,12 @@ Responsive image slider plugin is best and most popular plugin. Make slide show
|
|
13 |
== Description ==
|
14 |
|
15 |
Ultimate responsive image slider is a responsive image photo slider plugin for WordPress blog users. You can add infinite image slides in a single slider using multiple image uploader. You can publish unlimited slider on your blog. The slider image gallery it creates provides a beautiful aura on your website.
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
**How to use [URIS id=123] shortcode?**
|
19 |
|
@@ -161,6 +166,9 @@ Please use WordPress [support forum](http://wordpress.org/support/plugin/ultimat
|
|
161 |
|
162 |
== Changelog ==
|
163 |
|
|
|
|
|
|
|
164 |
= 3.5.3 =
|
165 |
* Security issue fixed
|
166 |
|
2 |
Contributors: FARAZFRANK
|
3 |
Donate link: https://wpfrank.com/
|
4 |
Tags: slider, best slider plugin, image slide show, responsive slider, wordpress image slider plugin
|
5 |
+
Requires at least: 4.0
|
6 |
+
Tested up to: 5.9
|
7 |
+
Stable tag: 3.5.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
13 |
== Description ==
|
14 |
|
15 |
Ultimate responsive image slider is a responsive image photo slider plugin for WordPress blog users. You can add infinite image slides in a single slider using multiple image uploader. You can publish unlimited slider on your blog. The slider image gallery it creates provides a beautiful aura on your website.
|
16 |
+
|
17 |
+
**How to add slider on website?**
|
18 |
+
|
19 |
+
https://www.youtube.com/watch?v=PzaAXzy21U4
|
20 |
+
|
21 |
+
Responsive slider plugin has various settings like customizable height and width, auto play slides, slide thumbnails, navigation buttons and much more. You can configure each image slider gallery setting individually and accordingly to you. You can show slider within the Page or Post content.
|
22 |
|
23 |
**How to use [URIS id=123] shortcode?**
|
24 |
|
166 |
|
167 |
== Changelog ==
|
168 |
|
169 |
+
= 3.5.4 =
|
170 |
+
* Cross-Site Scripting (XSS) Vulnerabilities issue fixed
|
171 |
+
|
172 |
= 3.5.3 =
|
173 |
* Security issue fixed
|
174 |
|
settings.php
CHANGED
@@ -442,7 +442,7 @@ jQuery(document).ready(function(){
|
|
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>
|
@@ -455,8 +455,8 @@ jQuery(document).ready(function(){
|
|
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; ?>">
|
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>
|
@@ -469,10 +469,10 @@ jQuery(document).ready(function(){
|
|
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'); ?>
|
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'); ?>
|
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>
|
@@ -485,9 +485,9 @@ jQuery(document).ready(function(){
|
|
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'); ?>
|
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>
|
@@ -501,10 +501,10 @@ jQuery(document).ready(function(){
|
|
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">
|
@@ -521,8 +521,8 @@ jQuery(document).ready(function(){
|
|
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>-->
|
@@ -534,8 +534,8 @@ jQuery(document).ready(function(){
|
|
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>
|
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>
|
@@ -547,7 +547,7 @@ jQuery(document).ready(function(){
|
|
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>
|
@@ -559,8 +559,8 @@ jQuery(document).ready(function(){
|
|
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>
|
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>
|
@@ -572,7 +572,7 @@ jQuery(document).ready(function(){
|
|
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>
|
@@ -584,8 +584,8 @@ jQuery(document).ready(function(){
|
|
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>
|
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>
|
@@ -633,7 +633,7 @@ jQuery(document).ready(function(){
|
|
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>
|
@@ -646,7 +646,7 @@ jQuery(document).ready(function(){
|
|
646 |
<td>
|
647 |
<p>
|
648 |
I hope you like my plugin & It will be useful to make your website beautiful.<br />
|
649 |
-
I need your support and favor always
|
650 |
Please post a good review for my work and support to more encourage me.<br />
|
651 |
</p>
|
652 |
<p>
|
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 esc_attr($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>
|
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 esc_attr($WRIS_L3_Thumbnail_Width); ?>">
|
459 |
+
<?php _e('Height', 'ultimate-responsive-image-slider'); ?> <input type="text" name="wl-l3-navigation-height" id="wl-l3-navigation-height" value="<?php echo esc_attr($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>
|
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 esc_attr("checked"); } ?>> <?php _e('100% Width', 'ultimate-responsive-image-slider'); ?>
|
473 |
+
<input type="radio" name="wl-l3-width" id="wl-l3-width" value="fullWidth" <?php if($WRIS_L3_Width == "fullWidth" ) { echo esc_attr("checked"); } ?>> <?php _e('Full Width', 'ultimate-responsive-image-slider'); ?>
|
474 |
+
<input type="radio" name="wl-l3-width" id="wl-l3-width" value="custom" <?php if($WRIS_L3_Width == "custom" ) { echo esc_attr("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 esc_attr($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>
|
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 esc_attr("checked"); } ?>> <?php _e('Auto Height', 'ultimate-responsive-image-slider'); ?>
|
489 |
+
<input type="radio" name="wl-l3-height" id="wl-l3-height" value="custom" <?php if($WRIS_L3_Height == "custom" ) { echo esc_attr("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 esc_attr($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>
|
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 esc_attr("selected=selected"); } ?>><?php _e('Cover', 'ultimate-responsive-image-slider'); ?></option>
|
505 |
+
<option value="contain" <?php if($WRIS_L3_Slider_Scale_Mode == "contain" ) { echo esc_attr("selected=selected"); } ?>><?php _e('Contain', 'ultimate-responsive-image-slider'); ?></option>
|
506 |
+
<option value="exact" <?php if($WRIS_L3_Slider_Scale_Mode == "exact" ) { echo esc_attr("selected=selected"); } ?>><?php _e('Exact', 'ultimate-responsive-image-slider'); ?></option>
|
507 |
+
<option value="none" <?php if($WRIS_L3_Slider_Scale_Mode == "none" ) { echo esc_attr("selected=selected"); } ?>><?php _e('None', 'ultimate-responsive-image-slider'); ?></option>
|
508 |
</optgroup>
|
509 |
</select>
|
510 |
<p class="description">
|
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 esc_attr("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 esc_attr("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>-->
|
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 esc_attr("checked"); } ?>> <i class="fa fa-check fa-2x"></i>
|
538 |
+
<input type="radio" name="wl-l3-sliding-arrow" id="wl-l3-sliding-arrow" value="0" <?php if($WRIS_L3_Sliding_Arrow == 0 ) { echo esc_attr("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>
|
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 esc_attr($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>
|
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 esc_attr("checked"); } ?>> <i class="fa fa-check fa-2x"></i>
|
563 |
+
<input type="radio" name="wl-l3-navigation-button" id="wl-l3-navigation-button" value="0" <?php if($WRIS_L3_Navigation_Button == 0 ) { echo esc_attr("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>
|
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 esc_attr($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>
|
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 esc_attr("checked"); } ?>> <i class="fa fa-check fa-2x"></i>
|
588 |
+
<input type="radio" name="wl-l3-fullscreen" id="wl-l3-fullscreen" value="0" <?php if($WRIS_L3_Fullscreeen == 0 ) { echo esc_attr("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>
|
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 esc_attr($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>
|
646 |
<td>
|
647 |
<p>
|
648 |
I hope you like my plugin & It will be useful to make your website beautiful.<br />
|
649 |
+
I need your support and favor to always continue this plugin development.<br />
|
650 |
Please post a good review for my work and support to more encourage me.<br />
|
651 |
</p>
|
652 |
<p>
|
shortcode.php
CHANGED
@@ -9,9 +9,7 @@ function Wpfrank_URIS_Shortcode( $Id ) {
|
|
9 |
wp_enqueue_script('wpfrank-uris-jquery-sliderPro-js', URIS_PLUGIN_URL.'assets/js/jquery.sliderPro.js', array('jquery'), '1.5.0', true);
|
10 |
wp_enqueue_style('wpfrank-uris-slider-css', URIS_PLUGIN_URL.'assets/css/slider-pro.css');
|
11 |
|
12 |
-
|
13 |
-
* Load Saved Ultimate Responsive Image Slider Settings
|
14 |
-
*/
|
15 |
if(!isset($Id['id'])) {
|
16 |
$Id['id'] = "";
|
17 |
} else {
|
@@ -174,7 +172,6 @@ function Wpfrank_URIS_Shortcode( $Id ) {
|
|
174 |
else
|
175 |
$WRIS_L3_Navigation_Pointer_Color = "#000000";
|
176 |
}
|
177 |
-
|
178 |
//Load Slider Layout Output
|
179 |
require("layout.php");
|
180 |
wp_reset_query();
|
9 |
wp_enqueue_script('wpfrank-uris-jquery-sliderPro-js', URIS_PLUGIN_URL.'assets/js/jquery.sliderPro.js', array('jquery'), '1.5.0', true);
|
10 |
wp_enqueue_style('wpfrank-uris-slider-css', URIS_PLUGIN_URL.'assets/css/slider-pro.css');
|
11 |
|
12 |
+
//Load Saved Ultimate Responsive Image Slider Settings
|
|
|
|
|
13 |
if(!isset($Id['id'])) {
|
14 |
$Id['id'] = "";
|
15 |
} else {
|
172 |
else
|
173 |
$WRIS_L3_Navigation_Pointer_Color = "#000000";
|
174 |
}
|
|
|
175 |
//Load Slider Layout Output
|
176 |
require("layout.php");
|
177 |
wp_reset_query();
|
ultimate-responsive-image-slider.php
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
3 |
|
4 |
/*
|
5 |
-
Plugin Name: Ultimate Responsive Image Slider - 3.5.
|
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.
|
9 |
Author: FARAZFRANK
|
10 |
Author URI: http://wpfrank.com/
|
11 |
Text Domain: ultimate-responsive-image-slider
|
@@ -26,7 +26,6 @@ along with Ultimate Responsive Image Slider. If not, see http://www.gnu.org/lice
|
|
26 |
*/
|
27 |
|
28 |
//Constant Variable
|
29 |
-
define("URIS_TD", "ultimate-responsive-image-slider" );
|
30 |
define("URIS_PLUGIN_URL", plugin_dir_url(__FILE__));
|
31 |
|
32 |
// Apply default settings on activation
|
@@ -55,7 +54,6 @@ function WRIS_DefaultSettingsPro() {
|
|
55 |
"WRIS_L3_Navigation_Color" => "#000000",
|
56 |
"WRIS_L3_Fullscreeen" => 1,
|
57 |
"WRIS_L3_Custom_CSS" => "",
|
58 |
-
|
59 |
'WRIS_L3_Slide_Order' => "ASC",
|
60 |
'WRIS_L3_Navigation_Position' => "bottom",
|
61 |
'WRIS_L3_Slide_Distance' => 5,
|
@@ -70,7 +68,7 @@ function WRIS_DefaultSettingsPro() {
|
|
70 |
add_option("WRIS_Settings", $DefaultSettingsProArray);
|
71 |
}
|
72 |
|
73 |
-
// Add settings link on
|
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);
|
@@ -101,7 +99,6 @@ class URIS {
|
|
101 |
}
|
102 |
|
103 |
private function __construct() {
|
104 |
-
|
105 |
$this->counter = 0;
|
106 |
// image crop function
|
107 |
add_image_size('rpg_gallery_admin_thumb', $this->admin_thumbnail_size, $this->admin_thumbnail_size, true);
|
@@ -134,13 +131,11 @@ class URIS {
|
|
134 |
wp_localize_script( 'ajax-script', 'uris_ajax_object', array('ajax_url' => admin_url( 'admin-ajax.php' )));
|
135 |
}
|
136 |
|
137 |
-
|
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 |
-
|
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");
|
@@ -182,44 +177,43 @@ class URIS {
|
|
182 |
|
183 |
// Register Custom Post Type
|
184 |
public function ResponsiveImageSlider() {
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
add_action( 'manage_ris_gallery_posts_custom_column', array(&$this, 'ris_gallery_manage_columns' ), 10, 2 );
|
223 |
}
|
224 |
|
225 |
function ris_gallery_columns( $columns ){
|
@@ -236,7 +230,8 @@ class URIS {
|
|
236 |
global $post;
|
237 |
switch( $column ) {
|
238 |
case 'shortcode' :
|
239 |
-
|
|
|
240 |
break;
|
241 |
default :
|
242 |
break;
|
@@ -293,15 +288,15 @@ class URIS {
|
|
293 |
<?php
|
294 |
}
|
295 |
|
296 |
-
|
297 |
-
* Upgrade To Meta Box
|
298 |
-
*/
|
299 |
public function ris_upgrade_to_pro_meta_box_function() { ?>
|
300 |
<div class="welcome-panel-column" id="wpfrank-action-metabox">
|
301 |
<h4>Unlock More Features in Ultimate Responsive Image Slider Pro</h4>
|
302 |
<p>5 Design Layouts, Transition Effect, Color Customizations, 500+ Google Fonts For Slide Title & Description, Slides Ordering, Link On Slides, 2 Light Box Style, Various Slider Control Settings</p>
|
303 |
<a class="button button-primary button-hero load-customize hide-if-no-customize wpfrank-action-button" target="_blank" href="http://wpfrank.com/demo/ultimate-responsive-image-slider-pro/">Check Pro Plugin Demo</a>
|
304 |
<a class="button button-primary button-hero load-customize hide-if-no-customize wpfrank-action-button" target="_blank" href="http://wpfrank.com/account/signup/ultimate-responsive-image-slider-pro">Buy Pro Plugin $25</a>
|
|
|
|
|
305 |
</div>
|
306 |
<?php
|
307 |
}
|
@@ -484,21 +479,21 @@ class URIS {
|
|
484 |
wp_enqueue_script('wpfrank-uris-media-uploader-js', URIS_PLUGIN_URL . 'assets/js/wpfrank-uris-multiple-media-uploader.js', array('jquery'));
|
485 |
wp_enqueue_media();
|
486 |
|
487 |
-
//custom add image box
|
488 |
wp_enqueue_style('wpfrank-uris-settings-css', URIS_PLUGIN_URL.'assets/css/wpfrank-uris-settings.css', array(), '1.0');
|
489 |
|
490 |
-
//font awesome
|
491 |
wp_enqueue_style('wpfrank-uris-font-awesome-all-css', URIS_PLUGIN_URL.'assets/css/font-awesome-latest/css/fontawesome-all.css');
|
492 |
|
493 |
-
//tool-tip
|
494 |
wp_enqueue_script('wpfrank-uris-tool-tip-js',URIS_PLUGIN_URL.'assets/tooltip/jquery.darktooltip.min.js', array('jquery'));
|
495 |
wp_enqueue_style('wpfrank-uris-tool-tip-css', URIS_PLUGIN_URL.'assets/tooltip/darktooltip.min.css');
|
496 |
|
497 |
-
//color-picker
|
498 |
wp_enqueue_style('wp-color-picker');
|
499 |
wp_enqueue_script('wpfrank-uris-color-picker-custom-js', plugins_url('assets/js/wpfrank-uris-color-picker-custom.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
|
500 |
|
501 |
-
//code-mirror
|
502 |
wp_enqueue_style('wpfrank-uris-code-mirror-css', URIS_PLUGIN_URL.'assets/css/codemirror/codemirror.css');
|
503 |
wp_enqueue_style('wpfrank-uris-blackboard-css', URIS_PLUGIN_URL.'assets/css/codemirror/blackboard.css');
|
504 |
wp_enqueue_style('wpfrank-uris-show-hint-css', URIS_PLUGIN_URL.'assets/css/codemirror/show-hint.css');
|
@@ -568,111 +563,109 @@ class URIS {
|
|
568 |
}
|
569 |
|
570 |
public function add_image_meta_box_save($PostID) {
|
571 |
-
|
572 |
-
$
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
$
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
|
|
|
|
|
|
|
|
|
|
593 |
}
|
594 |
-
update_post_meta($PostID, 'ris_all_photos_details', $SlideIds);
|
595 |
-
/* echo "<pre>";
|
596 |
-
print_r($_POST);
|
597 |
-
echo "</pre>";
|
598 |
-
die; */
|
599 |
-
} else {
|
600 |
-
update_post_meta($PostID, 'ris_all_photos_details', $SlideIds);
|
601 |
}
|
602 |
}
|
603 |
}
|
604 |
|
605 |
//save settings meta box values
|
606 |
public function ris_settings_meta_save($PostID) {
|
607 |
-
if(
|
608 |
-
$
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
}
|
677 |
}
|
678 |
}
|
@@ -690,25 +683,23 @@ function uris_admin_notice_resport() {
|
|
690 |
}
|
691 |
}
|
692 |
|
693 |
-
|
694 |
-
* upgrade to pro
|
695 |
-
*/
|
696 |
add_action('admin_menu' , 'uris_menu_pages');
|
697 |
function uris_menu_pages() {
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
|
|
|
|
|
706 |
}
|
707 |
}
|
708 |
|
709 |
-
|
710 |
-
* URIS Short Code
|
711 |
-
*/
|
712 |
require_once("shortcode.php");
|
713 |
require_once('products.php');
|
714 |
?>
|
2 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
3 |
|
4 |
/*
|
5 |
+
Plugin Name: Ultimate Responsive Image Slider - 3.5.4
|
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.4
|
9 |
Author: FARAZFRANK
|
10 |
Author URI: http://wpfrank.com/
|
11 |
Text Domain: ultimate-responsive-image-slider
|
26 |
*/
|
27 |
|
28 |
//Constant Variable
|
|
|
29 |
define("URIS_PLUGIN_URL", plugin_dir_url(__FILE__));
|
30 |
|
31 |
// Apply default settings on activation
|
54 |
"WRIS_L3_Navigation_Color" => "#000000",
|
55 |
"WRIS_L3_Fullscreeen" => 1,
|
56 |
"WRIS_L3_Custom_CSS" => "",
|
|
|
57 |
'WRIS_L3_Slide_Order' => "ASC",
|
58 |
'WRIS_L3_Navigation_Position' => "bottom",
|
59 |
'WRIS_L3_Slide_Distance' => 5,
|
68 |
add_option("WRIS_Settings", $DefaultSettingsProArray);
|
69 |
}
|
70 |
|
71 |
+
// Add settings link on Plugins 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);
|
99 |
}
|
100 |
|
101 |
private function __construct() {
|
|
|
102 |
$this->counter = 0;
|
103 |
// image crop function
|
104 |
add_image_size('rpg_gallery_admin_thumb', $this->admin_thumbnail_size, $this->admin_thumbnail_size, true);
|
131 |
wp_localize_script( 'ajax-script', 'uris_ajax_object', array('ajax_url' => admin_url( 'admin-ajax.php' )));
|
132 |
}
|
133 |
|
134 |
+
//Clone slider call back
|
|
|
|
|
135 |
public function uris_clone_slider() {
|
136 |
if ( current_user_can( 'manage_options' ) ) {
|
137 |
if ( isset( $_POST['uris_clone_nonce'] ) && wp_verify_nonce( $_POST['uris_clone_nonce'], 'uris_clone_nonce' ) ) {
|
138 |
+
$ursi_clone_post_id = sanitize_text_field($_POST['ursi_clone_post_id']);
|
139 |
// get all required data for cloning
|
140 |
$post_title = get_the_title($ursi_clone_post_id)." - Clone";
|
141 |
$post_type = sanitize_text_field("ris_gallery");
|
177 |
|
178 |
// Register Custom Post Type
|
179 |
public function ResponsiveImageSlider() {
|
180 |
+
if ( current_user_can( 'manage_options' ) ) {
|
181 |
+
$uris_labels = array(
|
182 |
+
'name' => 'Ultimate Responsive Image Slider',
|
183 |
+
'singular_name' => 'Ultimate Responsive Image Slider',
|
184 |
+
'add_new' => __( 'Add New Slider', 'ultimate-responsive-image-slider' ),
|
185 |
+
'add_new_item' => __( 'Add New Slider', 'ultimate-responsive-image-slider' ),
|
186 |
+
'edit_item' => __( 'Edit Slider', 'ultimate-responsive-image-slider' ),
|
187 |
+
'new_item' => __( 'New Slider', 'ultimate-responsive-image-slider' ),
|
188 |
+
'view_item' => __( 'View Slider', 'ultimate-responsive-image-slider' ),
|
189 |
+
'search_items' => __( 'Search Slider', 'ultimate-responsive-image-slider' ),
|
190 |
+
'not_found' => __( 'No Slider found', 'ultimate-responsive-image-slider' ),
|
191 |
+
'not_found_in_trash' => __( 'No Slider Found in Trash', 'ultimate-responsive-image-slider' ),
|
192 |
+
'parent_item_colon' => __( 'Parent Slider:', 'ultimate-responsive-image-slider' ),
|
193 |
+
'all_items' => __( 'All Sliders', 'ultimate-responsive-image-slider' ),
|
194 |
+
'menu_name' => 'UR Image Slider',
|
195 |
+
);
|
196 |
+
$args = array(
|
197 |
+
'labels' => $uris_labels,
|
198 |
+
'hierarchical' => false,
|
199 |
+
'supports' => array( 'title'),
|
200 |
+
'public' => false,
|
201 |
+
'show_ui' => true,
|
202 |
+
'show_in_menu' => true,
|
203 |
+
'menu_position' => 10,
|
204 |
+
'menu_icon' => 'dashicons-format-gallery',
|
205 |
+
'show_in_nav_menus' => false,
|
206 |
+
'publicly_queryable' => false,
|
207 |
+
'exclude_from_search' => true,
|
208 |
+
'has_archive' => true,
|
209 |
+
'query_var' => true,
|
210 |
+
'can_export' => true,
|
211 |
+
'rewrite' => false,
|
212 |
+
);
|
213 |
+
register_post_type( 'ris_gallery', $args );
|
214 |
+
add_filter( 'manage_edit-ris_gallery_columns', array(&$this, 'ris_gallery_columns' )) ;
|
215 |
+
add_action( 'manage_ris_gallery_posts_custom_column', array(&$this, 'ris_gallery_manage_columns' ), 10, 2 );
|
216 |
+
}
|
|
|
217 |
}
|
218 |
|
219 |
function ris_gallery_columns( $columns ){
|
230 |
global $post;
|
231 |
switch( $column ) {
|
232 |
case 'shortcode' :
|
233 |
+
$allowed_shortcode = array('input' => array( 'type' => array(), 'value' => array(), 'readonly' => array() ));
|
234 |
+
echo wp_kses('<input type="text" value="[URIS id='.$post_id.']" readonly="readonly" />', $allowed_shortcode);
|
235 |
break;
|
236 |
default :
|
237 |
break;
|
288 |
<?php
|
289 |
}
|
290 |
|
291 |
+
//Upgrade To Meta Box
|
|
|
|
|
292 |
public function ris_upgrade_to_pro_meta_box_function() { ?>
|
293 |
<div class="welcome-panel-column" id="wpfrank-action-metabox">
|
294 |
<h4>Unlock More Features in Ultimate Responsive Image Slider Pro</h4>
|
295 |
<p>5 Design Layouts, Transition Effect, Color Customizations, 500+ Google Fonts For Slide Title & Description, Slides Ordering, Link On Slides, 2 Light Box Style, Various Slider Control Settings</p>
|
296 |
<a class="button button-primary button-hero load-customize hide-if-no-customize wpfrank-action-button" target="_blank" href="http://wpfrank.com/demo/ultimate-responsive-image-slider-pro/">Check Pro Plugin Demo</a>
|
297 |
<a class="button button-primary button-hero load-customize hide-if-no-customize wpfrank-action-button" target="_blank" href="http://wpfrank.com/account/signup/ultimate-responsive-image-slider-pro">Buy Pro Plugin $25</a>
|
298 |
+
<h4>Also Try My New Slider Plugin</h4>
|
299 |
+
<a class="button button-primary button-hero load-customize hide-if-no-customize wpfrank-action-button" target="_blank" href="https://wordpress.org/plugins/slider-factory/">Slider Factory</a>
|
300 |
</div>
|
301 |
<?php
|
302 |
}
|
479 |
wp_enqueue_script('wpfrank-uris-media-uploader-js', URIS_PLUGIN_URL . 'assets/js/wpfrank-uris-multiple-media-uploader.js', array('jquery'));
|
480 |
wp_enqueue_media();
|
481 |
|
482 |
+
//custom add image box CSS
|
483 |
wp_enqueue_style('wpfrank-uris-settings-css', URIS_PLUGIN_URL.'assets/css/wpfrank-uris-settings.css', array(), '1.0');
|
484 |
|
485 |
+
//font awesome CSS
|
486 |
wp_enqueue_style('wpfrank-uris-font-awesome-all-css', URIS_PLUGIN_URL.'assets/css/font-awesome-latest/css/fontawesome-all.css');
|
487 |
|
488 |
+
//tool-tip JS & CSS
|
489 |
wp_enqueue_script('wpfrank-uris-tool-tip-js',URIS_PLUGIN_URL.'assets/tooltip/jquery.darktooltip.min.js', array('jquery'));
|
490 |
wp_enqueue_style('wpfrank-uris-tool-tip-css', URIS_PLUGIN_URL.'assets/tooltip/darktooltip.min.css');
|
491 |
|
492 |
+
//color-picker CSS n JS
|
493 |
wp_enqueue_style('wp-color-picker');
|
494 |
wp_enqueue_script('wpfrank-uris-color-picker-custom-js', plugins_url('assets/js/wpfrank-uris-color-picker-custom.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
|
495 |
|
496 |
+
//code-mirror CSS & JS for custom CSS section
|
497 |
wp_enqueue_style('wpfrank-uris-code-mirror-css', URIS_PLUGIN_URL.'assets/css/codemirror/codemirror.css');
|
498 |
wp_enqueue_style('wpfrank-uris-blackboard-css', URIS_PLUGIN_URL.'assets/css/codemirror/blackboard.css');
|
499 |
wp_enqueue_style('wpfrank-uris-show-hint-css', URIS_PLUGIN_URL.'assets/css/codemirror/show-hint.css');
|
563 |
}
|
564 |
|
565 |
public function add_image_meta_box_save($PostID) {
|
566 |
+
if ( current_user_can( 'manage_options' ) ) {
|
567 |
+
if(isset($PostID) && isset($_POST['uris-save-action'])) {
|
568 |
+
$TotalSlideIds = count($_POST['rpgp_image_id']);
|
569 |
+
$SlideIds = array();
|
570 |
+
if($TotalSlideIds) {
|
571 |
+
for($i=0; $i < $TotalSlideIds; $i++) {
|
572 |
+
$slide_id = sanitize_text_field($_POST['rpgp_image_id'][$i]);
|
573 |
+
$slide_title = sanitize_text_field($_POST['rpgp_image_label'][$i]);
|
574 |
+
$slide_desc = sanitize_textarea_field($_POST['rpgp_image_desc'][$i]);
|
575 |
+
$slide_alt = sanitize_text_field($_POST['rpgp_image_alt'][$i]);
|
576 |
+
$SlideIds[] = array(
|
577 |
+
'rpgp_image_id' => $slide_id,
|
578 |
+
);
|
579 |
+
// update attachment image title and description
|
580 |
+
$attachment_details = array(
|
581 |
+
'ID' => $slide_id,
|
582 |
+
'post_title' => $slide_title,
|
583 |
+
'post_content' => $slide_desc
|
584 |
+
);
|
585 |
+
wp_update_post( $attachment_details );
|
586 |
+
|
587 |
+
// update attachment alt text
|
588 |
+
update_post_meta( $slide_id, '_wp_attachment_image_alt', $slide_alt );
|
589 |
+
}
|
590 |
+
update_post_meta($PostID, 'ris_all_photos_details', $SlideIds);
|
591 |
+
} else {
|
592 |
+
update_post_meta($PostID, 'ris_all_photos_details', $SlideIds);
|
593 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
594 |
}
|
595 |
}
|
596 |
}
|
597 |
|
598 |
//save settings meta box values
|
599 |
public function ris_settings_meta_save($PostID) {
|
600 |
+
if ( current_user_can( 'manage_options' ) ) {
|
601 |
+
if(isset($PostID) && isset($_POST['wl_action']) == "wl-save-settings") {
|
602 |
+
$WRIS_L3_Slide_Title = sanitize_text_field ( $_POST['wl-l3-slide-title'] );
|
603 |
+
$WRIS_L3_Show_Slide_Title = sanitize_text_field ( $_POST['wl-l3-show-slide-title'] );
|
604 |
+
$WRIS_L3_Show_Slide_Desc = sanitize_textarea_field ( $_POST['wl-l3-show-slide-desc'] );
|
605 |
+
$WRIS_L3_Auto_Slideshow = sanitize_text_field ( $_POST['wl-l3-auto-slide'] );
|
606 |
+
$WRIS_L3_Transition = sanitize_text_field ( $_POST['wl-l3-transition'] );
|
607 |
+
$WRIS_L3_Transition_Speed = sanitize_text_field ( $_POST['wl-l3-transition-speed'] );
|
608 |
+
$WRIS_L3_Sliding_Arrow = sanitize_text_field ( $_POST['wl-l3-sliding-arrow'] );
|
609 |
+
$WRIS_L3_Slider_Navigation = sanitize_text_field ( $_POST['wl-l3-navigation'] );
|
610 |
+
$WRIS_L3_Navigation_Button = sanitize_text_field ( $_POST['wl-l3-navigation-button'] );
|
611 |
+
$WRIS_L3_Slider_Width = sanitize_text_field ( $_POST['wl-l3-slider-width'] );
|
612 |
+
$WRIS_L3_Slider_Height = sanitize_text_field ( $_POST['wl-l3-slider-height'] );
|
613 |
+
$WRIS_L3_Font_Style = sanitize_text_field ( $_POST['wl-l3-font-style'] );
|
614 |
+
$WRIS_L3_Title_Color = sanitize_text_field ( $_POST['wl-l3-title-color'] );
|
615 |
+
$WRIS_L3_Slider_Scale_Mode = sanitize_text_field ( $_POST['wl-l3-slider_scale_mode'] );
|
616 |
+
$WRIS_L3_Slider_Auto_Scale = sanitize_text_field ( $_POST['wl-l3-slider-auto-scale'] );
|
617 |
+
$WRIS_L3_Title_BgColor = sanitize_text_field ( $_POST['wl-l3-title-bgcolor'] );
|
618 |
+
$WRIS_L3_Desc_Color = sanitize_text_field ( $_POST['wl-l3-desc-color'] );
|
619 |
+
$WRIS_L3_Desc_BgColor = sanitize_text_field ( $_POST['wl-l3-desc-bgcolor'] );
|
620 |
+
$WRIS_L3_Navigation_Color = sanitize_text_field ( $_POST['wl-l3-navigation-color'] );
|
621 |
+
$WRIS_L3_Fullscreeen = sanitize_text_field ( $_POST['wl-l3-fullscreen'] );
|
622 |
+
$WRIS_L3_Custom_CSS = sanitize_text_field ( $_POST['wl-l3-custom-css'] );
|
623 |
+
$WRIS_L3_Slide_Order = sanitize_text_field ( $_POST['wl-l3-slide-order'] );
|
624 |
+
$WRIS_L3_Navigation_Position = sanitize_text_field ( $_POST['wl-l3-slide-distance'] );
|
625 |
+
$WRIS_L3_Thumbnail_Style = sanitize_text_field ( $_POST['wl-l3-thumbnail-style'] );
|
626 |
+
$WRIS_L3_Thumbnail_Width = sanitize_text_field ( $_POST['wl-l3-navigation-width'] );
|
627 |
+
$WRIS_L3_Thumbnail_Height = sanitize_text_field ( $_POST['wl-l3-navigation-height'] );
|
628 |
+
$WRIS_L3_Width = sanitize_text_field ( $_POST['wl-l3-width'] );
|
629 |
+
$WRIS_L3_Height = sanitize_text_field ( $_POST['wl-l3-height'] );
|
630 |
+
$WRIS_L3_Navigation_Bullets_Color = sanitize_text_field ( $_POST['wl-l3-navigation-bullets-color'] );
|
631 |
+
$WRIS_L3_Navigation_Pointer_Color = sanitize_text_field ( $_POST['wl-l3-navigation-pointer-color'] );
|
632 |
+
|
633 |
+
$WRIS_Settings_Array = array(
|
634 |
+
'WRIS_L3_Slide_Title' => $WRIS_L3_Slide_Title,
|
635 |
+
'WRIS_L3_Show_Slide_Title' => $WRIS_L3_Show_Slide_Title,
|
636 |
+
'WRIS_L3_Show_Slide_Desc' => $WRIS_L3_Show_Slide_Desc,
|
637 |
+
'WRIS_L3_Auto_Slideshow' => $WRIS_L3_Auto_Slideshow,
|
638 |
+
'WRIS_L3_Transition' => $WRIS_L3_Transition,
|
639 |
+
'WRIS_L3_Transition_Speed' => $WRIS_L3_Transition_Speed,
|
640 |
+
'WRIS_L3_Sliding_Arrow' => $WRIS_L3_Sliding_Arrow,
|
641 |
+
'WRIS_L3_Slider_Navigation' => $WRIS_L3_Slider_Navigation,
|
642 |
+
'WRIS_L3_Navigation_Button' => $WRIS_L3_Navigation_Button,
|
643 |
+
'WRIS_L3_Slider_Width' => $WRIS_L3_Slider_Width,
|
644 |
+
'WRIS_L3_Slider_Height' => $WRIS_L3_Slider_Height,
|
645 |
+
'WRIS_L3_Font_Style' => $WRIS_L3_Font_Style,
|
646 |
+
'WRIS_L3_Title_Color' => $WRIS_L3_Title_Color,
|
647 |
+
'WRIS_L3_Slider_Scale_Mode' => $WRIS_L3_Slider_Scale_Mode,
|
648 |
+
'WRIS_L3_Slider_Auto_Scale' => $WRIS_L3_Slider_Auto_Scale,
|
649 |
+
'WRIS_L3_Title_BgColor' => $WRIS_L3_Title_BgColor,
|
650 |
+
'WRIS_L3_Desc_Color' => $WRIS_L3_Desc_Color,
|
651 |
+
'WRIS_L3_Desc_BgColor' => $WRIS_L3_Desc_BgColor,
|
652 |
+
'WRIS_L3_Navigation_Color' => $WRIS_L3_Navigation_Color,
|
653 |
+
'WRIS_L3_Fullscreeen' => $WRIS_L3_Fullscreeen,
|
654 |
+
'WRIS_L3_Custom_CSS' => $WRIS_L3_Custom_CSS,
|
655 |
+
'WRIS_L3_Slide_Order' => $WRIS_L3_Slide_Order,
|
656 |
+
'WRIS_L3_Navigation_Position' => $WRIS_L3_Navigation_Position,
|
657 |
+
'WRIS_L3_Slide_Distance' => $WRIS_L3_Slide_Distance,
|
658 |
+
'WRIS_L3_Thumbnail_Style' => $WRIS_L3_Thumbnail_Style,
|
659 |
+
'WRIS_L3_Thumbnail_Width' => $WRIS_L3_Thumbnail_Width,
|
660 |
+
'WRIS_L3_Thumbnail_Height' => $WRIS_L3_Thumbnail_Height,
|
661 |
+
'WRIS_L3_Width' => $WRIS_L3_Width,
|
662 |
+
'WRIS_L3_Height' => $WRIS_L3_Height,
|
663 |
+
'WRIS_L3_Navigation_Bullets_Color' => $WRIS_L3_Navigation_Bullets_Color,
|
664 |
+
'WRIS_L3_Navigation_Pointer_Color' => $WRIS_L3_Navigation_Pointer_Color,
|
665 |
+
);
|
666 |
+
$WRIS_Gallery_Settings = "WRIS_Gallery_Settings_".$PostID;
|
667 |
+
update_post_meta($PostID, $WRIS_Gallery_Settings, $WRIS_Settings_Array);
|
668 |
+
}
|
669 |
}
|
670 |
}
|
671 |
}
|
683 |
}
|
684 |
}
|
685 |
|
686 |
+
// upgrade to pro
|
|
|
|
|
687 |
add_action('admin_menu' , 'uris_menu_pages');
|
688 |
function uris_menu_pages() {
|
689 |
+
if ( current_user_can( 'manage_options' ) ) {
|
690 |
+
add_submenu_page('edit.php?post_type=ris_gallery', 'Recover Old Sliders', 'Recover Old Sliders', 'administrator', 'uris-recover-slider', 'uris_recover_slider_page');
|
691 |
+
add_submenu_page('edit.php?post_type=ris_gallery', 'Help & Support', 'Help & Support', 'administrator', 'uris-help-page', 'uris_help_and_support_page');
|
692 |
+
function uris_recover_slider_page() {
|
693 |
+
require_once('recover-slider.php');
|
694 |
+
}
|
695 |
+
function uris_help_and_support_page() {
|
696 |
+
wp_enqueue_style('bootstrap-admin.css', URIS_PLUGIN_URL.'assets/css/bootstrap-latest/bootstrap-admin.css');
|
697 |
+
require_once('help-and-support.php');
|
698 |
+
}
|
699 |
}
|
700 |
}
|
701 |
|
702 |
+
// URIS Shortcode
|
|
|
|
|
703 |
require_once("shortcode.php");
|
704 |
require_once('products.php');
|
705 |
?>
|