Version Description
- Fixed: Add post page styles on Wordpress 4.5
- Fixed: Undefined iframes in frontend.
- Fixed: Filmstrip responsiveness.
Download this release
Release Info
| Developer | webdorado |
| Plugin | |
| Version | 1.1.31 |
| Comparing to | |
| See all releases | |
Code changes from version 1.1.30 to 1.1.31
- admin/views/WDSViewSliders_wds.php +4 -4
- css/wds_tables.css +23 -1
- frontend/views/WDSViewSlider.php +6 -4
- readme.txt +7 -2
- slider-wd.php +2 -2
admin/views/WDSViewSliders_wds.php
CHANGED
|
@@ -108,7 +108,7 @@ class WDSViewSliders_wds {
|
|
| 108 |
<table class="wp-list-table widefat fixed pages">
|
| 109 |
<thead>
|
| 110 |
<th class="manage-column column-cb check-column table_small_col"><input id="check_all" type="checkbox" onclick="spider_check_all(this)" style="margin:0;" /></th>
|
| 111 |
-
<th class="table_small_col <?php if ($order_by == 'id') {echo $order_class;} ?>">
|
| 112 |
<a onclick="spider_set_input_value('task', '');
|
| 113 |
spider_set_input_value('order_by', 'id');
|
| 114 |
spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'id') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
|
|
@@ -120,7 +120,7 @@ class WDSViewSliders_wds {
|
|
| 120 |
|
| 121 |
|
| 122 |
<th class="mobile_hide table_big_col">Slider</th>
|
| 123 |
-
<th class="<?php if ($order_by == 'name') {echo $order_class;} ?>">
|
| 124 |
<a onclick="spider_set_input_value('task', '');
|
| 125 |
spider_set_input_value('order_by', 'name');
|
| 126 |
spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'name') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
|
|
@@ -131,7 +131,7 @@ class WDSViewSliders_wds {
|
|
| 131 |
<th class="mobile_hide table_big_col">Slides</th>
|
| 132 |
<th class="table_big_col">Shortcode</th>
|
| 133 |
<th class="mobile_hide table_large_col">PHP function</th>
|
| 134 |
-
<th class="mobile_hide
|
| 135 |
<a onclick="spider_set_input_value('task', '');
|
| 136 |
spider_set_input_value('order_by', 'published');
|
| 137 |
spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'published') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
|
|
@@ -176,7 +176,7 @@ class WDSViewSliders_wds {
|
|
| 176 |
<td class="mobile_hide table_large_col" style="padding-left: 0; padding-right: 0;">
|
| 177 |
<input type="text" value="<?php wd_slider(<?php echo $row_data->id; ?>); ?>" onclick="spider_select_value(this)" size="23" readonly="readonly" style="padding-left: 1px; padding-right: 1px;" />
|
| 178 |
</td>
|
| 179 |
-
<td class="mobile_hide
|
| 180 |
<a onclick="spider_set_input_value('task', '<?php echo $published; ?>');spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');spider_form_submit(event, 'sliders_form')" href=""><img src="<?php echo WD_S_URL . '/images/sliderwdpng/' . $published_image . '.png'; ?>"></img></a>
|
| 181 |
</td>
|
| 182 |
<td class="mobile_hide table_big_col" colspan="3">
|
| 108 |
<table class="wp-list-table widefat fixed pages">
|
| 109 |
<thead>
|
| 110 |
<th class="manage-column column-cb check-column table_small_col"><input id="check_all" type="checkbox" onclick="spider_check_all(this)" style="margin:0;" /></th>
|
| 111 |
+
<th class="sortable table_small_col <?php if ($order_by == 'id') {echo $order_class;} ?>">
|
| 112 |
<a onclick="spider_set_input_value('task', '');
|
| 113 |
spider_set_input_value('order_by', 'id');
|
| 114 |
spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'id') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
|
| 120 |
|
| 121 |
|
| 122 |
<th class="mobile_hide table_big_col">Slider</th>
|
| 123 |
+
<th class="sortable <?php if ($order_by == 'name') {echo $order_class;} ?>">
|
| 124 |
<a onclick="spider_set_input_value('task', '');
|
| 125 |
spider_set_input_value('order_by', 'name');
|
| 126 |
spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'name') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
|
| 131 |
<th class="mobile_hide table_big_col">Slides</th>
|
| 132 |
<th class="table_big_col">Shortcode</th>
|
| 133 |
<th class="mobile_hide table_large_col">PHP function</th>
|
| 134 |
+
<th class="sortable mobile_hide table_bigger_col <?php if ($order_by == 'published') {echo $order_class;} ?>">
|
| 135 |
<a onclick="spider_set_input_value('task', '');
|
| 136 |
spider_set_input_value('order_by', 'published');
|
| 137 |
spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'published') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
|
| 176 |
<td class="mobile_hide table_large_col" style="padding-left: 0; padding-right: 0;">
|
| 177 |
<input type="text" value="<?php wd_slider(<?php echo $row_data->id; ?>); ?>" onclick="spider_select_value(this)" size="23" readonly="readonly" style="padding-left: 1px; padding-right: 1px;" />
|
| 178 |
</td>
|
| 179 |
+
<td class="mobile_hide table_bigger_col">
|
| 180 |
<a onclick="spider_set_input_value('task', '<?php echo $published; ?>');spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');spider_form_submit(event, 'sliders_form')" href=""><img src="<?php echo WD_S_URL . '/images/sliderwdpng/' . $published_image . '.png'; ?>"></img></a>
|
| 181 |
</td>
|
| 182 |
<td class="mobile_hide table_big_col" colspan="3">
|
css/wds_tables.css
CHANGED
|
@@ -5,6 +5,10 @@
|
|
| 5 |
margin: 0;
|
| 6 |
}
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
#bullets_images_type,
|
| 9 |
#bullets_images_color,
|
| 10 |
#bull_style,
|
|
@@ -198,7 +202,7 @@
|
|
| 198 |
|
| 199 |
.table_small_col {
|
| 200 |
text-align: center !important;
|
| 201 |
-
width:
|
| 202 |
}
|
| 203 |
|
| 204 |
.table_medium_col {
|
|
@@ -211,6 +215,11 @@
|
|
| 211 |
width: 80px;
|
| 212 |
}
|
| 213 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 214 |
.table_large_col {
|
| 215 |
text-align: center !important;
|
| 216 |
width: 140px;
|
|
@@ -1700,4 +1709,17 @@ tbody .action_buttons{
|
|
| 1700 |
border-color:#5BA6B9 !important;
|
| 1701 |
opacity: 1;
|
| 1702 |
filter: Alpha(opacity=100);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1703 |
}
|
| 5 |
margin: 0;
|
| 6 |
}
|
| 7 |
|
| 8 |
+
#sliders_form table thead th {
|
| 9 |
+
line-height: 1;
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
#bullets_images_type,
|
| 13 |
#bullets_images_color,
|
| 14 |
#bull_style,
|
| 202 |
|
| 203 |
.table_small_col {
|
| 204 |
text-align: center !important;
|
| 205 |
+
width: 50px;
|
| 206 |
}
|
| 207 |
|
| 208 |
.table_medium_col {
|
| 215 |
width: 80px;
|
| 216 |
}
|
| 217 |
|
| 218 |
+
.table_bigger_col {
|
| 219 |
+
text-align: center !important;
|
| 220 |
+
width: 100px;
|
| 221 |
+
}
|
| 222 |
+
|
| 223 |
.table_large_col {
|
| 224 |
text-align: center !important;
|
| 225 |
width: 140px;
|
| 1709 |
border-color:#5BA6B9 !important;
|
| 1710 |
opacity: 1;
|
| 1711 |
filter: Alpha(opacity=100);
|
| 1712 |
+
}
|
| 1713 |
+
|
| 1714 |
+
th.sortable a span,
|
| 1715 |
+
th.sorted a span {
|
| 1716 |
+
float: left;
|
| 1717 |
+
}
|
| 1718 |
+
|
| 1719 |
+
.widefat .check-column {
|
| 1720 |
+
padding: 8px 10px;
|
| 1721 |
+
}
|
| 1722 |
+
|
| 1723 |
+
.table_large_col input {
|
| 1724 |
+
width: inherit;
|
| 1725 |
}
|
frontend/views/WDSViewSlider.php
CHANGED
|
@@ -1727,11 +1727,13 @@ class WDSViewSlider {
|
|
| 1727 |
var e = window.event;
|
| 1728 |
}
|
| 1729 |
var reltg = (e.relatedTarget) ? e.relatedTarget : e.toElement;
|
| 1730 |
-
|
| 1731 |
-
|
| 1732 |
-
|
|
|
|
|
|
|
|
|
|
| 1733 |
}
|
| 1734 |
-
reltg = reltg.parentNode;
|
| 1735 |
}
|
| 1736 |
wds_play_animation_<?php echo $wds; ?>();
|
| 1737 |
});
|
| 1727 |
var e = window.event;
|
| 1728 |
}
|
| 1729 |
var reltg = (e.relatedTarget) ? e.relatedTarget : e.toElement;
|
| 1730 |
+
if (typeof reltg.tagName != "undefined") {
|
| 1731 |
+
while (reltg.tagName != 'BODY') {
|
| 1732 |
+
if (reltg.id == this.id){
|
| 1733 |
+
return;
|
| 1734 |
+
}
|
| 1735 |
+
reltg = reltg.parentNode;
|
| 1736 |
}
|
|
|
|
| 1737 |
}
|
| 1738 |
wds_play_animation_<?php echo $wds; ?>();
|
| 1739 |
});
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-slider-plugin.html
|
|
| 4 |
Tags: image slider, slider, slideshow, image, images, responsive, shortcode, widget, jquery, gallery, swipe, layer
|
| 5 |
Requires at least: 3.4
|
| 6 |
Tested up to: 4.5
|
| 7 |
-
Stable tag: 1.1.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -160,8 +160,13 @@ After downloading the ZIP file of the slider plugin,
|
|
| 160 |
|
| 161 |
== Changelog ==
|
| 162 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 163 |
= 1.1.30 =
|
| 164 |
-
Changed: Add font-family without saving whole slider.
|
| 165 |
|
| 166 |
= 1.1.29 =
|
| 167 |
* Added: Text, image, hotspot layers click actions.
|
| 4 |
Tags: image slider, slider, slideshow, image, images, responsive, shortcode, widget, jquery, gallery, swipe, layer
|
| 5 |
Requires at least: 3.4
|
| 6 |
Tested up to: 4.5
|
| 7 |
+
Stable tag: 1.1.31
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 160 |
|
| 161 |
== Changelog ==
|
| 162 |
|
| 163 |
+
= 1.1.31 =
|
| 164 |
+
* Fixed: Add post page styles on Wordpress 4.5
|
| 165 |
+
* Fixed: Undefined iframes in frontend.
|
| 166 |
+
* Fixed: Filmstrip responsiveness.
|
| 167 |
+
|
| 168 |
= 1.1.30 =
|
| 169 |
+
* Changed: Add font-family without saving whole slider.
|
| 170 |
|
| 171 |
= 1.1.29 =
|
| 172 |
* Added: Text, image, hotspot layers click actions.
|
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
|
|
@@ -435,7 +435,7 @@ register_activation_hook(__FILE__, 'wds_activate');
|
|
| 435 |
|
| 436 |
function wds_install() {
|
| 437 |
$version = get_option("wds_version");
|
| 438 |
-
$new_version = '1.1.
|
| 439 |
if ($version && version_compare($version, $new_version, '<')) {
|
| 440 |
require_once WD_S_DIR . "/sliders-update.php";
|
| 441 |
wds_update($version);
|
| 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.31
|
| 8 |
* Author: WebDorado
|
| 9 |
* Author URI: https://web-dorado.com/
|
| 10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
| 435 |
|
| 436 |
function wds_install() {
|
| 437 |
$version = get_option("wds_version");
|
| 438 |
+
$new_version = '1.1.31';
|
| 439 |
if ($version && version_compare($version, $new_version, '<')) {
|
| 440 |
require_once WD_S_DIR . "/sliders-update.php";
|
| 441 |
wds_update($version);
|
