Version Description
- Fixed: Slide options styles.
Download this release
Release Info
| Developer | 10web |
| Plugin | |
| Version | 1.2.46 |
| Comparing to | |
| See all releases | |
Code changes from version 1.2.45 to 1.2.46
- admin/views/Sliders.php +34 -39
- css/wds_tables.css +4 -7
- js/wds.js +6 -5
- readme.txt +5 -2
- slider-wd.php +5 -4
admin/views/Sliders.php
CHANGED
|
@@ -434,7 +434,7 @@ class SlidersView_wds extends AdminView_wds {
|
|
| 434 |
<p class="description"><?php _e('Enable this option to have the layer effect out regardless of the timing between the hit to the next slider.', WDS()->prefix); ?></p>
|
| 435 |
</span>
|
| 436 |
<span class="wd-group">
|
| 437 |
-
<label class="wd-label"><?php _e('Published', WDS()->prefix); ?></label>
|
| 438 |
<input type="radio" id="published1" name="published" <?php echo (($row->published) ? 'checked="checked"' : ''); ?> value="1" />
|
| 439 |
<label <?php echo (($row->published) ? 'class="selected_color"' : ''); ?> for="published1"><?php _e('Yes', WDS()->prefix); ?></label>
|
| 440 |
<input type="radio" id="published0" name="published" <?php echo (($row->published) ? '' : 'checked="checked"'); ?> value="0" />
|
|
@@ -1937,39 +1937,36 @@ class SlidersView_wds extends AdminView_wds {
|
|
| 1937 |
<div class="wd-table-col wd-table-col-50 wd-table-col-left">
|
| 1938 |
<div class="wd-box-section">
|
| 1939 |
<div class="wd-box-content">
|
| 1940 |
-
|
| 1941 |
-
|
| 1942 |
-
|
| 1943 |
-
|
| 1944 |
-
|
| 1945 |
-
|
| 1946 |
-
|
| 1947 |
-
|
| 1948 |
-
|
| 1949 |
-
|
| 1950 |
-
|
| 1951 |
-
|
| 1952 |
-
|
| 1953 |
-
|
| 1954 |
-
|
| 1955 |
-
|
| 1956 |
-
|
| 1957 |
-
|
| 1958 |
-
|
| 1959 |
-
|
| 1960 |
-
|
| 1961 |
-
|
| 1962 |
-
|
| 1963 |
-
|
| 1964 |
-
|
| 1965 |
-
|
| 1966 |
-
|
| 1967 |
<div class="wd-group">
|
| 1968 |
-
<label class="wd-label"><?php _e('Published', WDS()->prefix); ?></label>
|
| 1969 |
-
<input type="radio" id="published<?php echo $slide_row->id; ?>1" name="published<?php echo $slide_row->id; ?>" <?php echo (($slide_row->published) ? 'checked="checked"' : ''); ?> value="1"
|
| 1970 |
-
<label <?php echo (($slide_row->published) ? 'class="selected_color"' : ''); ?> for="published<?php echo $slide_row->id; ?>1"><?php _e('Yes', WDS()->prefix); ?></label>
|
| 1971 |
-
<input type="radio" id="published<?php echo $slide_row->id; ?>0" name="published<?php echo $slide_row->id; ?>" <?php echo (($slide_row->published) ? '' : 'checked="checked"'); ?> value="0" />
|
| 1972 |
-
<label <?php echo (($slide_row->published) ? '' : 'class="selected_color"'); ?> for="published<?php echo $slide_row->id; ?>0"><?php _e('No', WDS()->prefix); ?></label>
|
| 1973 |
<p class="description"></p>
|
| 1974 |
</div>
|
| 1975 |
</div>
|
|
@@ -2019,22 +2016,20 @@ class SlidersView_wds extends AdminView_wds {
|
|
| 2019 |
<p class="description"></p>
|
| 2020 |
</div>
|
| 2021 |
<div class="wd-group" id="trlink<?php echo $slide_row->id; ?>" <?php echo $slide_row->type == 'image' ? '' : 'style="display: none;"'; ?>>
|
| 2022 |
-
<label class="wd-label" for="link<?php echo $slide_row->id; ?>"><?php _e('Link the slide to', WDS()->prefix); ?></label>
|
| 2023 |
-
<input class="wds_external_link" id="link<?php echo $slide_row->id; ?>" type="text" value="<?php echo $slide_row->link; ?>" name="link<?php echo $slide_row->id; ?>" />
|
| 2024 |
-
<input id="target_attr_slide<?php echo $slide_row->id; ?>" type="checkbox" name="target_attr_slide<?php echo $slide_row->id; ?>" <?php echo (($slide_row->target_attr_slide) ? 'checked="checked"' : ''); ?> value="1" /><label for="target_attr_slide<?php echo $slide_row->id; ?>"><?php _e('Open in a new window', WDS()->prefix); ?></label>
|
| 2025 |
<p class="description"><?php _e('You can add a URL, to which the users will be redirected upon clicking on the slide. Use http:// and https:// for external links.', WDS()->prefix); ?></p>
|
| 2026 |
</div>
|
| 2027 |
<div class="wd-group">
|
| 2028 |
<?php
|
| 2029 |
if ( !$spider_uploader ) {
|
| 2030 |
?>
|
| 2031 |
-
<input type="button" class="button button-secondary" id="button_image_url<?php echo $slide_row->id; ?>" onclick="wds_media_uploader('<?php echo 'add_update_thumbnail__' . $slide_row->id; ?>', event, false); return false;" value="<?php _e('Edit
|
| 2032 |
<?php
|
| 2033 |
}
|
| 2034 |
else {
|
| 2035 |
?>
|
| 2036 |
-
<a class="button button-secondary thickbox thickbox-preview" href="<?php echo add_query_arg(array('callback' => 'wds_add_image', 'image_for' => 'add_update_thumbnail', 'slide_id' => $slide_row->id, 'TB_iframe' => '1'), $query_url); ?>" title="<?php _e('Edit
|
| 2037 |
-
<?php _e('Edit
|
| 2038 |
</a>
|
| 2039 |
<?php
|
| 2040 |
}
|
| 434 |
<p class="description"><?php _e('Enable this option to have the layer effect out regardless of the timing between the hit to the next slider.', WDS()->prefix); ?></p>
|
| 435 |
</span>
|
| 436 |
<span class="wd-group">
|
| 437 |
+
<label class="wd-label"><?php _e('Published:', WDS()->prefix); ?></label>
|
| 438 |
<input type="radio" id="published1" name="published" <?php echo (($row->published) ? 'checked="checked"' : ''); ?> value="1" />
|
| 439 |
<label <?php echo (($row->published) ? 'class="selected_color"' : ''); ?> for="published1"><?php _e('Yes', WDS()->prefix); ?></label>
|
| 440 |
<input type="radio" id="published0" name="published" <?php echo (($row->published) ? '' : 'checked="checked"'); ?> value="0" />
|
| 1937 |
<div class="wd-table-col wd-table-col-50 wd-table-col-left">
|
| 1938 |
<div class="wd-box-section">
|
| 1939 |
<div class="wd-box-content">
|
| 1940 |
+
<div class="wd-group">
|
| 1941 |
+
<label class="wd-label" for="fillmode<?php echo $slide_row->id; ?>"><?php _e('Fillmode:', WDS()->prefix); ?></label>
|
| 1942 |
+
<div id="wds_fillmode_option-<?php echo $slide_row->id; ?>" class="wds_fillmode_option">
|
| 1943 |
+
<div style="width: 210px; position: relative;">
|
| 1944 |
+
<div class="spider_choose_option" onclick="wds_choose_option(this)">
|
| 1945 |
+
<div class="spider_option_main_title"><?php echo !empty($slide_row->fillmode) ? $slide_row->fillmode : __('Fill', WDS()->prefix); ?></div>
|
| 1946 |
+
<div class="spider_sel_option_ic"><i class="fa fa-angle-down fa-lg"></i></div>
|
| 1947 |
+
</div>
|
| 1948 |
+
<div class="spider_options_cont <?php echo ($type_video) ? 'type_video' :'';?>">
|
| 1949 |
+
<?php foreach ($slider_fillmode_option as $key_option => $option) { ?>
|
| 1950 |
+
<div class="spider_option_cont <?php echo ((!empty($slide_row->fillmode) && $slide_row->fillmode == $key_option) ? 'selected' : ''); ?>" value="<?php echo $key_option;?>" onclick="wds_change_fillmode_type(this,<?php echo $slide_row->id; ?>)">
|
| 1951 |
+
<div id="wds_fillmode_option_title-<?php echo $slide_row->id; ?>"class="spider_option_cont_title" data-title="<?php echo $key_option; ?>"><?php echo $option; ?></div>
|
| 1952 |
+
<div id="wds_fillmode_option_img-<?php echo $slide_row->id; ?>" class="spider_option_cont_img">
|
| 1953 |
+
<img src="<?php echo WDS()->plugin_url . '/images/fillmode/' . $key_option . '.png'; ?>" />
|
| 1954 |
+
</div>
|
| 1955 |
+
</div>
|
| 1956 |
+
<?php } ?>
|
| 1957 |
+
</div>
|
| 1958 |
+
</div>
|
| 1959 |
+
</div>
|
| 1960 |
+
<div id="wds_fillmode_preview-<?php echo $slide_row->id; ?>" class="wds_fillmode_preview <?php echo ( empty($slide_row->fillmode) ? 'hide' :'' );?>">
|
| 1961 |
+
<img src="<?php echo WDS()->plugin_url . '/images/fillmode/' . $slide_row->fillmode. '.png'; ?>">
|
| 1962 |
+
<input type="hidden" name="fillmode<?php echo $slide_row->id; ?>" value="<?php echo $slide_row->fillmode; ?>">
|
| 1963 |
+
</div>
|
| 1964 |
+
<div class="clear"></div>
|
| 1965 |
+
<p class="description"><?php _e('Change the appearance of the slide background.', WDS()->prefix); ?></p>
|
| 1966 |
+
</div>
|
| 1967 |
<div class="wd-group">
|
| 1968 |
+
<label class="wd-label"><?php _e('Published:', WDS()->prefix); ?></label>
|
| 1969 |
+
<input type="radio" id="published<?php echo $slide_row->id; ?>1" name="published<?php echo $slide_row->id; ?>" <?php echo (($slide_row->published) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($slide_row->published) ? 'class="selected_color"' : ''); ?> for="published<?php echo $slide_row->id; ?>1"><?php _e('Yes', WDS()->prefix); ?></label><input type="radio" id="published<?php echo $slide_row->id; ?>0" name="published<?php echo $slide_row->id; ?>" <?php echo (($slide_row->published) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($slide_row->published) ? '' : 'class="selected_color"'); ?> for="published<?php echo $slide_row->id; ?>0"><?php _e('No', WDS()->prefix); ?></label>
|
|
|
|
|
|
|
|
|
|
| 1970 |
<p class="description"></p>
|
| 1971 |
</div>
|
| 1972 |
</div>
|
| 2016 |
<p class="description"></p>
|
| 2017 |
</div>
|
| 2018 |
<div class="wd-group" id="trlink<?php echo $slide_row->id; ?>" <?php echo $slide_row->type == 'image' ? '' : 'style="display: none;"'; ?>>
|
| 2019 |
+
<label class="wd-label" for="link<?php echo $slide_row->id; ?>"><?php _e('Link the slide to:', WDS()->prefix); ?></label><input class="wds_external_link" id="link<?php echo $slide_row->id; ?>" type="text" value="<?php echo $slide_row->link; ?>" name="link<?php echo $slide_row->id; ?>" /><input id="target_attr_slide<?php echo $slide_row->id; ?>" type="checkbox" name="target_attr_slide<?php echo $slide_row->id; ?>" <?php echo (($slide_row->target_attr_slide) ? 'checked="checked"' : ''); ?> value="1" /><label for="target_attr_slide<?php echo $slide_row->id; ?>"><?php _e('Open in a new window', WDS()->prefix); ?></label>
|
|
|
|
|
|
|
| 2020 |
<p class="description"><?php _e('You can add a URL, to which the users will be redirected upon clicking on the slide. Use http:// and https:// for external links.', WDS()->prefix); ?></p>
|
| 2021 |
</div>
|
| 2022 |
<div class="wd-group">
|
| 2023 |
<?php
|
| 2024 |
if ( !$spider_uploader ) {
|
| 2025 |
?>
|
| 2026 |
+
<input type="button" class="button button-secondary" id="button_image_url<?php echo $slide_row->id; ?>" onclick="wds_media_uploader('<?php echo 'add_update_thumbnail__' . $slide_row->id; ?>', event, false); return false;" value="<?php _e('Edit Thumbnail', WDS()->prefix); ?>" />
|
| 2027 |
<?php
|
| 2028 |
}
|
| 2029 |
else {
|
| 2030 |
?>
|
| 2031 |
+
<a class="button button-secondary thickbox thickbox-preview" href="<?php echo add_query_arg(array('callback' => 'wds_add_image', 'image_for' => 'add_update_thumbnail', 'slide_id' => $slide_row->id, 'TB_iframe' => '1'), $query_url); ?>" title="<?php _e('Edit Thumbnail', WDS()->prefix); ?>" onclick="return false;">
|
| 2032 |
+
<?php _e('Edit Thumbnail', WDS()->prefix); ?>
|
| 2033 |
</a>
|
| 2034 |
<?php
|
| 2035 |
}
|
css/wds_tables.css
CHANGED
|
@@ -14,7 +14,7 @@
|
|
| 14 |
margin: 0;
|
| 15 |
}
|
| 16 |
|
| 17 |
-
|
| 18 |
line-height: 1;
|
| 19 |
}
|
| 20 |
|
|
@@ -970,7 +970,7 @@
|
|
| 970 |
}
|
| 971 |
|
| 972 |
.wds_box .color {
|
| 973 |
-
width:
|
| 974 |
}
|
| 975 |
|
| 976 |
.wds_active_layer {
|
|
@@ -1970,14 +1970,11 @@ th.sorted a span {
|
|
| 1970 |
padding: 0;
|
| 1971 |
}
|
| 1972 |
|
| 1973 |
-
|
|
|
|
| 1974 |
margin-right: 5px;
|
| 1975 |
}
|
| 1976 |
|
| 1977 |
-
#wds_sliders_form .wd-group input[type=radio] {
|
| 1978 |
-
margin: 0px;
|
| 1979 |
-
}
|
| 1980 |
-
|
| 1981 |
.wd-label-radio {
|
| 1982 |
display: inline-block;
|
| 1983 |
max-width: 450px;
|
| 14 |
margin: 0;
|
| 15 |
}
|
| 16 |
|
| 17 |
+
table thead th {
|
| 18 |
line-height: 1;
|
| 19 |
}
|
| 20 |
|
| 970 |
}
|
| 971 |
|
| 972 |
.wds_box .color {
|
| 973 |
+
width: 65px;
|
| 974 |
}
|
| 975 |
|
| 976 |
.wds_active_layer {
|
| 1970 |
padding: 0;
|
| 1971 |
}
|
| 1972 |
|
| 1973 |
+
.wd-group label,
|
| 1974 |
+
.wd-group input[type=radio] {
|
| 1975 |
margin-right: 5px;
|
| 1976 |
}
|
| 1977 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1978 |
.wd-label-radio {
|
| 1979 |
display: inline-block;
|
| 1980 |
max-width: 450px;
|
js/wds.js
CHANGED
|
@@ -3454,6 +3454,7 @@ function wds_add_slide() {
|
|
| 3454 |
'<input type="hidden" name="fillmode' + slideID + '" value="fill">'+
|
| 3455 |
'</div>'+
|
| 3456 |
'<div class="clear"></div>'+
|
|
|
|
| 3457 |
'</div>';
|
| 3458 |
jQuery("#slide_ids_string").val(jQuery("#slide_ids_string").val() + slideID + ',');
|
| 3459 |
jQuery(".wds_slides_box *").removeClass("wds_sub_active");
|
|
@@ -3492,13 +3493,13 @@ function wds_add_slide() {
|
|
| 3492 |
'<div class="wd-table-col wd-table-col-50 wd-table-col-left">' +
|
| 3493 |
'<div class="wd-box-section">' +
|
| 3494 |
'<div class="wd-box-content">'
|
| 3495 |
-
|
| 3496 |
-
|
| 3497 |
-
|
| 3498 |
'<div class="wd-group">'+
|
| 3499 |
'<label class="wd-label">'+ wds_object.translate.published +'</label>'+
|
| 3500 |
-
'<input type="radio" id="published' + slideID + '1" name="published' + slideID + '" checked="checked" value="1" /><label for="published' + slideID + '1">'+ wds_object.translate.yes +'</label>'+
|
| 3501 |
-
'<input type="radio" id="published' + slideID + '0" name="published' + slideID + '" value="0" /><label for="published' + slideID + '0">'+ wds_object.translate.no +'</label>'+
|
| 3502 |
'<p class="description"></p>'+
|
| 3503 |
'</div>'+
|
| 3504 |
'</div>'+
|
| 3454 |
'<input type="hidden" name="fillmode' + slideID + '" value="fill">'+
|
| 3455 |
'</div>'+
|
| 3456 |
'<div class="clear"></div>'+
|
| 3457 |
+
'<p class="description">' + wds_object.translate.fillmode_desc + '</p>'+
|
| 3458 |
'</div>';
|
| 3459 |
jQuery("#slide_ids_string").val(jQuery("#slide_ids_string").val() + slideID + ',');
|
| 3460 |
jQuery(".wds_slides_box *").removeClass("wds_sub_active");
|
| 3493 |
'<div class="wd-table-col wd-table-col-50 wd-table-col-left">' +
|
| 3494 |
'<div class="wd-box-section">' +
|
| 3495 |
'<div class="wd-box-content">'
|
| 3496 |
+
+
|
| 3497 |
+
fillmode_html
|
| 3498 |
+
+
|
| 3499 |
'<div class="wd-group">'+
|
| 3500 |
'<label class="wd-label">'+ wds_object.translate.published +'</label>'+
|
| 3501 |
+
'<input type="radio" id="published' + slideID + '1" name="published' + slideID + '" checked="checked" value="1" data-initial-value="1" class="wds-check-change" /><label class="selected_color" for="published' + slideID + '1">'+ wds_object.translate.yes +'</label>'+
|
| 3502 |
+
'<input type="radio" id="published' + slideID + '0" name="published' + slideID + '" value="0" data-initial-value="0" class="wds-check-change"/><label for="published' + slideID + '0">'+ wds_object.translate.no +'</label>'+
|
| 3503 |
'<p class="description"></p>'+
|
| 3504 |
'</div>'+
|
| 3505 |
'</div>'+
|
readme.txt
CHANGED
|
@@ -2,9 +2,9 @@
|
|
| 2 |
Contributors: webdorado,10web
|
| 3 |
Tags: responsive slider, slider, slideshow, wordpress slider, image slider, gallery slider, images slider, Photo Slider, post slider, slider plugin
|
| 4 |
Requires at least: 3.4
|
| 5 |
-
Tested up to: 5.
|
| 6 |
Requires PHP: 5.2
|
| 7 |
-
Stable tag: 1.2.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -444,6 +444,9 @@ The plugin takes the full width of the widget area if the **Boxed Layout** in **
|
|
| 444 |
|
| 445 |
|
| 446 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
| 447 |
= 1.2.45 =
|
| 448 |
* Fixed: Default font for layers.
|
| 449 |
|
| 2 |
Contributors: webdorado,10web
|
| 3 |
Tags: responsive slider, slider, slideshow, wordpress slider, image slider, gallery slider, images slider, Photo Slider, post slider, slider plugin
|
| 4 |
Requires at least: 3.4
|
| 5 |
+
Tested up to: 5.8
|
| 6 |
Requires PHP: 5.2
|
| 7 |
+
Stable tag: 1.2.46
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 444 |
|
| 445 |
|
| 446 |
== Changelog ==
|
| 447 |
+
= 1.2.46 =
|
| 448 |
+
* Fixed: Slide options styles.
|
| 449 |
+
|
| 450 |
= 1.2.45 =
|
| 451 |
* Fixed: Default font for layers.
|
| 452 |
|
slider-wd.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
* Plugin Name: Slider by 10Web
|
| 4 |
* Plugin URI: https://10web.io/plugins/wordpress-slider/?utm_source=slider&utm_medium=free_plugin
|
| 5 |
* 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.
|
| 6 |
-
* Version: 1.2.
|
| 7 |
* Author: 10Web
|
| 8 |
* Author URI: https://10web.io/pricing/?utm_source=slider&utm_medium=free_plugin
|
| 9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
|
@@ -79,8 +79,8 @@ final class WDS {
|
|
| 79 |
$this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
|
| 80 |
$this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
|
| 81 |
$this->main_file = plugin_basename(__FILE__);
|
| 82 |
-
$this->plugin_version = '1.2.
|
| 83 |
-
$this->db_version = '1.2.
|
| 84 |
$this->prefix = 'wds';
|
| 85 |
$this->nicename = __('Slider', $this->prefix);
|
| 86 |
$this->use_home_url();
|
|
@@ -830,7 +830,8 @@ final class WDS {
|
|
| 830 |
'zoomOutRight' => __('ZoomOutRight', $this->prefix),
|
| 831 |
'zoomOutUp' => __('ZoomOutUp', $this->prefix),
|
| 832 |
'insert_valid_audio_file' => __('Insert valid audio file', $this->prefix),
|
| 833 |
-
'fillmode' => __('Fillmode', $this->prefix),
|
|
|
|
| 834 |
'fill' => __('Fill', $this->prefix),
|
| 835 |
'Changes_must_be_saved' => __('Changes must be saved', $this->prefix),
|
| 836 |
'edit_slide' => __('Edit Slide', $this->prefix),
|
| 3 |
* Plugin Name: Slider by 10Web
|
| 4 |
* Plugin URI: https://10web.io/plugins/wordpress-slider/?utm_source=slider&utm_medium=free_plugin
|
| 5 |
* 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.
|
| 6 |
+
* Version: 1.2.46
|
| 7 |
* Author: 10Web
|
| 8 |
* Author URI: https://10web.io/pricing/?utm_source=slider&utm_medium=free_plugin
|
| 9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
| 79 |
$this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
|
| 80 |
$this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
|
| 81 |
$this->main_file = plugin_basename(__FILE__);
|
| 82 |
+
$this->plugin_version = '1.2.46';
|
| 83 |
+
$this->db_version = '1.2.46';
|
| 84 |
$this->prefix = 'wds';
|
| 85 |
$this->nicename = __('Slider', $this->prefix);
|
| 86 |
$this->use_home_url();
|
| 830 |
'zoomOutRight' => __('ZoomOutRight', $this->prefix),
|
| 831 |
'zoomOutUp' => __('ZoomOutUp', $this->prefix),
|
| 832 |
'insert_valid_audio_file' => __('Insert valid audio file', $this->prefix),
|
| 833 |
+
'fillmode' => __('Fillmode:', $this->prefix),
|
| 834 |
+
'fillmode_desc' => __('Change the appearance of the slide background.', $this->prefix),
|
| 835 |
'fill' => __('Fill', $this->prefix),
|
| 836 |
'Changes_must_be_saved' => __('Changes must be saved', $this->prefix),
|
| 837 |
'edit_slide' => __('Edit Slide', $this->prefix),
|
