Ultimate Responsive Image Slider Plugin - Version 3.0.7

Version Description

Download this release

Release Info

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

Code changes from version 3.0.6 to 3.0.7

Files changed (2) hide show
  1. readme.txt +3 -2
  2. ultimate-responsive-image-slider.php +26 -10
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: weblizar
3
  Donate link: http://www.weblizar.com/
4
  Tags: slider, best slider plugin, image slide show, responsive slider, wordpress image slider plugin
5
  Requires at least: 3.8
6
- Tested up to: 4.8.1
7
- Stable tag: 3.0.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -154,6 +154,7 @@ Please use WordPress [support forum](http://wordpress.org/support/plugin/ultimat
154
 
155
  For more information, see Weblizar(http://wwww.weblizar.com/).
156
 
 
157
  V 3.0.6 - Pre loader added
158
  V 3.0.5 - version update + compatible upto wp 4.8 + SEO ready image slider
159
  V 3.0.4 - Slide image blank alt text fixed
3
  Donate link: http://www.weblizar.com/
4
  Tags: slider, best slider plugin, image slide show, responsive slider, wordpress image slider plugin
5
  Requires at least: 3.8
6
+ Tested up to: 4.8.2
7
+ Stable tag: 3.0.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
154
 
155
  For more information, see Weblizar(http://wwww.weblizar.com/).
156
 
157
+ V 3.0.7 - version update + compatible upto wp 4.8.2
158
  V 3.0.6 - Pre loader added
159
  V 3.0.5 - version update + compatible upto wp 4.8 + SEO ready image slider
160
  V 3.0.4 - Slide image blank alt text fixed
ultimate-responsive-image-slider.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Ultimate Responsive Image Slider
4
- * Version: 3.0.6
5
  * Description: Add unlimited image slides using Ultimate Responsive Image Slider in any Page and Post content to give an attractive mode to represent contents.
6
  * Author: Weblizar
7
  * Author URI: https://weblizar.com/plugins/ultimate-responsive-image-slider-pro/
@@ -93,11 +93,11 @@ function admin_content_wpse_144936() {
93
 
94
  }
95
  </style>
96
- <div class="wlTBlock ">
97
  <a href="https://weblizar.com/plugins/ultimate-responsive-image-slider-pro/" target="_new">
98
  <div class="wlTBig"><span class="dashicons dashicons-cart"></span>Get Pro version</div>
99
  <div class="WlTSmall">with PRO version you get more advanced functionality and even more flexibility in settings </div>
100
- </a>
101
  </div>
102
  <?php
103
  }
@@ -107,11 +107,9 @@ add_action('in_admin_header','admin_content_wpse_144936');
107
  // Add settings link on plugin page
108
  function ris_links($links) {
109
  $ris_pro_link = '<a href="https://weblizar.com/plugins/ultimate-responsive-image-slider-pro/" target="_blank">Try Pro</a>';
110
- array_unshift($links, $ris_pro_link);
111
-
112
  $ris_settings_link = '<a href="edit.php?post_type=ris_gallery">Settings</a>';
113
- array_unshift($links, $ris_settings_link);
114
-
115
  return $links;
116
  }
117
  $ris_plugin_name = plugin_basename(__FILE__);
@@ -149,7 +147,8 @@ class WRIS {
149
  $this->counter = 0;
150
  add_action('admin_print_scripts-post.php', array(&$this, 'ris_admin_print_scripts'));
151
  add_action('admin_print_scripts-post-new.php', array(&$this, 'ris_admin_print_scripts'));
152
- add_image_size('rpg_gallery_admin_thumb', $this->admin_thumbnail_size, $this->admin_thumbnail_size, true);
 
153
  add_image_size('rpg_gallery_thumb', $this->thumbnail_size_w, $this->thumbnail_size_h, true);
154
  add_shortcode('rpggallery', array(&$this, 'shortcode'));
155
  if (is_admin()) {
@@ -387,8 +386,25 @@ class WRIS {
387
  </div>
388
  <div style="clear:left;"></div>
389
  <input id="uris_delete_all_button" class="button" type="button" value="<?php _e('Remove All Slides', WRIS_TEXT_DOMAIN); ?>">
390
- <?php
 
 
 
 
 
 
391
  }
 
 
 
 
 
 
 
 
 
 
 
392
 
393
  /**
394
  * This function display Add New Image interface
@@ -402,7 +418,7 @@ class WRIS {
402
  <p><?php _e("Use below shortcode in any Page/Post to publish your slider", WRIS_TEXT_DOMAIN);?></p>
403
  <input readonly="readonly" type="text" value="<?php echo "[URIS id=".get_the_ID()."]"; ?>">
404
  <?php
405
- }
406
 
407
  public function admin_thumb_uris($id) {
408
  $image = wp_get_attachment_image_src($id, 'rpggallery_admin_original', true);
1
  <?php
2
  /**
3
  * Plugin Name: Ultimate Responsive Image Slider
4
+ * Version: 3.0.7
5
  * Description: Add unlimited image slides using Ultimate Responsive Image Slider in any Page and Post content to give an attractive mode to represent contents.
6
  * Author: Weblizar
7
  * Author URI: https://weblizar.com/plugins/ultimate-responsive-image-slider-pro/
93
 
94
  }
95
  </style>
96
+ <div class="wlTBlock">
97
  <a href="https://weblizar.com/plugins/ultimate-responsive-image-slider-pro/" target="_new">
98
  <div class="wlTBig"><span class="dashicons dashicons-cart"></span>Get Pro version</div>
99
  <div class="WlTSmall">with PRO version you get more advanced functionality and even more flexibility in settings </div>
100
+ </a>
101
  </div>
102
  <?php
103
  }
107
  // Add settings link on plugin page
108
  function ris_links($links) {
109
  $ris_pro_link = '<a href="https://weblizar.com/plugins/ultimate-responsive-image-slider-pro/" target="_blank">Try Pro</a>';
110
+ array_unshift($links, $ris_pro_link);
 
111
  $ris_settings_link = '<a href="edit.php?post_type=ris_gallery">Settings</a>';
112
+ array_unshift($links, $ris_settings_link);
 
113
  return $links;
114
  }
115
  $ris_plugin_name = plugin_basename(__FILE__);
147
  $this->counter = 0;
148
  add_action('admin_print_scripts-post.php', array(&$this, 'ris_admin_print_scripts'));
149
  add_action('admin_print_scripts-post-new.php', array(&$this, 'ris_admin_print_scripts'));
150
+ add_action('admin_notices', array(&$this, 'review_admin_notice_ris'));
151
+ add_image_size('rpg_gallery_admin_thumb', $this->admin_thumbnail_size, $this->admin_thumbnail_size, true);
152
  add_image_size('rpg_gallery_thumb', $this->thumbnail_size_w, $this->thumbnail_size_h, true);
153
  add_shortcode('rpggallery', array(&$this, 'shortcode'));
154
  if (is_admin()) {
386
  </div>
387
  <div style="clear:left;"></div>
388
  <input id="uris_delete_all_button" class="button" type="button" value="<?php _e('Remove All Slides', WRIS_TEXT_DOMAIN); ?>">
389
+ <style>
390
+ .review-notice {
391
+ background-color: #27A4DD !important;
392
+ color: #FFFFFF !important;
393
+ }
394
+ </style>
395
+ <?php
396
  }
397
+ // Alert Message For Review
398
+ public function review_admin_notice_ris(){
399
+ $screen = get_current_screen();
400
+ if ( $screen->id == 'ris_gallery' ) {
401
+ echo '<div class="notice notice-warning is-dismissible review-notice">
402
+ <p>Thanks for installing and using Ultimate Responsive Image Slider plugin. If you love our plugin and plugin is really work for you.</p>
403
+ <p>Then please share your feedback about this plugin. Your feedback will be helpful to make plugin more error free.</p>
404
+ <p><a href="https://wordpress.org/support/plugin/ultimate-responsive-image-slider/reviews/?filter=5" target="_blank" name="review" id="review" class="button button-primary">Review & Rate</a></p>
405
+ </div>';
406
+ }
407
+ }
408
 
409
  /**
410
  * This function display Add New Image interface
418
  <p><?php _e("Use below shortcode in any Page/Post to publish your slider", WRIS_TEXT_DOMAIN);?></p>
419
  <input readonly="readonly" type="text" value="<?php echo "[URIS id=".get_the_ID()."]"; ?>">
420
  <?php
421
+ }
422
 
423
  public function admin_thumb_uris($id) {
424
  $image = wp_get_attachment_image_src($id, 'rpggallery_admin_original', true);