Version Description
- Fixed: Conflict with "Yoast SEO" plugin.
- Fixed: Case sensitive search by name in Filemanager bug.
- Changed: Show last uploaded files as first in Filemanager.
Download this release
Release Info
Developer | webdorado |
Plugin | Slider by WD – Responsive Slider |
Version | 1.1.44 |
Comparing to | |
See all releases |
Code changes from version 1.1.43 to 1.1.44
- admin/views/WDSViewSliders_wds.php +10 -8
- filemanager/css/default.css +4 -1
- filemanager/css/default_view_thumbs.css +39 -3
- filemanager/js/default.js +15 -0
- filemanager/model.php +4 -3
- filemanager/view.php +4 -15
- readme.txt +8 -3
- slider-wd.php +8 -4
admin/views/WDSViewSliders_wds.php
CHANGED
@@ -80,12 +80,6 @@ class WDSViewSliders_wds {
|
|
80 |
</div>
|
81 |
<form class="wrap wds_form" id="sliders_form" method="post" action="admin.php?page=sliders_wds" style="float: left; width: 99%;">
|
82 |
<?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
|
83 |
-
<span class="slider-icon"></span>
|
84 |
-
<h2 class="wds_default">
|
85 |
-
<?php echo $header_title; ?>
|
86 |
-
<a href="" class="add-new-h2" onclick="spider_set_input_value('task', 'add');
|
87 |
-
spider_form_submit(event, 'sliders_form')">Add new</a>
|
88 |
-
</h2>
|
89 |
<div class="wds_opacity_export" onclick="jQuery('.wds_opacity_export').hide();jQuery('.wds_exports').hide();"></div>
|
90 |
<div class="wds_exports">
|
91 |
<input type="checkbox" name="imagesexport" id="imagesexport" checked="checked" />
|
@@ -100,8 +94,16 @@ class WDSViewSliders_wds {
|
|
100 |
<input type="button" class="button-secondary" onclick="jQuery('.wds_imports').hide();jQuery('.wds_opacity_import').hide(); return false;" value="Cancel" />
|
101 |
<div class="spider_description">Choose file (use .zip format).</div>
|
102 |
</div>
|
103 |
-
<div
|
104 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
</div>
|
106 |
<?php WDW_S_Library::search('Name', $search_value, 'sliders_form'); ?>
|
107 |
<div class="tablenav bottom buttons_div buttons_div_left">
|
80 |
</div>
|
81 |
<form class="wrap wds_form" id="sliders_form" method="post" action="admin.php?page=sliders_wds" style="float: left; width: 99%;">
|
82 |
<?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
<div class="wds_opacity_export" onclick="jQuery('.wds_opacity_export').hide();jQuery('.wds_exports').hide();"></div>
|
84 |
<div class="wds_exports">
|
85 |
<input type="checkbox" name="imagesexport" id="imagesexport" checked="checked" />
|
94 |
<input type="button" class="button-secondary" onclick="jQuery('.wds_imports').hide();jQuery('.wds_opacity_import').hide(); return false;" value="Cancel" />
|
95 |
<div class="spider_description">Choose file (use .zip format).</div>
|
96 |
</div>
|
97 |
+
<div>
|
98 |
+
<span class="slider-icon"></span>
|
99 |
+
<h2 class="wds_default">
|
100 |
+
<?php echo $header_title; ?>
|
101 |
+
<a href="" class="add-new-h2" onclick="spider_set_input_value('task', 'add');
|
102 |
+
spider_form_submit(event, 'sliders_form')">Add new</a>
|
103 |
+
</h2>
|
104 |
+
<div class="buttons_div_right">
|
105 |
+
<input type="button" class="wds_button-secondary wds_import" onclick="alert('This functionality is disabled in free version.')" value="Import" />
|
106 |
+
</div>
|
107 |
</div>
|
108 |
<?php WDW_S_Library::search('Name', $search_value, 'sliders_form'); ?>
|
109 |
<div class="tablenav bottom buttons_div buttons_div_left">
|
filemanager/css/default.css
CHANGED
@@ -529,6 +529,7 @@ html, body, div, span, th, td, a {
|
|
529 |
user-select: none;
|
530 |
}
|
531 |
|
|
|
532 |
.ctrl_bar_search_upload{
|
533 |
display:table-cell;
|
534 |
}
|
@@ -551,7 +552,7 @@ display:table-cell;
|
|
551 |
top: 74px !important;
|
552 |
}
|
553 |
|
554 |
-
#explorer
|
555 |
top: 106px !important;
|
556 |
}
|
557 |
.btn_remove_items + .ctrl_bar_divider{
|
@@ -565,6 +566,7 @@ display:table-cell;
|
|
565 |
.ctrls_bar_footer .ctrls_right{
|
566 |
margin-right:5px !important;
|
567 |
}
|
|
|
568 |
}
|
569 |
|
570 |
@media screen and (max-width: 350px){
|
@@ -573,4 +575,5 @@ display:table-cell;
|
|
573 |
margin-left:5px !important;
|
574 |
margin-bottom:2px;
|
575 |
}
|
|
|
576 |
}
|
529 |
user-select: none;
|
530 |
}
|
531 |
|
532 |
+
|
533 |
.ctrl_bar_search_upload{
|
534 |
display:table-cell;
|
535 |
}
|
552 |
top: 74px !important;
|
553 |
}
|
554 |
|
555 |
+
#explorer{
|
556 |
top: 106px !important;
|
557 |
}
|
558 |
.btn_remove_items + .ctrl_bar_divider{
|
566 |
.ctrls_bar_footer .ctrls_right{
|
567 |
margin-right:5px !important;
|
568 |
}
|
569 |
+
|
570 |
}
|
571 |
|
572 |
@media screen and (max-width: 350px){
|
575 |
margin-left:5px !important;
|
576 |
margin-bottom:2px;
|
577 |
}
|
578 |
+
|
579 |
}
|
filemanager/css/default_view_thumbs.css
CHANGED
@@ -18,22 +18,58 @@
|
|
18 |
width: 100%;
|
19 |
}
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
#explorer_header_container {
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
}
|
24 |
|
25 |
#explorer_body_container,
|
26 |
#importer_body_container {
|
27 |
position: absolute;
|
28 |
-
top:
|
29 |
bottom: 0;
|
30 |
left: 0;
|
31 |
right: 0;
|
32 |
padding: 5px;
|
33 |
overflow-y: scroll;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
}
|
35 |
|
36 |
-
|
37 |
.explorer_item,
|
38 |
.importer_item {
|
39 |
display: table-row;
|
18 |
width: 100%;
|
19 |
}
|
20 |
|
21 |
+
#explorer_header_container .item_name::after,
|
22 |
+
#explorer_header_container .item_size::after {
|
23 |
+
content: url("../images/btn_icons/divider.png");
|
24 |
+
display: table-cell;
|
25 |
+
}
|
26 |
+
|
27 |
+
#explorer_header_container .item_name,
|
28 |
+
#explorer_header_container .item_size,
|
29 |
+
#explorer_header_container .item_date_modified {
|
30 |
+
display: inline-block;
|
31 |
+
}
|
32 |
+
|
33 |
#explorer_header_container {
|
34 |
+
position: absolute;
|
35 |
+
z-index: 1;
|
36 |
+
top: 0;
|
37 |
+
display: table;
|
38 |
+
outline: solid 1px #e8e9ea;
|
39 |
+
background-color: #ffffff;
|
40 |
+
width: 100%;
|
41 |
+
color: #585858;
|
42 |
+
padding: 0 0 0 5px;
|
43 |
+
}
|
44 |
+
|
45 |
+
#explorer_header {
|
46 |
+
display: table-row;
|
47 |
+
}
|
48 |
+
|
49 |
+
#explorer_header span {
|
50 |
+
display: table-cell;
|
51 |
+
height: 30px;
|
52 |
+
vertical-align: middle;
|
53 |
}
|
54 |
|
55 |
#explorer_body_container,
|
56 |
#importer_body_container {
|
57 |
position: absolute;
|
58 |
+
top: 30px;
|
59 |
bottom: 0;
|
60 |
left: 0;
|
61 |
right: 0;
|
62 |
padding: 5px;
|
63 |
overflow-y: scroll;
|
64 |
+
cursor: default;
|
65 |
+
-webkit-touch-callout: none;
|
66 |
+
-webkit-user-select: none;
|
67 |
+
-khtml-user-select: none;
|
68 |
+
-moz-user-select: none;
|
69 |
+
-ms-user-select: none;
|
70 |
+
user-select: none;
|
71 |
}
|
72 |
|
|
|
73 |
.explorer_item,
|
74 |
.importer_item {
|
75 |
display: table-row;
|
filemanager/js/default.js
CHANGED
@@ -54,6 +54,21 @@ jQuery(document).ready(function () {
|
|
54 |
jQuery(document).keydown(function(e) {
|
55 |
onKeyDown(e);
|
56 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
});
|
58 |
|
59 |
////////////////////////////////////////////////////////////////////////////////////////
|
54 |
jQuery(document).keydown(function(e) {
|
55 |
onKeyDown(e);
|
56 |
});
|
57 |
+
jQuery("#search_by_name .search_by_name").on("input keyup", function() {
|
58 |
+
var search_by_name = jQuery(this).val().toLowerCase();
|
59 |
+
if (search_by_name) {
|
60 |
+
jQuery("#explorer_body .explorer_item").hide();
|
61 |
+
jQuery("#explorer_body .explorer_item").each(function () {
|
62 |
+
var filename = jQuery(this).attr("filename").toLowerCase();
|
63 |
+
if (filename.indexOf(search_by_name) != -1) {
|
64 |
+
jQuery(this).show();
|
65 |
+
}
|
66 |
+
});
|
67 |
+
}
|
68 |
+
else {
|
69 |
+
jQuery("#explorer_body .explorer_item").show();
|
70 |
+
}
|
71 |
+
});
|
72 |
});
|
73 |
|
74 |
////////////////////////////////////////////////////////////////////////////////////////
|
filemanager/model.php
CHANGED
@@ -32,8 +32,8 @@ class FilemanagerModel {
|
|
32 |
////////////////////////////////////////////////////////////////////////////////////////
|
33 |
public function get_file_manager_data() {
|
34 |
$session_data = array();
|
35 |
-
$session_data['sort_by'] = $this->get_from_session('sort_by', '
|
36 |
-
$session_data['sort_order'] = $this->get_from_session('sort_order', '
|
37 |
$session_data['items_view'] = $this->get_from_session('items_view', 'thumbs');
|
38 |
$session_data['clipboard_task'] = $this->get_from_session('clipboard_task', '');
|
39 |
$session_data['clipboard_files'] = $this->get_from_session('clipboard_files', '');
|
@@ -154,7 +154,8 @@ class FilemanagerModel {
|
|
154 |
}
|
155 |
}
|
156 |
|
157 |
-
$result = $sort_order == 'asc' ? array_merge($dirs, $files) : array_merge($files, $dirs);
|
|
|
158 |
return $result;
|
159 |
}
|
160 |
|
32 |
////////////////////////////////////////////////////////////////////////////////////////
|
33 |
public function get_file_manager_data() {
|
34 |
$session_data = array();
|
35 |
+
$session_data['sort_by'] = $this->get_from_session('sort_by', 'date_modified');
|
36 |
+
$session_data['sort_order'] = $this->get_from_session('sort_order', 'desc');
|
37 |
$session_data['items_view'] = $this->get_from_session('items_view', 'thumbs');
|
38 |
$session_data['clipboard_task'] = $this->get_from_session('clipboard_task', '');
|
39 |
$session_data['clipboard_files'] = $this->get_from_session('clipboard_files', '');
|
154 |
}
|
155 |
}
|
156 |
|
157 |
+
// $result = $sort_order == 'asc' ? array_merge($dirs, $files) : array_merge($files, $dirs);
|
158 |
+
$result = array_merge($dirs, $files);
|
159 |
return $result;
|
160 |
}
|
161 |
|
filemanager/view.php
CHANGED
@@ -76,17 +76,6 @@ class FilemanagerView {
|
|
76 |
var layer_id = "<?php echo (isset($_REQUEST['layer_id']) ? esc_html($_REQUEST['layer_id']) : ''); ?>";
|
77 |
var sortBy = "<?php echo $sort_by; ?>";
|
78 |
var sortOrder = "<?php echo $sort_order; ?>";
|
79 |
-
jQuery(document).ready(function () {
|
80 |
-
jQuery("#search_by_name .search_by_name").on("input keyup", function() {
|
81 |
-
var search_by_name = jQuery(this).val();
|
82 |
-
jQuery("#explorer_body .explorer_item").each(function() {
|
83 |
-
jQuery(this).hide();
|
84 |
-
if (jQuery(this).find(".item_name").html().trim().toLowerCase().indexOf(search_by_name) !== -1) {
|
85 |
-
jQuery(this).show();
|
86 |
-
}
|
87 |
-
});
|
88 |
-
});
|
89 |
-
});
|
90 |
</script>
|
91 |
<script src="<?php echo WD_S_URL; ?>/filemanager/js/default.js?ver=<?php echo get_option("wd_bwg_version"); ?>"></script>
|
92 |
<link href="<?php echo WD_S_URL; ?>/filemanager/css/default.css?ver=<?php echo get_option("wd_bwg_version"); ?>" type="text/css" rel="stylesheet">
|
@@ -157,9 +146,9 @@ class FilemanagerView {
|
|
157 |
<div id="explorer_header_wrapper">
|
158 |
<div id="explorer_header_container">
|
159 |
<div id="explorer_header">
|
160 |
-
<span class="item_numbering"
|
161 |
<span class="item_icon"></span>
|
162 |
-
<span class="item_name">
|
163 |
<span class="clickable" onclick="onNameHeaderClick(event, this);">
|
164 |
<?php
|
165 |
echo 'Name';
|
@@ -171,7 +160,7 @@ class FilemanagerView {
|
|
171 |
?>
|
172 |
</span>
|
173 |
</span>
|
174 |
-
<span class="item_size">
|
175 |
<span class="clickable" onclick="onSizeHeaderClick(event, this);">
|
176 |
<?php
|
177 |
echo 'Size';
|
@@ -183,7 +172,7 @@ class FilemanagerView {
|
|
183 |
?>
|
184 |
</span>
|
185 |
</span>
|
186 |
-
<span class="item_date_modified">
|
187 |
<span class="clickable" onclick="onDateModifiedHeaderClick(event, this);">
|
188 |
<?php
|
189 |
echo 'Date modified';
|
76 |
var layer_id = "<?php echo (isset($_REQUEST['layer_id']) ? esc_html($_REQUEST['layer_id']) : ''); ?>";
|
77 |
var sortBy = "<?php echo $sort_by; ?>";
|
78 |
var sortOrder = "<?php echo $sort_order; ?>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
</script>
|
80 |
<script src="<?php echo WD_S_URL; ?>/filemanager/js/default.js?ver=<?php echo get_option("wd_bwg_version"); ?>"></script>
|
81 |
<link href="<?php echo WD_S_URL; ?>/filemanager/css/default.css?ver=<?php echo get_option("wd_bwg_version"); ?>" type="text/css" rel="stylesheet">
|
146 |
<div id="explorer_header_wrapper">
|
147 |
<div id="explorer_header_container">
|
148 |
<div id="explorer_header">
|
149 |
+
<span class="item_numbering"><?php echo $items_view == 'thumbs' ? __('Order by:', 'wds') : '#'; ?></span>
|
150 |
<span class="item_icon"></span>
|
151 |
+
<span class="item_name" title="<?php _e('Click to sort by name', 'wds'); ?>">
|
152 |
<span class="clickable" onclick="onNameHeaderClick(event, this);">
|
153 |
<?php
|
154 |
echo 'Name';
|
160 |
?>
|
161 |
</span>
|
162 |
</span>
|
163 |
+
<span class="item_size" title="<?php _e('Click to sort by size', 'wds'); ?>">
|
164 |
<span class="clickable" onclick="onSizeHeaderClick(event, this);">
|
165 |
<?php
|
166 |
echo 'Size';
|
172 |
?>
|
173 |
</span>
|
174 |
</span>
|
175 |
+
<span class="item_date_modified" title="<?php _e('Click to sort by date modified', 'wds'); ?>">
|
176 |
<span class="clickable" onclick="onDateModifiedHeaderClick(event, this);">
|
177 |
<?php
|
178 |
echo 'Date modified';
|
readme.txt
CHANGED
@@ -2,13 +2,13 @@
|
|
2 |
Contributors: webdorado
|
3 |
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:
|
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 |
|
11 |
-
|
12 |
|
13 |
== Description ==
|
14 |
Create responsive, highly configurable sliders with various effects for your WordPress site. Download for FREE!
|
@@ -160,6 +160,11 @@ After downloading the ZIP file of the slider plugin,
|
|
160 |
|
161 |
== Changelog ==
|
162 |
|
|
|
|
|
|
|
|
|
|
|
163 |
= 1.1.43 =
|
164 |
* Changed: Support for new version of Google Fonts.
|
165 |
|
2 |
Contributors: webdorado
|
3 |
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: 4.0
|
6 |
Tested up to: 4.5
|
7 |
+
Stable tag: 1.1.44
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
Slider WD plugin is a great tool for creating responsive sliders. It uses various transition effects.
|
12 |
|
13 |
== Description ==
|
14 |
Create responsive, highly configurable sliders with various effects for your WordPress site. Download for FREE!
|
160 |
|
161 |
== Changelog ==
|
162 |
|
163 |
+
= 1.1.44 =
|
164 |
+
* Fixed: Conflict with "Yoast SEO" plugin.
|
165 |
+
* Fixed: Case sensitive search by name in Filemanager bug.
|
166 |
+
* Changed: Show last uploaded files as first in Filemanager.
|
167 |
+
|
168 |
= 1.1.43 =
|
169 |
* Changed: Support for new version of Google Fonts.
|
170 |
|
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
|
@@ -14,7 +14,7 @@ define('WD_S_NAME', plugin_basename(dirname(__FILE__)));
|
|
14 |
define('WD_S_DIR', WP_PLUGIN_DIR . "/" . WD_S_NAME);
|
15 |
define('WD_S_URL', plugins_url(WD_S_NAME));
|
16 |
|
17 |
-
define('WD_S_VERSION', '1.1.
|
18 |
|
19 |
function wds_use_home_url() {
|
20 |
$home_url = str_replace("http://", "", home_url());
|
@@ -175,8 +175,12 @@ function wds_shortcode($params) {
|
|
175 |
$params = shortcode_atts(array('id' => 0), $params);
|
176 |
ob_start();
|
177 |
wds_front_end($params['id']);
|
178 |
-
|
179 |
-
|
|
|
|
|
|
|
|
|
180 |
}
|
181 |
add_shortcode('wds', 'wds_shortcode');
|
182 |
|
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.44
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
14 |
define('WD_S_DIR', WP_PLUGIN_DIR . "/" . WD_S_NAME);
|
15 |
define('WD_S_URL', plugins_url(WD_S_NAME));
|
16 |
|
17 |
+
define('WD_S_VERSION', '1.1.44');
|
18 |
|
19 |
function wds_use_home_url() {
|
20 |
$home_url = str_replace("http://", "", home_url());
|
175 |
$params = shortcode_atts(array('id' => 0), $params);
|
176 |
ob_start();
|
177 |
wds_front_end($params['id']);
|
178 |
+
if ( is_admin() ) {
|
179 |
+
return ob_get_clean();
|
180 |
+
}
|
181 |
+
else {
|
182 |
+
return str_replace(array("\r\n", "\n", "\r"), '', ob_get_clean());
|
183 |
+
}
|
184 |
}
|
185 |
add_shortcode('wds', 'wds_shortcode');
|
186 |
|