Version Description
- Added: Show notification to install Image Optimizer WD plugin on plugin pages.
Download this release
Release Info
Developer | webdorado |
Plugin | Slider by WD – Responsive Slider |
Version | 1.1.92 |
Comparing to | |
See all releases |
Code changes from version 1.1.91 to 1.1.92
- images/iopLogo.png +0 -0
- readme.txt +8 -5
- slider-wd.php +26 -26
images/iopLogo.png
ADDED
Binary file
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: webdorado
|
|
3 |
Donate link: https://web-dorado.com/products/wordpress-slider-plugin.html
|
4 |
Tags: responsive slider, slider, slideshow, wordpress slider, image slider, gallery slider, images slider, Photo Slider, post slider, slider plugin
|
5 |
Requires at least: 3.4
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -90,7 +90,7 @@ If you don’t want to limit yourself with one of these types of sliders, then y
|
|
90 |
|
91 |
|
92 |
###IMPORTANT:
|
93 |
-
If you think you found a bug in Slider WD or have any problem/question concerning the plugin, please check out [WordPress Slider Support Forum](https://
|
94 |
|
95 |
*If you need language of Slider WD which is not included in this list, please contact us and we will do the translation of Slider WD within 3 days. If you find any mistakes in the translation, please contact us and we will make relevant corrections within 3 days. *
|
96 |
|
@@ -100,7 +100,7 @@ If you think you found a bug in Slider WD or have any problem/question concernin
|
|
100 |
#### Thank you for your interest in Slider WD.
|
101 |
|
102 |
### Minimum requirements.
|
103 |
-
* Wordpress 3.
|
104 |
* PHP 5.x
|
105 |
* MySQL 5.x
|
106 |
|
@@ -129,6 +129,9 @@ After downloading the ZIP file of the slider plugin,
|
|
129 |
|
130 |
== Changelog ==
|
131 |
|
|
|
|
|
|
|
132 |
= 1.1.91 =
|
133 |
* Changed: Show notification to install Backup WD plugin only on plugin pages.
|
134 |
|
@@ -1018,7 +1021,7 @@ Exporting Slider
|
|
1018 |
Select the Slider you want to export using the checkbox and press Export slider button. You can choose whether to transfer the slider with pictures and settings, or only the settings of the picture slider adding your own slides afterwards.
|
1019 |
|
1020 |
Importing Slider
|
1021 |
-
Select the file of the content slider/
|
1022 |
|
1023 |
Try demo sliders
|
1024 |
[DOWNLOAD LAYER SLIDER](http://wpdemo.web-dorado.com/layer-slider)
|
3 |
Donate link: https://web-dorado.com/products/wordpress-slider-plugin.html
|
4 |
Tags: responsive slider, slider, slideshow, wordpress slider, image slider, gallery slider, images slider, Photo Slider, post slider, slider plugin
|
5 |
Requires at least: 3.4
|
6 |
+
Tested up to: 4.9
|
7 |
+
Stable tag: 1.1.92
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
90 |
|
91 |
|
92 |
###IMPORTANT:
|
93 |
+
If you think you found a bug in Slider WD or have any problem/question concerning the plugin, please check out [WordPress Slider Support Forum](https://wordpress.org/support/plugin/slider-wd) in our website. If you do not find a solution here, do not hesitate to [click here to contact us](https://web-dorado.com/support/contact-us.html).
|
94 |
|
95 |
*If you need language of Slider WD which is not included in this list, please contact us and we will do the translation of Slider WD within 3 days. If you find any mistakes in the translation, please contact us and we will make relevant corrections within 3 days. *
|
96 |
|
100 |
#### Thank you for your interest in Slider WD.
|
101 |
|
102 |
### Minimum requirements.
|
103 |
+
* Wordpress 3.4+
|
104 |
* PHP 5.x
|
105 |
* MySQL 5.x
|
106 |
|
129 |
|
130 |
== Changelog ==
|
131 |
|
132 |
+
= 1.1.92 =
|
133 |
+
* Added: Show notification to install Image Optimizer WD plugin on plugin pages.
|
134 |
+
|
135 |
= 1.1.91 =
|
136 |
* Changed: Show notification to install Backup WD plugin only on plugin pages.
|
137 |
|
1021 |
Select the Slider you want to export using the checkbox and press Export slider button. You can choose whether to transfer the slider with pictures and settings, or only the settings of the picture slider adding your own slides afterwards.
|
1022 |
|
1023 |
Importing Slider
|
1024 |
+
Select the file of the content slider/image slider to import and press Import button. The slider will be added automatically.
|
1025 |
|
1026 |
Try demo sliders
|
1027 |
[DOWNLOAD LAYER SLIDER](http://wpdemo.web-dorado.com/layer-slider)
|
slider-wd.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Slider WD
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-slider-plugin.html
|
6 |
* Description: This is a responsive plugin, which allows adding sliders to your posts/pages and to custom location. It uses large number of transition effects and supports various types of layers.
|
7 |
-
* Version: 1.1.
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -992,12 +992,12 @@ function wds_topic() {
|
|
992 |
add_action('admin_notices', 'wds_topic', 11);
|
993 |
|
994 |
/**
|
995 |
-
* Show notice to install
|
996 |
*/
|
997 |
-
function
|
998 |
// Remove old notice.
|
999 |
-
if ( get_option('
|
1000 |
-
update_option('
|
1001 |
}
|
1002 |
|
1003 |
// Show notice only on plugin pages.
|
@@ -1005,46 +1005,46 @@ function wds_bp_install_notice() {
|
|
1005 |
return '';
|
1006 |
}
|
1007 |
|
1008 |
-
$meta_value = get_option('
|
1009 |
if ( $meta_value === '' || $meta_value === FALSE ) {
|
1010 |
ob_start();
|
1011 |
$prefix = WD_S_PREFIX;
|
1012 |
$nicename = WD_S_NICENAME;
|
1013 |
$url = WD_S_URL;
|
1014 |
-
$dismiss_url = add_query_arg(array( 'action' => '
|
1015 |
-
$install_url = esc_url(wp_nonce_url(self_admin_url('update.php?action=install-plugin&plugin=
|
1016 |
?>
|
1017 |
-
<div class="notice notice-info" id="
|
1018 |
<p>
|
1019 |
-
<img id="
|
1020 |
-
<?php echo sprintf(__("%s advises: Install brand new
|
1021 |
<a class="button button-primary" href="<?php echo $install_url; ?>">
|
1022 |
<span onclick="jQuery.post('<?php echo $dismiss_url; ?>');"><?php _e("Install", $prefix); ?></span>
|
1023 |
</a>
|
1024 |
</p>
|
1025 |
-
<button type="button" class="
|
1026 |
</div>
|
1027 |
<style>
|
1028 |
@media only screen and (max-width: 500px) {
|
1029 |
body #wd_backup_logo {
|
1030 |
max-width: 100%;
|
1031 |
}
|
1032 |
-
body #
|
1033 |
padding-right: 25px !important;
|
1034 |
}
|
1035 |
}
|
1036 |
-
#
|
1037 |
-
|
1038 |
float: left;
|
1039 |
margin-right: 10px;
|
1040 |
}
|
1041 |
-
#
|
1042 |
position: relative;
|
1043 |
}
|
1044 |
-
#
|
1045 |
margin: 0 5px;
|
1046 |
}
|
1047 |
-
#
|
1048 |
content: "\f153";
|
1049 |
background: 0 0;
|
1050 |
color: #72777c;
|
@@ -1057,7 +1057,7 @@ function wds_bp_install_notice() {
|
|
1057 |
-webkit-font-smoothing: antialiased;
|
1058 |
-moz-osx-font-smoothing: grayscale;
|
1059 |
}
|
1060 |
-
.
|
1061 |
margin-top: 5px;
|
1062 |
}
|
1063 |
</style>
|
@@ -1066,14 +1066,14 @@ function wds_bp_install_notice() {
|
|
1066 |
}
|
1067 |
}
|
1068 |
|
1069 |
-
if ( !is_dir(plugin_dir_path(__DIR__) . '
|
1070 |
-
add_action('admin_notices', '
|
1071 |
}
|
1072 |
|
1073 |
-
if ( !function_exists('
|
1074 |
// Add usermeta to db.
|
1075 |
-
function
|
1076 |
-
update_option('
|
1077 |
}
|
1078 |
-
add_action('
|
1079 |
-
}
|
4 |
* Plugin Name: Slider WD
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-slider-plugin.html
|
6 |
* Description: This is a responsive plugin, which allows adding sliders to your posts/pages and to custom location. It uses large number of transition effects and supports various types of layers.
|
7 |
+
* Version: 1.1.92
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
992 |
add_action('admin_notices', 'wds_topic', 11);
|
993 |
|
994 |
/**
|
995 |
+
* Show notice to install Image Optimization plugin
|
996 |
*/
|
997 |
+
function wds_io_install_notice() {
|
998 |
// Remove old notice.
|
999 |
+
if ( get_option('wds_io_notice_status') !== FALSE ) {
|
1000 |
+
update_option('wds_io_notice_status', '1', 'no');
|
1001 |
}
|
1002 |
|
1003 |
// Show notice only on plugin pages.
|
1005 |
return '';
|
1006 |
}
|
1007 |
|
1008 |
+
$meta_value = get_option('wds_io_notice_status');
|
1009 |
if ( $meta_value === '' || $meta_value === FALSE ) {
|
1010 |
ob_start();
|
1011 |
$prefix = WD_S_PREFIX;
|
1012 |
$nicename = WD_S_NICENAME;
|
1013 |
$url = WD_S_URL;
|
1014 |
+
$dismiss_url = add_query_arg(array( 'action' => 'wd_io_dismiss' ), admin_url('admin-ajax.php'));
|
1015 |
+
$install_url = esc_url(wp_nonce_url(self_admin_url('update.php?action=install-plugin&plugin=image-optimizer-wd'), 'install-plugin_image-optimizer-wd'));
|
1016 |
?>
|
1017 |
+
<div class="notice notice-info" id="wd_io_notice_cont">
|
1018 |
<p>
|
1019 |
+
<img id="wd_io_logo_notice" src="<?php echo $url . '/images/iopLogo.png'; ?>" />
|
1020 |
+
<?php echo sprintf(__("%s advises: Install brand new %s plugin to optimize your website images quickly and easily.", $prefix), $nicename, '<a href="https://wordpress.org/plugins/image-optimizer-wd/" title="' . __("More details", $prefix) . '" target="_blank">' . __("Image Optimizer WD", $prefix) . '</a>'); ?>
|
1021 |
<a class="button button-primary" href="<?php echo $install_url; ?>">
|
1022 |
<span onclick="jQuery.post('<?php echo $dismiss_url; ?>');"><?php _e("Install", $prefix); ?></span>
|
1023 |
</a>
|
1024 |
</p>
|
1025 |
+
<button type="button" class="wd_io_notice_dissmiss notice-dismiss" onclick="jQuery('#wd_io_notice_cont').hide(); jQuery.post('<?php echo $dismiss_url; ?>');"><span class="screen-reader-text"></span></button>
|
1026 |
</div>
|
1027 |
<style>
|
1028 |
@media only screen and (max-width: 500px) {
|
1029 |
body #wd_backup_logo {
|
1030 |
max-width: 100%;
|
1031 |
}
|
1032 |
+
body #wd_io_notice_cont p {
|
1033 |
padding-right: 25px !important;
|
1034 |
}
|
1035 |
}
|
1036 |
+
#wd_io_logo_notice {
|
1037 |
+
height: 32px;
|
1038 |
float: left;
|
1039 |
margin-right: 10px;
|
1040 |
}
|
1041 |
+
#wd_io_notice_cont {
|
1042 |
position: relative;
|
1043 |
}
|
1044 |
+
#wd_io_notice_cont a {
|
1045 |
margin: 0 5px;
|
1046 |
}
|
1047 |
+
#wd_io_notice_cont .dashicons-dismiss:before {
|
1048 |
content: "\f153";
|
1049 |
background: 0 0;
|
1050 |
color: #72777c;
|
1057 |
-webkit-font-smoothing: antialiased;
|
1058 |
-moz-osx-font-smoothing: grayscale;
|
1059 |
}
|
1060 |
+
.wd_io_notice_dissmiss {
|
1061 |
margin-top: 5px;
|
1062 |
}
|
1063 |
</style>
|
1066 |
}
|
1067 |
}
|
1068 |
|
1069 |
+
if ( !is_dir(plugin_dir_path(__DIR__) . 'image-optimizer-wd') ) {
|
1070 |
+
add_action('admin_notices', 'wds_io_install_notice');
|
1071 |
}
|
1072 |
|
1073 |
+
if ( !function_exists('wd_iops_install_notice_status') ) {
|
1074 |
// Add usermeta to db.
|
1075 |
+
function wd_iops_install_notice_status() {
|
1076 |
+
update_option('wds_io_notice_status', '1', 'no');
|
1077 |
}
|
1078 |
+
add_action('wp_ajax_wd_io_dismiss', 'wd_iops_install_notice_status');
|
1079 |
+
}
|