Ultimate Responsive Image Slider Plugin - Version 3.2.11

Version Description

Download this release

Release Info

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

Code changes from version 3.2.10 to 3.2.11

css/uris-feature-notice.css CHANGED
@@ -5,7 +5,7 @@ li{
5
  width:100%;
6
  }
7
  .wb_plugin_feature{
8
- color:#fff;
9
  }
10
  .wb-text-center{
11
  text-align:center;
@@ -55,8 +55,8 @@ li{
55
  box-shadow: -6px 5px 7px hsla(187, 1%, 15%, 0.3);
56
  }
57
  .wb_banner_featurs-list ul li {
58
- margin: 7px 20px;
59
- font-size: 14px;
60
 
61
  }
62
  .wb_banner_featurs-list h2 {
@@ -169,4 +169,13 @@ span.gp_banner_head {
169
  max-width: 100%;
170
  padding-left: 70px;
171
  padding-top: 20px;
172
- }
 
 
 
 
 
 
 
 
 
5
  width:100%;
6
  }
7
  .wb_plugin_feature{
8
+ color:000;
9
  }
10
  .wb-text-center{
11
  text-align:center;
55
  box-shadow: -6px 5px 7px hsla(187, 1%, 15%, 0.3);
56
  }
57
  .wb_banner_featurs-list ul li {
58
+ margin: 25px 20px;
59
+ font-size: 16px;
60
 
61
  }
62
  .wb_banner_featurs-list h2 {
169
  max-width: 100%;
170
  padding-left: 70px;
171
  padding-top: 20px;
172
+ padding-right: 70px;
173
+ }
174
+ .wp-photo-img-responsive {
175
+ max-width: 100%;
176
+ padding-left: 70px;
177
+ padding-top: 20px;
178
+ padding-right: 70px;
179
+ padding-bottom: 20px;
180
+ }
181
+
img/wpg_xmas-min.jpg ADDED
Binary file
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.wpfrank.com/
4
  Tags: slider, best slider plugin, image slide show, responsive slider, wordpress image slider plugin
5
  Requires at least: 3.8
6
  Tested up to: 4.9.8
7
- Stable tag: 3.2.10
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -127,6 +127,10 @@ Please use WordPress [support forum](http://wordpress.org/support/plugin/ultimat
127
  == Changelog ==
128
  For more information, see [WP Frank](https://wpfrank.com/)
129
 
 
 
 
 
130
  = V 3.2.10 =
131
  - Contributor removed
132
 
4
  Tags: slider, best slider plugin, image slide show, responsive slider, wordpress image slider plugin
5
  Requires at least: 3.8
6
  Tested up to: 4.9.8
7
+ Stable tag: 3.2.11
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
127
  == Changelog ==
128
  For more information, see [WP Frank](https://wpfrank.com/)
129
 
130
+ = V 3.2.11 =
131
+ - Add Slider Text Alignment Setting
132
+ - Add New Pro Banner
133
+
134
  = V 3.2.10 =
135
  - Contributor removed
136
 
ultimate-responsive-image-slider-settings-meta-box.php CHANGED
@@ -4,7 +4,12 @@
4
  */
5
  $PostId = $post->ID;
6
  $WRIS_Gallery_Settings_Key = "WRIS_Gallery_Settings_".$PostId;
7
- $WRIS_Gallery_Settings = unserialize(get_post_meta( $PostId, $WRIS_Gallery_Settings_Key, true));
 
 
 
 
 
8
 
9
  if(isset($WRIS_Gallery_Settings['WRIS_L3_Slider_Scale_Mode']))
10
  $WRIS_L3_Slider_Scale_Mode = $WRIS_Gallery_Settings['WRIS_L3_Slider_Scale_Mode'];
@@ -245,7 +250,18 @@ jQuery(document).ready(function(){
245
  <?php _e('Select Yes/No option to show/hide slide title above slider', URIS_TD); ?>.
246
  </p>
247
  </td>
248
- </tr>
 
 
 
 
 
 
 
 
 
 
 
249
  <tr id="L3">
250
  <th scope="row"><label><?php _e('Auto Play Slide Show', URIS_TD); ?></label></th>
251
  <td>
4
  */
5
  $PostId = $post->ID;
6
  $WRIS_Gallery_Settings_Key = "WRIS_Gallery_Settings_".$PostId;
7
+ $WRIS_Gallery_Settings = unserialize(get_post_meta( $PostId, $WRIS_Gallery_Settings_Key, true));
8
+
9
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Title_Align']))
10
+ $WRIS_L3_Title_Align = $WRIS_Gallery_Settings['WRIS_L3_Title_Align'];
11
+ else
12
+ $WRIS_L3_Title_Align = "2";
13
 
14
  if(isset($WRIS_Gallery_Settings['WRIS_L3_Slider_Scale_Mode']))
15
  $WRIS_L3_Slider_Scale_Mode = $WRIS_Gallery_Settings['WRIS_L3_Slider_Scale_Mode'];
250
  <?php _e('Select Yes/No option to show/hide slide title above slider', URIS_TD); ?>.
251
  </p>
252
  </td>
253
+ </tr>
254
+
255
+ <tr id="L3">
256
+ <th scope="row"><label><?php _e('Slide Title Alignment', URIS_TD); ?></label></th>
257
+ <td>
258
+ <?php if(!isset($WRIS_L3_Title_Align)) $WRIS_L3_Title_Align = 1; ?>
259
+ <input type="radio" name="wl-l3-title-align" id="wl-l3-title-align" value="1" <?php if($WRIS_L3_Title_Align == 1 ) { echo "checked"; } ?>> Left &nbsp;&nbsp;
260
+ <input type="radio" name="wl-l3-title-align" id="wl-l3-title-align" value="2" <?php if($WRIS_L3_Title_Align == 2 ) { echo "checked"; } ?>> Center &nbsp;&nbsp;
261
+ <input type="radio" name="wl-l3-title-align" id="wl-l3-title-align" value="3" <?php if($WRIS_L3_Title_Align == 3 ) { echo "checked"; } ?>> Right
262
+ </td>
263
+ </tr>
264
+
265
  <tr id="L3">
266
  <th scope="row"><label><?php _e('Auto Play Slide Show', URIS_TD); ?></label></th>
267
  <td>
ultimate-responsive-image-slider-short-code.php CHANGED
@@ -18,6 +18,12 @@ function ResponsiveWWRISroShortCode( $Id ) {
18
  $WRIS_Gallery_Settings_Key = "WRIS_Gallery_Settings_".$WRIS_Id;
19
  $WRIS_Gallery_Settings = unserialize(get_post_meta( $WRIS_Id, $WRIS_Gallery_Settings_Key, true));
20
  if($WRIS_Gallery_Settings['WRIS_L3_Slider_Width'] && $WRIS_Gallery_Settings['WRIS_L3_Slider_Height']) {
 
 
 
 
 
 
21
 
22
  if(isset($WRIS_Gallery_Settings['WRIS_L3_Slider_Scale_Mode']))
23
  $WRIS_L3_Slider_Scale_Mode = $WRIS_Gallery_Settings['WRIS_L3_Slider_Scale_Mode'];
18
  $WRIS_Gallery_Settings_Key = "WRIS_Gallery_Settings_".$WRIS_Id;
19
  $WRIS_Gallery_Settings = unserialize(get_post_meta( $WRIS_Id, $WRIS_Gallery_Settings_Key, true));
20
  if($WRIS_Gallery_Settings['WRIS_L3_Slider_Width'] && $WRIS_Gallery_Settings['WRIS_L3_Slider_Height']) {
21
+
22
+ if(isset($WRIS_Gallery_Settings['WRIS_L3_Title_Align']))
23
+ $WRIS_L3_Title_Align = $WRIS_Gallery_Settings['WRIS_L3_Title_Align'];
24
+ else
25
+ $WRIS_L3_Title_Align = 2;
26
+
27
 
28
  if(isset($WRIS_Gallery_Settings['WRIS_L3_Slider_Scale_Mode']))
29
  $WRIS_L3_Slider_Scale_Mode = $WRIS_Gallery_Settings['WRIS_L3_Slider_Scale_Mode'];
ultimate-responsive-image-slider.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Ultimate Responsive Image Slider
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.2.10
7
  Author: WP Frank
8
  Author URI: https://wpfrank.com/
9
  Text Domain: ultimate-responsive-image-slider
@@ -32,6 +32,7 @@ register_activation_hook( __FILE__, 'WRIS_DefaultSettingsPro' );
32
  function WRIS_DefaultSettingsPro() {
33
  $DefaultSettingsProArray = serialize( array(
34
  //layout 3 settings
 
35
  "WRIS_L3_Slide_Title" => 1,
36
  "WRIS_L3_Set_slide_Title" => 0,
37
  "WRIS_L3_Auto_Slideshow" => 1,
@@ -492,6 +493,7 @@ class URIS {
492
  //save settings meta box values
493
  public function ris_settings_meta_save($PostID) {
494
  if(isset($PostID) && isset($_POST['wl_action']) == "wl-save-settings") {
 
495
  $WRIS_L3_Slide_Title = sanitize_option ( 'title', $_POST['wl-l3-slide-title'] );
496
  $WRIS_L3_Set_slide_Title = sanitize_option ( 'set_slide_title', $_POST['wl-l3-set-slide-title'] );
497
  $WRIS_L3_Auto_Slideshow = sanitize_option ( 'autoplay', $_POST['wl-l3-auto-slide'] );
@@ -524,6 +526,7 @@ class URIS {
524
  $WRIS_L3_Navigation_Pointer_Color = sanitize_option ( 'navigation_pointer_color', $_POST['wl-l3-navigation-pointer-color'] );
525
 
526
  $WRIS_Settings_Array = serialize( array(
 
527
  'WRIS_L3_Slide_Title' => $WRIS_L3_Slide_Title,
528
  'WRIS_L3_Set_slide_Title' => $WRIS_L3_Set_slide_Title,
529
  'WRIS_L3_Auto_Slideshow' => $WRIS_L3_Auto_Slideshow,
@@ -572,9 +575,12 @@ function uris_admin_notice_resport() {
572
  $uris_screen = get_current_screen();
573
  if ( $pagenow == 'edit.php' && $uris_screen->post_type == "ris_gallery" ) {
574
  include( 'uris-feature-admin-notice.php' );
 
 
575
  }
576
  }
577
 
 
578
  /**
579
  * upgrade to pro
580
  */
3
  Plugin Name: Ultimate Responsive Image Slider
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.2.11
7
  Author: WP Frank
8
  Author URI: https://wpfrank.com/
9
  Text Domain: ultimate-responsive-image-slider
32
  function WRIS_DefaultSettingsPro() {
33
  $DefaultSettingsProArray = serialize( array(
34
  //layout 3 settings
35
+ "WRIS_L3_Title_Align" => 2,
36
  "WRIS_L3_Slide_Title" => 1,
37
  "WRIS_L3_Set_slide_Title" => 0,
38
  "WRIS_L3_Auto_Slideshow" => 1,
493
  //save settings meta box values
494
  public function ris_settings_meta_save($PostID) {
495
  if(isset($PostID) && isset($_POST['wl_action']) == "wl-save-settings") {
496
+ $WRIS_L3_Title_Align = $_POST['wl-l3-title-align'] ;
497
  $WRIS_L3_Slide_Title = sanitize_option ( 'title', $_POST['wl-l3-slide-title'] );
498
  $WRIS_L3_Set_slide_Title = sanitize_option ( 'set_slide_title', $_POST['wl-l3-set-slide-title'] );
499
  $WRIS_L3_Auto_Slideshow = sanitize_option ( 'autoplay', $_POST['wl-l3-auto-slide'] );
526
  $WRIS_L3_Navigation_Pointer_Color = sanitize_option ( 'navigation_pointer_color', $_POST['wl-l3-navigation-pointer-color'] );
527
 
528
  $WRIS_Settings_Array = serialize( array(
529
+ 'WRIS_L3_Title_Align' => $WRIS_L3_Title_Align,
530
  'WRIS_L3_Slide_Title' => $WRIS_L3_Slide_Title,
531
  'WRIS_L3_Set_slide_Title' => $WRIS_L3_Set_slide_Title,
532
  'WRIS_L3_Auto_Slideshow' => $WRIS_L3_Auto_Slideshow,
575
  $uris_screen = get_current_screen();
576
  if ( $pagenow == 'edit.php' && $uris_screen->post_type == "ris_gallery" ) {
577
  include( 'uris-feature-admin-notice.php' );
578
+ }else{
579
+ include( 'uris-promote.php' );
580
  }
581
  }
582
 
583
+
584
  /**
585
  * upgrade to pro
586
  */
uris-layout.php CHANGED
@@ -190,6 +190,16 @@ jQuery( document ).ready(function() {
190
 
191
  .uris-title{
192
  font-family: <?php echo $WRIS_L3_Font_Style; ?>;
 
 
 
 
 
 
 
 
 
 
193
  }
194
 
195
  @media (max-width: 640px) {
190
 
191
  .uris-title{
192
  font-family: <?php echo $WRIS_L3_Font_Style; ?>;
193
+ <?php
194
+ if($WRIS_L3_Title_Align==1){
195
+ $WRIS_L3_Title_Align = "left";
196
+ }else if($WRIS_L3_Title_Align==2){
197
+ $WRIS_L3_Title_Align = "center";
198
+ }else{
199
+ $WRIS_L3_Title_Align = "right";
200
+ }
201
+ ?>
202
+ text-align: <?php echo $WRIS_L3_Title_Align; ?>;
203
  }
204
 
205
  @media (max-width: 640px) {
uris-promote.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined( 'ABSPATH' ) ) {
3
+ exit;
4
+ }
5
+ wp_enqueue_style( 'uris-feature-notice-css', URIS_PLUGIN_URL . 'css/uris-feature-notice.css' );
6
+ ?>
7
+ <div class="wb_plugin_feature notice is-dismissible">
8
+ <div class="wb_plugin_feature_banner default_pattern pattern_ ">
9
+ <div class="wb-col-md-6 wb-col-sm-12 box">
10
+ <div class="ribbon"><span>Check Pro</span></div>
11
+ <img class="wp-photo-img-responsive" src="<?php echo URIS_PLUGIN_URL . 'img/wpg_xmas-min.jpg'; ?>" alt="img">
12
+ </div>
13
+ <div class="wb-col-md-6 wb-col-sm-12 wb_banner_featurs-list">
14
+ <span class="gp_banner_head"><h2><?php _e( 'WP Photo Gallery Pro Features', URIS_TD ); ?> </h2></span>
15
+ <ul>
16
+ <li><?php _e( 'Multiple Column Layout', URIS_TD ); ?></li>
17
+ <li><?php _e( 'Multiple Lightbox Effect', URIS_TD ); ?></li>
18
+ <li><?php _e( '500 Plus Google Fonts', URIS_TD ); ?></li>
19
+ <li><?php _e( 'Icon on Gallery Image', URIS_TD ); ?></li>
20
+ <li><?php _e( 'Multiple Image Uploader', URIS_TD ); ?></li>
21
+ <li><?php _e( 'Hide or Show Gallery Title and Description', URIS_TD ); ?></li>
22
+ <li><?php _e( 'Multiple Color On Caption', URIS_TD ); ?></li>
23
+ <li><?php _e( 'Drag and Drop Image Control', URIS_TD ); ?></li>
24
+ <li><?php _e( 'Widget Gallery Utility', URIS_TD ); ?></li>
25
+
26
+ </ul>
27
+ <div class="wp_btn-grup">
28
+ <a class="wb_button-primary" href="https://wpfrank.com/demo/wp-photo-gallery-pro/"
29
+ target="_blank"><?php _e( 'Check Pro Demo', URIS_TD ); ?></a>
30
+ <a class="wb_button-primary" href="https://wpfrank.com/account/signup/wp-photo-gallery-pro"
31
+ target="_blank"><?php _e( 'Buy Pro', URIS_TD ); ?> $15</a>
32
+ </div>
33
+
34
+ </div>
35
+ </div>
36
+ </div>