Version Description
- Fixed: Link the slide in carousel view.
- Fixed: Specialchars in text layer.
- Changed: Slider bulk actions.
Download this release
Release Info
Developer | webdorado |
Plugin | Slider by WD – Responsive Slider |
Version | 1.1.40 |
Comparing to | |
See all releases |
Code changes from version 1.1.39 to 1.1.40
- admin/views/WDSViewSliders_wds.php +48 -31
- css/wds_tables.css +18 -10
- framework/WDW_S_Library.php +12 -11
- js/wds.js +21 -1
- readme.txt +7 -2
- slider-wd.php +2 -2
admin/views/WDSViewSliders_wds.php
CHANGED
@@ -32,6 +32,13 @@ class WDSViewSliders_wds {
|
|
32 |
$order_class = 'manage-column column-title sorted ' . $asc_or_desc;
|
33 |
$ids_string = '';
|
34 |
$header_title = __('Sliders', 'wds');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
?>
|
36 |
<style>
|
37 |
<?php
|
@@ -39,20 +46,18 @@ class WDSViewSliders_wds {
|
|
39 |
if (version_compare($wp_version, '4','<')) {
|
40 |
?>
|
41 |
#wpwrap {
|
42 |
-
background-color
|
43 |
}
|
44 |
@media screen and (max-width: 640px) {
|
45 |
.buttons_div input {
|
46 |
-
width:31%;
|
47 |
-
font-size:10px;
|
48 |
}
|
49 |
-
|
50 |
.tablenav{
|
51 |
height:auto
|
52 |
}
|
53 |
-
|
54 |
-
|
55 |
-
margin-left:40px!important
|
56 |
}
|
57 |
.alignleft {
|
58 |
display:none;
|
@@ -76,34 +81,46 @@ class WDSViewSliders_wds {
|
|
76 |
<form class="wrap wds_form" id="sliders_form" method="post" action="admin.php?page=sliders_wds" style="float: left; width: 99%;">
|
77 |
<?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
|
78 |
<span class="slider-icon"></span>
|
79 |
-
<h2>
|
80 |
<?php echo $header_title; ?>
|
81 |
<a href="" class="add-new-h2" onclick="spider_set_input_value('task', 'add');
|
82 |
-
|
83 |
</h2>
|
84 |
-
<div class="
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
</
|
89 |
-
<input
|
90 |
-
|
91 |
-
|
92 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
<input type="button" class="wds_button-secondary wds_import" onclick="alert('This functionality is disabled in free version.')" value="Import" />
|
94 |
-
<input class="wds_button-secondary wds_delete_all" type="submit" onclick="if (confirm('Do you want to delete selected items?')) {
|
95 |
-
spider_set_input_value('task', 'delete_all');
|
96 |
-
} else {
|
97 |
-
return false;
|
98 |
-
}" value="Delete" />
|
99 |
</div>
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
</div>
|
108 |
<table class="wp-list-table widefat fixed pages">
|
109 |
<thead>
|
@@ -558,7 +575,7 @@ class WDSViewSliders_wds {
|
|
558 |
spider_ajax_save('sliders_form', event);" value="Save" />
|
559 |
</div>
|
560 |
<div class="wds_button_wrap">
|
561 |
-
<input class="wds_button-secondary
|
562 |
spider_set_input_value('task', 'apply');
|
563 |
spider_ajax_save('sliders_form', event);" value="Apply" />
|
564 |
</div>
|
32 |
$order_class = 'manage-column column-title sorted ' . $asc_or_desc;
|
33 |
$ids_string = '';
|
34 |
$header_title = __('Sliders', 'wds');
|
35 |
+
$slider_button_array = array(
|
36 |
+
'publish_all' => __('Publish', 'wds'),
|
37 |
+
'unpublish_all' => __('Unpublish', 'wds'),
|
38 |
+
'delete_all' => __('Delete', 'wds'),
|
39 |
+
'duplicate_all' => __('Duplicate', 'wds'),
|
40 |
+
'export' => __('Export', 'wds')
|
41 |
+
);
|
42 |
?>
|
43 |
<style>
|
44 |
<?php
|
46 |
if (version_compare($wp_version, '4','<')) {
|
47 |
?>
|
48 |
#wpwrap {
|
49 |
+
background-color: #F1F1F1;
|
50 |
}
|
51 |
@media screen and (max-width: 640px) {
|
52 |
.buttons_div input {
|
53 |
+
width: 31%;
|
54 |
+
font-size: 10px;
|
55 |
}
|
|
|
56 |
.tablenav{
|
57 |
height:auto
|
58 |
}
|
59 |
+
#wpcontent {
|
60 |
+
margin-left: 40px !important
|
|
|
61 |
}
|
62 |
.alignleft {
|
63 |
display:none;
|
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" />
|
92 |
+
<label for="imagesexport">Check the box to export the images included within sliders</label>
|
93 |
+
<a class="button-secondary wds_export" type="button" href="<?php echo add_query_arg(array('action' => 'WDSExport'), admin_url('admin-ajax.php')); ?>" onclick="wds_get_checked()">Export</a>
|
94 |
+
<input type="button" class="button-secondary" onclick="jQuery('.wds_exports').hide();jQuery('.wds_opacity_export').hide(); return false;" value="Cancel" />
|
95 |
+
</div>
|
96 |
+
<div class="wds_opacity_import" onclick="jQuery('.wds_opacity_import').hide();jQuery('.wds_imports').hide();"></div>
|
97 |
+
<div class="wds_imports">
|
98 |
+
<input type="file" name="fileimport" id="fileimport" />
|
99 |
+
<input class="button-secondary" type="submit" onclick="if(wds_getfileextension(document.getElementById('fileimport').value)){spider_set_input_value('task', 'import');} else return false;" value="Import" />
|
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 class="buttons_div_right">
|
104 |
<input type="button" class="wds_button-secondary wds_import" onclick="alert('This functionality is disabled in free version.')" value="Import" />
|
|
|
|
|
|
|
|
|
|
|
105 |
</div>
|
106 |
+
<?php WDW_S_Library::search('Name', $search_value, 'sliders_form'); ?>
|
107 |
+
<div class="tablenav bottom buttons_div buttons_div_left">
|
108 |
+
<span class="wds_button-secondary non_selectable wds_check_all" onclick="spider_check_all_items()">
|
109 |
+
<input type="checkbox" id="check_all_items" name="check_all_items" onclick="spider_check_all_items_checkbox()" style="margin: 0; vertical-align: middle;" />
|
110 |
+
<span style="vertical-align: middle;"><?php _e('Select All', 'wds'); ?></span>
|
111 |
+
</span>
|
112 |
+
<select class="select_icon bulk_action" style="margin-bottom: 6px;">
|
113 |
+
<option value=""><?php _e('Bulk Actions', 'wds'); ?></option>
|
114 |
+
<?php
|
115 |
+
foreach ($slider_button_array as $key => $value) {
|
116 |
+
?>
|
117 |
+
<option value="<?php echo $key; ?>"><?php echo $value; ?></option>
|
118 |
+
<?php
|
119 |
+
}
|
120 |
+
?>
|
121 |
+
</select>
|
122 |
+
<input class="wds_button-secondary wds_apply_slider" type="button" title="<?php _e('Apply', 'wds'); ?>" onclick="if (!wds_bulk_actions('.bulk_action')) {return false}" value="<?php _e('Apply', 'wds'); ?>" />
|
123 |
+
<?php WDW_S_Library::html_page_nav($page_nav['total'], $page_nav['limit'], 'sliders_form'); ?>
|
124 |
</div>
|
125 |
<table class="wp-list-table widefat fixed pages">
|
126 |
<thead>
|
575 |
spider_ajax_save('sliders_form', event);" value="Save" />
|
576 |
</div>
|
577 |
<div class="wds_button_wrap">
|
578 |
+
<input class="wds_button-secondary wds_apply_slider" type="button" onclick="if (wds_check_required('name', 'Name')) {return false;};
|
579 |
spider_set_input_value('task', 'apply');
|
580 |
spider_ajax_save('sliders_form', event);" value="Apply" />
|
581 |
</div>
|
css/wds_tables.css
CHANGED
@@ -5,6 +5,10 @@
|
|
5 |
margin: 0;
|
6 |
}
|
7 |
|
|
|
|
|
|
|
|
|
8 |
#sliders_form table thead th {
|
9 |
line-height: 1;
|
10 |
}
|
@@ -425,8 +429,10 @@
|
|
425 |
}
|
426 |
|
427 |
.buttons_div {
|
|
|
428 |
float: right;
|
429 |
-
margin: 5px
|
|
|
430 |
}
|
431 |
|
432 |
.buttons_div input{
|
@@ -436,6 +442,7 @@
|
|
436 |
.buttons_div_left {
|
437 |
float: left;
|
438 |
margin: 5px 0;
|
|
|
439 |
}
|
440 |
|
441 |
.buttons_div_right {
|
@@ -1026,8 +1033,8 @@ span[data-type="wds_text_parent"] * {
|
|
1026 |
display: inline-block;
|
1027 |
text-decoration: none;
|
1028 |
font-size: 13px;
|
1029 |
-
line-height:
|
1030 |
-
height:
|
1031 |
cursor: pointer;
|
1032 |
border: 1px solid #ddd;
|
1033 |
-webkit-appearance: none;
|
@@ -1050,12 +1057,12 @@ span[data-type="wds_text_parent"] * {
|
|
1050 |
#wds_reset {
|
1051 |
background-color: #FFFFFF;
|
1052 |
padding: 0 15px 1px ;
|
1053 |
-
margin:
|
1054 |
display: inline-block;
|
1055 |
text-decoration: none;
|
1056 |
font-size: 13px;
|
1057 |
-
line-height:
|
1058 |
-
height:
|
1059 |
cursor: pointer;
|
1060 |
-webkit-appearance: none;
|
1061 |
white-space: nowrap;
|
@@ -1240,14 +1247,15 @@ tbody .action_buttons{
|
|
1240 |
padding:0 !important;
|
1241 |
}
|
1242 |
|
1243 |
-
.select_icon{
|
1244 |
-
background-image:url('../images/sliderwdpng/select.png');
|
1245 |
background-repeat: no-repeat;
|
1246 |
-webkit-appearance: none;
|
1247 |
-moz-appearance: none;
|
1248 |
-
background-position:93% 49%;
|
1249 |
padding: 0 2px 2px 2px !important;
|
1250 |
width: 10%;
|
|
|
1251 |
}
|
1252 |
.overlay {
|
1253 |
display:none;
|
@@ -1474,7 +1482,7 @@ tbody .action_buttons{
|
|
1474 |
background-position: 15% 50%
|
1475 |
}
|
1476 |
|
1477 |
-
.
|
1478 |
background-image:url('../images/sliderwdpng/apply.png');
|
1479 |
background-repeat:no-repeat;
|
1480 |
background-position: 15% 50%
|
5 |
margin: 0;
|
6 |
}
|
7 |
|
8 |
+
h2.wds_default {
|
9 |
+
float: left;
|
10 |
+
}
|
11 |
+
|
12 |
#sliders_form table thead th {
|
13 |
line-height: 1;
|
14 |
}
|
429 |
}
|
430 |
|
431 |
.buttons_div {
|
432 |
+
clear: both;
|
433 |
float: right;
|
434 |
+
margin: 10px 0 5px !important;
|
435 |
+
width:100%;
|
436 |
}
|
437 |
|
438 |
.buttons_div input{
|
442 |
.buttons_div_left {
|
443 |
float: left;
|
444 |
margin: 5px 0;
|
445 |
+
width:100%;
|
446 |
}
|
447 |
|
448 |
.buttons_div_right {
|
1033 |
display: inline-block;
|
1034 |
text-decoration: none;
|
1035 |
font-size: 13px;
|
1036 |
+
line-height: 32px;
|
1037 |
+
height: 32px;
|
1038 |
cursor: pointer;
|
1039 |
border: 1px solid #ddd;
|
1040 |
-webkit-appearance: none;
|
1057 |
#wds_reset {
|
1058 |
background-color: #FFFFFF;
|
1059 |
padding: 0 15px 1px ;
|
1060 |
+
margin: 0px;
|
1061 |
display: inline-block;
|
1062 |
text-decoration: none;
|
1063 |
font-size: 13px;
|
1064 |
+
line-height: 32px;
|
1065 |
+
height: 32px;
|
1066 |
cursor: pointer;
|
1067 |
-webkit-appearance: none;
|
1068 |
white-space: nowrap;
|
1247 |
padding:0 !important;
|
1248 |
}
|
1249 |
|
1250 |
+
.select_icon {
|
1251 |
+
background-image: url('../images/sliderwdpng/select.png');
|
1252 |
background-repeat: no-repeat;
|
1253 |
-webkit-appearance: none;
|
1254 |
-moz-appearance: none;
|
1255 |
+
background-position: 93% 49%;
|
1256 |
padding: 0 2px 2px 2px !important;
|
1257 |
width: 10%;
|
1258 |
+
height: 32px !important;
|
1259 |
}
|
1260 |
.overlay {
|
1261 |
display:none;
|
1482 |
background-position: 15% 50%
|
1483 |
}
|
1484 |
|
1485 |
+
.wds_apply_slider {
|
1486 |
background-image:url('../images/sliderwdpng/apply.png');
|
1487 |
background-repeat:no-repeat;
|
1488 |
background-position: 15% 50%
|
framework/WDW_S_Library.php
CHANGED
@@ -183,7 +183,7 @@ class WDW_S_Library {
|
|
183 |
|
184 |
public static function search($search_by, $search_value, $form_id) {
|
185 |
?>
|
186 |
-
<div class="
|
187 |
<script>
|
188 |
function spider_search(event) {
|
189 |
if (typeof event != 'undefined') {
|
@@ -195,13 +195,14 @@ class WDW_S_Library {
|
|
195 |
document.getElementById("page_number").value = "1";
|
196 |
document.getElementById("search_or_not").value = "search";
|
197 |
document.getElementById("<?php echo $form_id; ?>").submit();
|
198 |
-
if (event
|
199 |
-
event.preventDefault
|
200 |
-
|
201 |
-
|
202 |
-
|
|
|
|
|
203 |
}
|
204 |
-
|
205 |
}
|
206 |
function spider_reset() {
|
207 |
if (document.getElementById("search_value")) {
|
@@ -213,19 +214,19 @@ class WDW_S_Library {
|
|
213 |
document.getElementById("<?php echo $form_id; ?>").submit();
|
214 |
}
|
215 |
</script>
|
216 |
-
<div class="alignleft actions"
|
217 |
<label for="search_value" style="font-size:14px; width:50px; display:inline-block;"><?php echo $search_by; ?>:</label>
|
218 |
<input type="text"
|
219 |
id="search_value"
|
220 |
name="search_value"
|
221 |
class="spider_search_value"
|
222 |
value="<?php echo esc_html($search_value); ?>"
|
223 |
-
style="box-shadow:none; width: 150px;<?php echo (get_bloginfo('version') > '3.7') ? ' height: 32px;' : ''; ?>"
|
224 |
onkeypress="spider_search(event)" />
|
225 |
</div>
|
226 |
<div class="alignleft actions">
|
227 |
-
<input type="button" value="Search" id="wds_search" onclick="spider_search()" class="wds_button-secondary action"
|
228 |
-
<input type="button" value="Reset" id="wds_reset" onclick="spider_reset()" class="wds_button-secondary action"
|
229 |
</div>
|
230 |
</div>
|
231 |
<?php
|
183 |
|
184 |
public static function search($search_by, $search_value, $form_id) {
|
185 |
?>
|
186 |
+
<div class="alignright actions" style="clear: both;">
|
187 |
<script>
|
188 |
function spider_search(event) {
|
189 |
if (typeof event != 'undefined') {
|
195 |
document.getElementById("page_number").value = "1";
|
196 |
document.getElementById("search_or_not").value = "search";
|
197 |
document.getElementById("<?php echo $form_id; ?>").submit();
|
198 |
+
if (typeof event != 'undefined') {
|
199 |
+
if (event.preventDefault) {
|
200 |
+
event.preventDefault();
|
201 |
+
}
|
202 |
+
else {
|
203 |
+
event.returnValue = false;
|
204 |
+
}
|
205 |
}
|
|
|
206 |
}
|
207 |
function spider_reset() {
|
208 |
if (document.getElementById("search_value")) {
|
214 |
document.getElementById("<?php echo $form_id; ?>").submit();
|
215 |
}
|
216 |
</script>
|
217 |
+
<div class="alignleft actions">
|
218 |
<label for="search_value" style="font-size:14px; width:50px; display:inline-block;"><?php echo $search_by; ?>:</label>
|
219 |
<input type="text"
|
220 |
id="search_value"
|
221 |
name="search_value"
|
222 |
class="spider_search_value"
|
223 |
value="<?php echo esc_html($search_value); ?>"
|
224 |
+
style="box-shadow: none; margin-right: 5px; width: 150px;<?php echo (get_bloginfo('version') > '3.7') ? ' height: 32px;' : ''; ?>"
|
225 |
onkeypress="spider_search(event)" />
|
226 |
</div>
|
227 |
<div class="alignleft actions">
|
228 |
+
<input type="button" value="Search" id="wds_search" onclick="spider_search()" class="wds_button-secondary action" />
|
229 |
+
<input type="button" value="Reset" id="wds_reset" onclick="spider_reset()" class="wds_button-secondary action" />
|
230 |
</div>
|
231 |
</div>
|
232 |
<?php
|
js/wds.js
CHANGED
@@ -183,7 +183,7 @@ function spider_ajax_save(form_id, event) {
|
|
183 |
json_data["depth"] = jQuery("#" + prefix + "_depth").val();
|
184 |
switch (type) {
|
185 |
case "text": {
|
186 |
-
json_data["text"] = jQuery("#" + prefix + "_text").val();
|
187 |
json_data["image_width"] = jQuery("#" + prefix + "_image_width").val();
|
188 |
json_data["image_height"] = jQuery("#" + prefix + "_image_height").val();
|
189 |
json_data["image_scale"] = jQuery("input[name=slide" + slide_id + "_layer" + layer_id + "_image_scale]:checked").val();
|
@@ -2901,4 +2901,24 @@ function add_new_callback(par_tr, select) {
|
|
2901 |
function remove_callback_item(that) {
|
2902 |
jQuery(that).parent().remove();
|
2903 |
jQuery("#callback_list").find("option[value=" + jQuery(that).prev().attr("name") + "]").show();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2904 |
}
|
183 |
json_data["depth"] = jQuery("#" + prefix + "_depth").val();
|
184 |
switch (type) {
|
185 |
case "text": {
|
186 |
+
json_data["text"] = jQuery("#" + prefix + "_text").val().replace(/[\\"]/g, '\\$&').replace(/\u0000/g, '\\0');
|
187 |
json_data["image_width"] = jQuery("#" + prefix + "_image_width").val();
|
188 |
json_data["image_height"] = jQuery("#" + prefix + "_image_height").val();
|
189 |
json_data["image_scale"] = jQuery("input[name=slide" + slide_id + "_layer" + layer_id + "_image_scale]:checked").val();
|
2901 |
function remove_callback_item(that) {
|
2902 |
jQuery(that).parent().remove();
|
2903 |
jQuery("#callback_list").find("option[value=" + jQuery(that).prev().attr("name") + "]").show();
|
2904 |
+
}
|
2905 |
+
|
2906 |
+
function wds_bulk_actions(that) {
|
2907 |
+
var action = jQuery(that).val();
|
2908 |
+
if (action == 'export') {
|
2909 |
+
alert('This functionality is disabled in free version.');
|
2910 |
+
}
|
2911 |
+
else if (action != '') {
|
2912 |
+
if (action == 'delete_all') {
|
2913 |
+
if (!confirm('Do you want to delete selected items?')) {
|
2914 |
+
return false;
|
2915 |
+
}
|
2916 |
+
}
|
2917 |
+
spider_set_input_value('task', action);
|
2918 |
+
jQuery('#sliders_form').submit();
|
2919 |
+
}
|
2920 |
+
else {
|
2921 |
+
return false;
|
2922 |
+
}
|
2923 |
+
return true;
|
2924 |
}
|
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,7 +160,12 @@ After downloading the ZIP file of the slider plugin,
|
|
160 |
|
161 |
== Changelog ==
|
162 |
|
163 |
-
= 1.1.
|
|
|
|
|
|
|
|
|
|
|
164 |
* Fixed: Minor bugs.
|
165 |
* Changed: Do not change the slide until slide loads.
|
166 |
* Fixed: Instagram slides.
|
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.40
|
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.40 =
|
164 |
+
* Fixed: Link the slide in carousel view.
|
165 |
+
* Fixed: Specialchars in text layer.
|
166 |
+
* Changed: Slider bulk actions.
|
167 |
+
|
168 |
+
= 1.1.39 =
|
169 |
* Fixed: Minor bugs.
|
170 |
* Changed: Do not change the slide until slide loads.
|
171 |
* Fixed: Instagram slides.
|
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());
|
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.40
|
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.40');
|
18 |
|
19 |
function wds_use_home_url() {
|
20 |
$home_url = str_replace("http://", "", home_url());
|