Version Description
- Added: Link to slide.
- Fixed: Click action for carousel view.
Download this release
Release Info
| Developer | webdorado |
| Plugin | |
| Version | 1.1.58 |
| Comparing to | |
| See all releases | |
Code changes from version 1.1.57 to 1.1.58
- admin/views/WDSViewSliders_wds.php +1 -1
- js/wds.js +13 -1
- readme.txt +8 -1
- slider-wd.php +4 -3
- sliders-insert.php +1 -0
- sliders-update.php +3 -0
admin/views/WDSViewSliders_wds.php
CHANGED
|
@@ -1693,7 +1693,7 @@ class WDSViewSliders_wds {
|
|
| 1693 |
</tr>
|
| 1694 |
<tr id="bullets_images_select">
|
| 1695 |
<td class="spider_label_options" style="vertical-align: middle;">
|
| 1696 |
-
<label for="bullets_images_url">
|
| 1697 |
</td>
|
| 1698 |
<td style="display: block;">
|
| 1699 |
<div style="display: table; margin-bottom: 14px;">
|
| 1693 |
</tr>
|
| 1694 |
<tr id="bullets_images_select">
|
| 1695 |
<td class="spider_label_options" style="vertical-align: middle;">
|
| 1696 |
+
<label for="bullets_images_url">Choose buttons: </label>
|
| 1697 |
</td>
|
| 1698 |
<td style="display: block;">
|
| 1699 |
<div style="display: table; margin-bottom: 14px;">
|
js/wds.js
CHANGED
|
@@ -137,6 +137,8 @@ function spider_ajax_save(form_id, event) {
|
|
| 137 |
slider_data["fixed_bg"] = jQuery("input[name=fixed_bg]:checked").val();
|
| 138 |
slider_data["smart_crop"] = jQuery("input[name=smart_crop]:checked").val();
|
| 139 |
slider_data["crop_image_position"] = jQuery("input[name=crop_image_position]:checked").val();
|
|
|
|
|
|
|
| 140 |
/* Css.*/
|
| 141 |
slider_data["css"] = jQuery("#css").val();
|
| 142 |
/* Javascript */
|
|
@@ -206,6 +208,8 @@ function spider_ajax_save(form_id, event) {
|
|
| 206 |
json_data["add_class"] = jQuery("#" + prefix + "_add_class").val();
|
| 207 |
json_data["hover_color_text"] = jQuery("#" + prefix + "_hover_color_text").val();
|
| 208 |
json_data["text_alignment"] = jQuery("#" + prefix + "_text_alignment").val();
|
|
|
|
|
|
|
| 209 |
break;
|
| 210 |
}
|
| 211 |
case "image": {
|
|
@@ -223,6 +227,8 @@ function spider_ajax_save(form_id, event) {
|
|
| 223 |
json_data["border_radius"] = jQuery("#" + prefix + "_border_radius").val();
|
| 224 |
json_data["shadow"] = jQuery("#" + prefix + "_shadow").val();
|
| 225 |
json_data["add_class"] = jQuery("#" + prefix + "_add_class").val();
|
|
|
|
|
|
|
| 226 |
break;
|
| 227 |
}
|
| 228 |
case "video": {
|
|
@@ -1824,6 +1830,12 @@ function wds_duplicate_layer(type, id, layerID, new_id) {
|
|
| 1824 |
jQuery("#" + new_prefix + "_image_scale").attr("checked", "checked");
|
| 1825 |
}
|
| 1826 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1827 |
jQuery("#" + new_prefix + "_transition option").each(function() {
|
| 1828 |
if (jQuery(this).val() == jQuery("#" + prefix + "_transition").val()) {
|
| 1829 |
jQuery(this).attr("selected", "selected");
|
|
@@ -1928,7 +1940,7 @@ function wds_duplicate_slide(slide_id) {
|
|
| 1928 |
jQuery("input[name=target_attr_slide" + new_slide_id +" ]:checked").val(jQuery("input[name=target_attr_slide" + slide_id +" ]:checked").val());
|
| 1929 |
jQuery("#type" + new_slide_id).val(jQuery("#type" + slide_id).val());
|
| 1930 |
jQuery("#image_url" + new_slide_id).val(jQuery("#image_url" + slide_id).val());
|
| 1931 |
-
jQuery("#thumb_url" + new_slide_id).val(jQuery("#thumb_url" + slide_id).val());
|
| 1932 |
/*If type is video*/
|
| 1933 |
if (jQuery("#type" + new_slide_id).val() == 'YOUTUBE' || jQuery("#type" + new_slide_id).val() == 'VIMEO') {
|
| 1934 |
jQuery("#wds_preview_image" + new_slide_id).css("background-image", 'url("' + jQuery("#thumb_url" + slide_id).val() + '")');
|
| 137 |
slider_data["fixed_bg"] = jQuery("input[name=fixed_bg]:checked").val();
|
| 138 |
slider_data["smart_crop"] = jQuery("input[name=smart_crop]:checked").val();
|
| 139 |
slider_data["crop_image_position"] = jQuery("input[name=crop_image_position]:checked").val();
|
| 140 |
+
slider_data["possib_add_google_fonts"] = jQuery("input[name=possib_add_google_fonts]:checked").val();
|
| 141 |
+
slider_data["possib_add_ffamily_google"] = jQuery("#possib_add_ffamily_google").val();
|
| 142 |
/* Css.*/
|
| 143 |
slider_data["css"] = jQuery("#css").val();
|
| 144 |
/* Javascript */
|
| 208 |
json_data["add_class"] = jQuery("#" + prefix + "_add_class").val();
|
| 209 |
json_data["hover_color_text"] = jQuery("#" + prefix + "_hover_color_text").val();
|
| 210 |
json_data["text_alignment"] = jQuery("#" + prefix + "_text_alignment").val();
|
| 211 |
+
json_data["layer_callback_list"] = jQuery("#" + prefix + "_layer_callback_list").val();
|
| 212 |
+
json_data["link_to_slide"] = jQuery("#" + prefix + "_link_to_slide").val();
|
| 213 |
break;
|
| 214 |
}
|
| 215 |
case "image": {
|
| 227 |
json_data["border_radius"] = jQuery("#" + prefix + "_border_radius").val();
|
| 228 |
json_data["shadow"] = jQuery("#" + prefix + "_shadow").val();
|
| 229 |
json_data["add_class"] = jQuery("#" + prefix + "_add_class").val();
|
| 230 |
+
json_data["layer_callback_list"] = jQuery("#" + prefix + "_layer_callback_list").val();
|
| 231 |
+
json_data["link_to_slide"] = jQuery("#" + prefix + "_link_to_slide").val();
|
| 232 |
break;
|
| 233 |
}
|
| 234 |
case "video": {
|
| 1830 |
jQuery("#" + new_prefix + "_image_scale").attr("checked", "checked");
|
| 1831 |
}
|
| 1832 |
}
|
| 1833 |
+
if (jQuery("#" + prefix + "_target_attr_layer").is(":checked")) {
|
| 1834 |
+
jQuery("#" + new_prefix + "_target_attr_layer").attr("checked", "checked");
|
| 1835 |
+
}
|
| 1836 |
+
else {
|
| 1837 |
+
jQuery("#" + new_prefix + "_target_attr_layer").removeAttr("checked");
|
| 1838 |
+
}
|
| 1839 |
jQuery("#" + new_prefix + "_transition option").each(function() {
|
| 1840 |
if (jQuery(this).val() == jQuery("#" + prefix + "_transition").val()) {
|
| 1841 |
jQuery(this).attr("selected", "selected");
|
| 1940 |
jQuery("input[name=target_attr_slide" + new_slide_id +" ]:checked").val(jQuery("input[name=target_attr_slide" + slide_id +" ]:checked").val());
|
| 1941 |
jQuery("#type" + new_slide_id).val(jQuery("#type" + slide_id).val());
|
| 1942 |
jQuery("#image_url" + new_slide_id).val(jQuery("#image_url" + slide_id).val());
|
| 1943 |
+
jQuery("#thumb_url" + new_slide_id).val(jQuery("#thumb_url" + slide_id).val());
|
| 1944 |
/*If type is video*/
|
| 1945 |
if (jQuery("#type" + new_slide_id).val() == 'YOUTUBE' || jQuery("#type" + new_slide_id).val() == 'VIMEO') {
|
| 1946 |
jQuery("#wds_preview_image" + new_slide_id).css("background-image", 'url("' + jQuery("#thumb_url" + slide_id).val() + '")');
|
readme.txt
CHANGED
|
@@ -4,13 +4,16 @@ 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.6
|
| 7 |
-
Stable tag: 1.1.
|
| 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!
|
| 15 |
|
| 16 |
https://www.youtube.com/watch?v=xebpM_-GwG0&index=1&list=PLnxWPiY5tLFWQf5XaEYYPZj0gdggUrVxP
|
|
@@ -122,6 +125,10 @@ After downloading the ZIP file of the slider plugin,
|
|
| 122 |
|
| 123 |
== Changelog ==
|
| 124 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
= 1.1.57 =
|
| 126 |
* Added: Possibility to change loading icon.
|
| 127 |
|
| 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.6
|
| 7 |
+
Stable tag: 1.1.58
|
| 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 |
+
|
| 15 |
+
Slider WD WordPress Plugin
|
| 16 |
+
|
| 17 |
Create responsive, highly configurable sliders with various effects for your WordPress site. Download for FREE!
|
| 18 |
|
| 19 |
https://www.youtube.com/watch?v=xebpM_-GwG0&index=1&list=PLnxWPiY5tLFWQf5XaEYYPZj0gdggUrVxP
|
| 125 |
|
| 126 |
== Changelog ==
|
| 127 |
|
| 128 |
+
= 1.1.58 =
|
| 129 |
+
* Added: Link to slide.
|
| 130 |
+
* Fixed: Click action for carousel view.
|
| 131 |
+
|
| 132 |
= 1.1.57 =
|
| 133 |
* Added: Possibility to change loading icon.
|
| 134 |
|
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());
|
|
@@ -126,7 +126,7 @@ function wds_featured_themes() {
|
|
| 126 |
require_once(WD_S_DIR . '/featured/featured_themes.php');
|
| 127 |
wp_register_style('wds_featured_themes', WD_S_URL . '/featured/themes_style.css', array(), WD_S_VERSION);
|
| 128 |
wp_print_styles('wds_featured_themes');
|
| 129 |
-
spider_featured_themes();
|
| 130 |
}
|
| 131 |
|
| 132 |
function wds_demo_sliders() {
|
|
@@ -442,6 +442,7 @@ function wds_activate() {
|
|
| 442 |
'possib_add_google_fonts' => 0,
|
| 443 |
'possib_add_ffamily_google' => '',
|
| 444 |
'slider_loop' => 1,
|
|
|
|
| 445 |
)
|
| 446 |
);
|
| 447 |
}
|
| 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.58
|
| 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.58');
|
| 18 |
|
| 19 |
function wds_use_home_url() {
|
| 20 |
$home_url = str_replace("http://", "", home_url());
|
| 126 |
require_once(WD_S_DIR . '/featured/featured_themes.php');
|
| 127 |
wp_register_style('wds_featured_themes', WD_S_URL . '/featured/themes_style.css', array(), WD_S_VERSION);
|
| 128 |
wp_print_styles('wds_featured_themes');
|
| 129 |
+
spider_featured_themes('slider_wd');
|
| 130 |
}
|
| 131 |
|
| 132 |
function wds_demo_sliders() {
|
| 442 |
'possib_add_google_fonts' => 0,
|
| 443 |
'possib_add_ffamily_google' => '',
|
| 444 |
'slider_loop' => 1,
|
| 445 |
+
'hide_on_mobile' => 1,
|
| 446 |
)
|
| 447 |
);
|
| 448 |
}
|
sliders-insert.php
CHANGED
|
@@ -189,6 +189,7 @@ function wds_insert() {
|
|
| 189 |
`hotspot_text_display` varchar(8) NOT NULL,
|
| 190 |
`hover_color_text` varchar(8) NOT NULL,
|
| 191 |
`text_alignment` varchar(8) NOT NULL,
|
|
|
|
| 192 |
PRIMARY KEY (`id`)
|
| 193 |
) DEFAULT CHARSET=utf8;";
|
| 194 |
$wpdb->query($wdslayer);
|
| 189 |
`hotspot_text_display` varchar(8) NOT NULL,
|
| 190 |
`hover_color_text` varchar(8) NOT NULL,
|
| 191 |
`text_alignment` varchar(8) NOT NULL,
|
| 192 |
+
`link_to_slide` int(4) NOT NULL,
|
| 193 |
PRIMARY KEY (`id`)
|
| 194 |
) DEFAULT CHARSET=utf8;";
|
| 195 |
$wpdb->query($wdslayer);
|
sliders-update.php
CHANGED
|
@@ -150,6 +150,9 @@ function wds_update($version) {
|
|
| 150 |
$wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdslayer` CHANGE `layer_effect_in` `layer_effect_in` varchar(32)");
|
| 151 |
$wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdslayer` CHANGE `layer_effect_out` `layer_effect_out` varchar(32)");
|
| 152 |
}
|
|
|
|
|
|
|
|
|
|
| 153 |
return;
|
| 154 |
}
|
| 155 |
|
| 150 |
$wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdslayer` CHANGE `layer_effect_in` `layer_effect_in` varchar(32)");
|
| 151 |
$wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdslayer` CHANGE `layer_effect_out` `layer_effect_out` varchar(32)");
|
| 152 |
}
|
| 153 |
+
if (version_compare($version, '1.1.58') == -1) {
|
| 154 |
+
$wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdslayer ADD `link_to_slide` int(4) NOT NULL DEFAULT 0");
|
| 155 |
+
}
|
| 156 |
return;
|
| 157 |
}
|
| 158 |
|
