Version Description
Fixed: Timer bar and bullets postion with horizontal filmstrip.
Fixed: Set watermark.
Download this release
Release Info
Developer | webdorado |
Plugin | Slider by WD – Responsive Slider |
Version | 1.0.11 |
Comparing to | |
See all releases |
Code changes from version 1.0.10 to 1.0.11
- admin/controllers/WDSControllerSliders_wds.php +30 -0
- admin/models/WDSModelSliders_wds.php +5 -0
- admin/views/WDSViewSliders_wds.php +62 -5
- css/wds_frontend.css +1 -1
- frontend/views/WDSViewSlider.php +3 -3
- js/wds.js +6 -0
- readme.txt +28 -24
- slider-wd.php +9 -4
- sliders-insert.php +5 -0
- sliders-update.php +8 -0
admin/controllers/WDSControllerSliders_wds.php
CHANGED
@@ -182,6 +182,11 @@ class WDSControllerSliders_wds {
|
|
182 |
$paus_butt_hov_url = (isset($_POST['paus_butt_hov_url']) ? esc_html(stripslashes($_POST['paus_butt_hov_url'])) : '');
|
183 |
$start_slide_num = ((isset($_POST['start_slide_num'])) ? (int) stripslashes($_POST['start_slide_num']) : 1);
|
184 |
$effect_duration = ((isset($_POST['effect_duration'])) ? (int) stripslashes($_POST['effect_duration']) : 800);
|
|
|
|
|
|
|
|
|
|
|
185 |
|
186 |
if (!$slider_id) {
|
187 |
$save = $wpdb->insert($wpdb->prefix . 'wdsslider', array(
|
@@ -269,6 +274,11 @@ class WDSControllerSliders_wds {
|
|
269 |
'paus_butt_hov_url' => $paus_butt_hov_url,
|
270 |
'start_slide_num' => $start_slide_num,
|
271 |
'effect_duration' => $effect_duration,
|
|
|
|
|
|
|
|
|
|
|
272 |
), array(
|
273 |
'%s',
|
274 |
'%d',
|
@@ -354,6 +364,11 @@ class WDSControllerSliders_wds {
|
|
354 |
'%s',
|
355 |
'%d',
|
356 |
'%d',
|
|
|
|
|
|
|
|
|
|
|
357 |
));
|
358 |
$_POST['current_id'] = (int) $wpdb->get_var('SELECT MAX(`id`) FROM ' . $wpdb->prefix . 'wdsslider');
|
359 |
}
|
@@ -443,6 +458,11 @@ class WDSControllerSliders_wds {
|
|
443 |
'paus_butt_hov_url' => $paus_butt_hov_url,
|
444 |
'start_slide_num' => $start_slide_num,
|
445 |
'effect_duration' => $effect_duration,
|
|
|
|
|
|
|
|
|
|
|
446 |
), array('id' => $slider_id));
|
447 |
}
|
448 |
if ($save !== FALSE) {
|
@@ -911,6 +931,11 @@ class WDSControllerSliders_wds {
|
|
911 |
'paus_butt_hov_url' => $slider_row->paus_butt_hov_url,
|
912 |
'start_slide_num' => $slider_row->start_slide_num,
|
913 |
'effect_duration' => $slider_row->effect_duration,
|
|
|
|
|
|
|
|
|
|
|
914 |
), array(
|
915 |
'%s',
|
916 |
'%d',
|
@@ -996,6 +1021,11 @@ class WDSControllerSliders_wds {
|
|
996 |
'%s',
|
997 |
'%d',
|
998 |
'%d',
|
|
|
|
|
|
|
|
|
|
|
999 |
));
|
1000 |
$new_slider_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslider');
|
1001 |
|
182 |
$paus_butt_hov_url = (isset($_POST['paus_butt_hov_url']) ? esc_html(stripslashes($_POST['paus_butt_hov_url'])) : '');
|
183 |
$start_slide_num = ((isset($_POST['start_slide_num'])) ? (int) stripslashes($_POST['start_slide_num']) : 1);
|
184 |
$effect_duration = ((isset($_POST['effect_duration'])) ? (int) stripslashes($_POST['effect_duration']) : 800);
|
185 |
+
$carousel = 0;
|
186 |
+
$carousel_image_counts = 7;
|
187 |
+
$carousel_image_parameters = 0.85;
|
188 |
+
$carousel_fit_containerWidth = 0;
|
189 |
+
$carousel_width = 1000;
|
190 |
|
191 |
if (!$slider_id) {
|
192 |
$save = $wpdb->insert($wpdb->prefix . 'wdsslider', array(
|
274 |
'paus_butt_hov_url' => $paus_butt_hov_url,
|
275 |
'start_slide_num' => $start_slide_num,
|
276 |
'effect_duration' => $effect_duration,
|
277 |
+
'carousel' => $carousel,
|
278 |
+
'carousel_image_counts' => $carousel_image_counts,
|
279 |
+
'carousel_image_parameters' => $carousel_image_parameters,
|
280 |
+
'carousel_fit_containerWidth' => $carousel_fit_containerWidth,
|
281 |
+
'carousel_width' => $carousel_width
|
282 |
), array(
|
283 |
'%s',
|
284 |
'%d',
|
364 |
'%s',
|
365 |
'%d',
|
366 |
'%d',
|
367 |
+
'%d',
|
368 |
+
'%d',
|
369 |
+
'%s',
|
370 |
+
'%d',
|
371 |
+
'%d',
|
372 |
));
|
373 |
$_POST['current_id'] = (int) $wpdb->get_var('SELECT MAX(`id`) FROM ' . $wpdb->prefix . 'wdsslider');
|
374 |
}
|
458 |
'paus_butt_hov_url' => $paus_butt_hov_url,
|
459 |
'start_slide_num' => $start_slide_num,
|
460 |
'effect_duration' => $effect_duration,
|
461 |
+
'carousel' => $carousel,
|
462 |
+
'carousel_image_counts' => $carousel_image_counts,
|
463 |
+
'carousel_image_parameters' => $carousel_image_parameters,
|
464 |
+
'carousel_fit_containerWidth' => $carousel_fit_containerWidth,
|
465 |
+
'carousel_width' => $carousel_width,
|
466 |
), array('id' => $slider_id));
|
467 |
}
|
468 |
if ($save !== FALSE) {
|
931 |
'paus_butt_hov_url' => $slider_row->paus_butt_hov_url,
|
932 |
'start_slide_num' => $slider_row->start_slide_num,
|
933 |
'effect_duration' => $slider_row->effect_duration,
|
934 |
+
'carousel' => $slider_row->carousel,
|
935 |
+
'carousel_image_counts' => $slider_row->carousel_image_counts,
|
936 |
+
'carousel_image_parameters' => $slider_row->carousel_image_parameters,
|
937 |
+
'carousel_fit_containerWidth' => $slider_row->carousel_fit_containerWidth,
|
938 |
+
'carousel_width' => $slider_row->carousel_width,
|
939 |
), array(
|
940 |
'%s',
|
941 |
'%d',
|
1021 |
'%s',
|
1022 |
'%d',
|
1023 |
'%d',
|
1024 |
+
'%d',
|
1025 |
+
'%d',
|
1026 |
+
'%s',
|
1027 |
+
'%d',
|
1028 |
+
'%d',
|
1029 |
));
|
1030 |
$new_slider_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslider');
|
1031 |
|
admin/models/WDSModelSliders_wds.php
CHANGED
@@ -178,6 +178,11 @@ class WDSModelSliders_wds {
|
|
178 |
$row->paus_butt_hov_url = WD_S_URL . '/images/button/button4/1/4.png';
|
179 |
$row->start_slide_num = 1;
|
180 |
$row->effect_duration = 800;
|
|
|
|
|
|
|
|
|
|
|
181 |
}
|
182 |
return $row;
|
183 |
}
|
178 |
$row->paus_butt_hov_url = WD_S_URL . '/images/button/button4/1/4.png';
|
179 |
$row->start_slide_num = 1;
|
180 |
$row->effect_duration = 800;
|
181 |
+
$row->carousel = 0;
|
182 |
+
$row->carousel_image_counts = 7;
|
183 |
+
$row->carousel_image_parameters = 0.85;
|
184 |
+
$row->carousel_fit_containerWidth = 0;
|
185 |
+
$row->carousel_width = 1000;
|
186 |
}
|
187 |
return $row;
|
188 |
}
|
admin/views/WDSViewSliders_wds.php
CHANGED
@@ -407,7 +407,7 @@ class WDSViewSliders_wds {
|
|
407 |
<input class="button-secondary" type="button" onclick="if (wds_check_required('name', 'Name')) {return false;};
|
408 |
spider_set_input_value('task', 'duplicate');
|
409 |
spider_ajax_save('sliders_form', event);" value="Save as Copy" />
|
410 |
-
|
411 |
if ($row->spider_uploader) {
|
412 |
?>
|
413 |
<a href="<?php echo add_query_arg(array('action' => 'addImage', 'width' => '700', 'height' => '550', 'extensions' => 'jpg,jpeg,png,gif', 'callback' => 'wds_add_image', 'image_for' => 'add_slides', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>" class="button-primary thickbox thickbox-preview" title="Add Images" onclick="return false;">
|
@@ -441,6 +441,9 @@ class WDSViewSliders_wds {
|
|
441 |
<li tab_type="global" onclick="wds_change_nav(this, 'wds_nav_global_box')">
|
442 |
<a href="#">Global</a>
|
443 |
</li>
|
|
|
|
|
|
|
444 |
<li tab_type="navigation" onclick="wds_change_nav(this, 'wds_nav_navigation_box')" >
|
445 |
<a href="#">Navigation</a>
|
446 |
</li>
|
@@ -678,6 +681,54 @@ class WDSViewSliders_wds {
|
|
678 |
</tbody>
|
679 |
</table>
|
680 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
681 |
<div class="wds_nav_box wds_nav_navigation_box">
|
682 |
<table>
|
683 |
<tbody>
|
@@ -817,7 +868,9 @@ class WDSViewSliders_wds {
|
|
817 |
}
|
818 |
}
|
819 |
else {
|
820 |
-
|
|
|
|
|
821 |
}
|
822 |
}
|
823 |
?>
|
@@ -1004,7 +1057,9 @@ class WDSViewSliders_wds {
|
|
1004 |
}
|
1005 |
}
|
1006 |
else {
|
1007 |
-
|
|
|
|
|
1008 |
}
|
1009 |
}
|
1010 |
?>
|
@@ -1235,7 +1290,9 @@ class WDSViewSliders_wds {
|
|
1235 |
}
|
1236 |
}
|
1237 |
else {
|
1238 |
-
|
|
|
|
|
1239 |
}
|
1240 |
}
|
1241 |
?>
|
@@ -1696,7 +1753,7 @@ class WDSViewSliders_wds {
|
|
1696 |
?>
|
1697 |
<input type="button" class="button-primary" onclick="wds_add_image_url('<?php echo $slide_row->id; ?>')" value="Add Image by URL" />
|
1698 |
<input type="button" class="button-secondary wds_free_button" onclick="alert('This functionality is disabled in free version.')" value="Add Video" />
|
1699 |
-
|
1700 |
<input type="button" class="button-secondary" id="delete_image_url<?php echo $slide_row->id; ?>" onclick="spider_remove_url('image_url<?php echo $slide_row->id; ?>', 'wds_preview_image<?php echo $slide_row->id; ?>')" value="Remove" />
|
1701 |
<input type="hidden" id="image_url<?php echo $slide_row->id; ?>" name="image_url<?php echo $slide_row->id; ?>" value="<?php echo $slide_row->image_url; ?>" />
|
1702 |
<input type="hidden" id="thumb_url<?php echo $slide_row->id; ?>" name="thumb_url<?php echo $slide_row->id; ?>" value="<?php echo $slide_row->thumb_url; ?>" />
|
407 |
<input class="button-secondary" type="button" onclick="if (wds_check_required('name', 'Name')) {return false;};
|
408 |
spider_set_input_value('task', 'duplicate');
|
409 |
spider_ajax_save('sliders_form', event);" value="Save as Copy" />
|
410 |
+
<?php
|
411 |
if ($row->spider_uploader) {
|
412 |
?>
|
413 |
<a href="<?php echo add_query_arg(array('action' => 'addImage', 'width' => '700', 'height' => '550', 'extensions' => 'jpg,jpeg,png,gif', 'callback' => 'wds_add_image', 'image_for' => 'add_slides', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>" class="button-primary thickbox thickbox-preview" title="Add Images" onclick="return false;">
|
441 |
<li tab_type="global" onclick="wds_change_nav(this, 'wds_nav_global_box')">
|
442 |
<a href="#">Global</a>
|
443 |
</li>
|
444 |
+
<li tab_type="carousel" onclick="wds_change_nav(this, 'wds_nav_carousel_box')">
|
445 |
+
<a href="#">Carousel</a>
|
446 |
+
</li>
|
447 |
<li tab_type="navigation" onclick="wds_change_nav(this, 'wds_nav_navigation_box')" >
|
448 |
<a href="#">Navigation</a>
|
449 |
</li>
|
681 |
</tbody>
|
682 |
</table>
|
683 |
</div>
|
684 |
+
<div class="wds_nav_box wds_nav_carousel_box spider_free_version_label" title="This functionality is disabled in free version.">
|
685 |
+
<table>
|
686 |
+
<tbody>
|
687 |
+
<tr>
|
688 |
+
<td colspan="2">
|
689 |
+
<div class="error" style="padding: 5px; font-size: 14px; color: #000000 !important;">Carousel is disabled in free version.</div>
|
690 |
+
</td>
|
691 |
+
</tr>
|
692 |
+
<tr>
|
693 |
+
<td class="spider_label"><label>Carousel: </label></td>
|
694 |
+
<td>
|
695 |
+
<input disabled="disabled" type="radio" id="carousel1" name="carousel" <?php echo (($row->carousel) ? 'checked="checked"' : ''); ?> value="1" /><label for="carousel1">Yes</label>
|
696 |
+
<input disabled="disabled" type="radio" id="carousel0" name="carousel" <?php echo (($row->carousel) ? '' : 'checked="checked"'); ?> value="0" /><label for="carousel0">No</label>
|
697 |
+
<div class="spider_description"></div>
|
698 |
+
</td>
|
699 |
+
</tr>
|
700 |
+
<tr>
|
701 |
+
<td class="spider_label"><label for="carousel_image_counts">Number of images for carousel: </label></td>
|
702 |
+
<td>
|
703 |
+
<input disabled="disabled" type="text" id="carousel_image_counts" name="carousel_image_counts" value="<?php echo $row->carousel_image_counts; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" />
|
704 |
+
<div class="spider_description"></div>
|
705 |
+
</td>
|
706 |
+
</tr>
|
707 |
+
<tr>
|
708 |
+
<td class="spider_label"><label for="carousel_image_parameters">Carousel image ratio: </label></td>
|
709 |
+
<td>
|
710 |
+
<input disabled="disabled" type="text" id="carousel_image_parameters" name="carousel_image_parameters" value="<?php echo $row->carousel_image_parameters; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" />
|
711 |
+
<div class="spider_description">The value must be between 0 and 1.</div>
|
712 |
+
</td>
|
713 |
+
</tr>
|
714 |
+
<tr>
|
715 |
+
<td class="spider_label"><label>Container fit: </label></td>
|
716 |
+
<td>
|
717 |
+
<input disabled="disabled" type="radio" id="carousel_fit_containerWidth1" name="carousel_fit_containerWidth" <?php echo (($row->carousel_fit_containerWidth) ? 'checked="checked"' : ''); ?> value="1" /><label for="carousel_fit_containerWidth1">Yes</label>
|
718 |
+
<input disabled="disabled" type="radio" id="carousel_fit_containerWidth0" name="carousel_fit_containerWidth" <?php echo (($row->carousel_fit_containerWidth) ? '' : 'checked="checked"'); ?> value="0" /><label for="carousel_fit_containerWidth0">No</label>
|
719 |
+
<div class="spider_description"></div>
|
720 |
+
</td>
|
721 |
+
</tr>
|
722 |
+
<tr>
|
723 |
+
<td class="spider_label"><label for="carousel_width">Fixed width: </label></td>
|
724 |
+
<td>
|
725 |
+
<input disabled="disabled" type="text" id="carousel_width" name="carousel_width" value="<?php echo $row->carousel_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
|
726 |
+
<div class="spider_description"></div>
|
727 |
+
</td>
|
728 |
+
</tr>
|
729 |
+
</tbody>
|
730 |
+
</table>
|
731 |
+
</div>
|
732 |
<div class="wds_nav_box wds_nav_navigation_box">
|
733 |
<table>
|
734 |
<tbody>
|
868 |
}
|
869 |
}
|
870 |
else {
|
871 |
+
?>
|
872 |
+
console.log('<?php echo $folder_name . " is not a directory."; ?>');
|
873 |
+
<?php
|
874 |
}
|
875 |
}
|
876 |
?>
|
1057 |
}
|
1058 |
}
|
1059 |
else {
|
1060 |
+
?>
|
1061 |
+
console.log('<?php echo $folder_name . " is not a directory."; ?>');
|
1062 |
+
<?php
|
1063 |
}
|
1064 |
}
|
1065 |
?>
|
1290 |
}
|
1291 |
}
|
1292 |
else {
|
1293 |
+
?>
|
1294 |
+
console.log('<?php echo $folder_name . " is not a directory."; ?>');
|
1295 |
+
<?php
|
1296 |
}
|
1297 |
}
|
1298 |
?>
|
1753 |
?>
|
1754 |
<input type="button" class="button-primary" onclick="wds_add_image_url('<?php echo $slide_row->id; ?>')" value="Add Image by URL" />
|
1755 |
<input type="button" class="button-secondary wds_free_button" onclick="alert('This functionality is disabled in free version.')" value="Add Video" />
|
1756 |
+
<input class="button-secondary wds_free_button" type="button" value="Add Post" onclick="alert('This functionality is disabled in free version.')" />
|
1757 |
<input type="button" class="button-secondary" id="delete_image_url<?php echo $slide_row->id; ?>" onclick="spider_remove_url('image_url<?php echo $slide_row->id; ?>', 'wds_preview_image<?php echo $slide_row->id; ?>')" value="Remove" />
|
1758 |
<input type="hidden" id="image_url<?php echo $slide_row->id; ?>" name="image_url<?php echo $slide_row->id; ?>" value="<?php echo $slide_row->image_url; ?>" />
|
1759 |
<input type="hidden" id="thumb_url<?php echo $slide_row->id; ?>" name="thumb_url<?php echo $slide_row->id; ?>" value="<?php echo $slide_row->thumb_url; ?>" />
|
css/wds_frontend.css
CHANGED
@@ -59,7 +59,7 @@ div[id^="wds_container"] .wds_pp_btn_cont {
|
|
59 |
position: relative;
|
60 |
text-align: center;
|
61 |
vertical-align: middle;
|
62 |
-
z-index:
|
63 |
}
|
64 |
|
65 |
div[id^="wds_container"] .wds_left_btn_cont {
|
59 |
position: relative;
|
60 |
text-align: center;
|
61 |
vertical-align: middle;
|
62 |
+
z-index: 150;
|
63 |
}
|
64 |
|
65 |
div[id^="wds_container"] .wds_left_btn_cont {
|
frontend/views/WDSViewSlider.php
CHANGED
@@ -462,7 +462,7 @@ class WDSViewSlider {
|
|
462 |
overflow: hidden;
|
463 |
position: absolute;
|
464 |
width: 100%;
|
465 |
-
<?php echo $bull_position; ?>:
|
466 |
/*z-index: 17;*/
|
467 |
}
|
468 |
#wds_container1_<?php echo $wds; ?> #wds_container2_<?php echo $wds; ?> .wds_slideshow_dots_thumbnails_<?php echo $wds; ?> {
|
@@ -524,7 +524,7 @@ class WDSViewSlider {
|
|
524 |
display: block;
|
525 |
position: absolute;
|
526 |
overflow: hidden;
|
527 |
-
<?php echo $slider_row->timer_bar_type; ?>:
|
528 |
z-index: 16;
|
529 |
width: 100%;
|
530 |
height: <?php echo $slider_row->timer_bar_size; ?>px;
|
@@ -1847,7 +1847,7 @@ class WDSViewSlider {
|
|
1847 |
iterator = Math.floor((wds_data_<?php echo $wds; ?>.length - 1) * Math.random() + 1);
|
1848 |
}
|
1849 |
wds_change_image_<?php echo $wds; ?>(parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()), (parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()) + iterator) % wds_data_<?php echo $wds; ?>.length, wds_data_<?php echo $wds; ?>)
|
1850 |
-
}, '<?php echo $slideshow_interval * 1000; ?>');
|
1851 |
}
|
1852 |
jQuery(window).focus(function() {
|
1853 |
if (!jQuery(".wds_ctrl_btn_<?php echo $wds; ?>").hasClass("fa-play")) {
|
462 |
overflow: hidden;
|
463 |
position: absolute;
|
464 |
width: 100%;
|
465 |
+
<?php echo $bull_position; ?>: 0;
|
466 |
/*z-index: 17;*/
|
467 |
}
|
468 |
#wds_container1_<?php echo $wds; ?> #wds_container2_<?php echo $wds; ?> .wds_slideshow_dots_thumbnails_<?php echo $wds; ?> {
|
524 |
display: block;
|
525 |
position: absolute;
|
526 |
overflow: hidden;
|
527 |
+
<?php echo $slider_row->timer_bar_type; ?>: 0;
|
528 |
z-index: 16;
|
529 |
width: 100%;
|
530 |
height: <?php echo $slider_row->timer_bar_size; ?>px;
|
1847 |
iterator = Math.floor((wds_data_<?php echo $wds; ?>.length - 1) * Math.random() + 1);
|
1848 |
}
|
1849 |
wds_change_image_<?php echo $wds; ?>(parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()), (parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()) + iterator) % wds_data_<?php echo $wds; ?>.length, wds_data_<?php echo $wds; ?>)
|
1850 |
+
}, parseInt('<?php echo ($slideshow_interval * 1000); ?>') + wds_duration_for_change_<?php echo $wds; ?>);
|
1851 |
}
|
1852 |
jQuery(window).focus(function() {
|
1853 |
if (!jQuery(".wds_ctrl_btn_<?php echo $wds; ?>").hasClass("fa-play")) {
|
js/wds.js
CHANGED
@@ -39,6 +39,11 @@ function spider_ajax_save(form_id, event) {
|
|
39 |
post_data["published"] = jQuery("input[name=published]:checked").val();
|
40 |
post_data["start_slide_num"] = jQuery("#start_slide_num").val();
|
41 |
post_data["effect_duration"] = jQuery("#effect_duration").val();
|
|
|
|
|
|
|
|
|
|
|
42 |
|
43 |
/* Navigation.*/
|
44 |
post_data["prev_next_butt"] = jQuery("input[name=prev_next_butt]:checked").val();
|
@@ -250,6 +255,7 @@ function wds_action_after_save(form_id) {
|
|
250 |
var post_data = {};
|
251 |
post_data["task"] = jQuery("#task").val();
|
252 |
post_data["current_id"] = jQuery("#current_id").val();
|
|
|
253 |
jQuery.post(
|
254 |
jQuery("#" + form_id).attr("action"),
|
255 |
post_data,
|
39 |
post_data["published"] = jQuery("input[name=published]:checked").val();
|
40 |
post_data["start_slide_num"] = jQuery("#start_slide_num").val();
|
41 |
post_data["effect_duration"] = jQuery("#effect_duration").val();
|
42 |
+
post_data["carousel"] = jQuery("input[name=carousel]:checked").val();
|
43 |
+
post_data["carousel_image_counts"] = jQuery("#carousel_image_counts").val();
|
44 |
+
post_data["carousel_image_parameters"] = jQuery("#carousel_image_parameters").val();
|
45 |
+
post_data["carousel_fit_containerWidth"] = jQuery("input[name=carousel_fit_containerWidth]:checked").val();
|
46 |
+
post_data["carousel_width"] = jQuery("#carousel_width").val();
|
47 |
|
48 |
/* Navigation.*/
|
49 |
post_data["prev_next_butt"] = jQuery("input[name=prev_next_butt]:checked").val();
|
255 |
var post_data = {};
|
256 |
post_data["task"] = jQuery("#task").val();
|
257 |
post_data["current_id"] = jQuery("#current_id").val();
|
258 |
+
post_data["nonce_wd"] = jQuery("#nonce_wd").val();
|
259 |
jQuery.post(
|
260 |
jQuery("#" + form_id).attr("action"),
|
261 |
post_data,
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://web-dorado.com/products/wordpress-slider-plugin.html
|
|
4 |
Tags: best slider plugin, carousel, carousel slider, coin slider, content slider, content slideshow, custom video slider, flex slider, free video slider, free video slideshow, Horizontal slider, Image Rotator, image slider, image slideshow, javascript slider, javascript slideshow, jquery slider, jquery slideshow, Photo Slider, posts slider, responsive slider, responsive slideshow, sidebar, slide, slide show, slider, slider plugin, slider widget, slides, slideshow,slideshow manager, slideshow plugin, vertical slider, video slider, video slideshow,vimeo slideshow, vimeo slider, widget slider, widget slideshow, wordpress slider, wordpress slideshow, wp slider, youtube slider, youtube slideshow, post slider, fullscreen Slider, css3 slider, responsive image slider, banner slider, social slider, cycle slider, text slider, revolution slider, thumbnail slider, touch slider, sliders, parallax slider, 3D slider, coinslider, featured-content-slider, image, images, picture, pictures, picture slider, responsive, shortcode, widget, vertical slides, autoplay, auto, jquery, rotate, flexslider, gallery, photo gallery, javascript, rotator, wordpress picture slider, wordpress responsive slider, animation, best slider, fullwidth slider, mobile slider, swipe, layer, layer slider, product slider
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.1
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -136,52 +136,56 @@ After downloading the ZIP file of the slider plugin,
|
|
136 |
|
137 |
== Changelog ==
|
138 |
|
|
|
|
|
|
|
|
|
139 |
= 1.0.10 =
|
140 |
-
Fixed: Slide change direction from 9 to 10.
|
141 |
-
Fixed: Layers with "Start with slide" option.
|
142 |
|
143 |
= 1.0.9 =
|
144 |
Update licensing page
|
145 |
|
146 |
= 1.0.8 =
|
147 |
-
New: Start with slide option.
|
148 |
-
New: Effect duration option.
|
149 |
|
150 |
= 1.0.7 =
|
151 |
-
New: Circle timer.
|
152 |
-
New: Slider duplication.
|
153 |
-
Fixed: Disable swipe on navigation off.
|
154 |
-
Fixed: Layer click on 3D animations.
|
155 |
|
156 |
= 1.0.6 =
|
157 |
-
custom play/pause buttons
|
158 |
-
slide duplication
|
159 |
|
160 |
= 1.0.5 =
|
161 |
-
Image for Next / Previous buttons (Default, Custom, Styled)
|
162 |
-
Image for bullets (Default, Custom, Styled)
|
163 |
|
164 |
= 1.0.4 =
|
165 |
-
stop on hover option
|
166 |
-
slide, text layer, image layer link open in a new window option
|
167 |
|
168 |
= 1.0.3 =
|
169 |
-
single quota in image name (bug fixed)
|
170 |
|
171 |
= 1.0.2 =
|
172 |
|
173 |
-
* Turn SliderWD Media Upload
|
174 |
-
* Ajax save
|
175 |
-
* Images Bulk Add
|
176 |
-
* Timer bar bug fixed
|
177 |
-
* change shortcode button
|
178 |
-
* fullwidth slider margin bug fixed
|
179 |
|
180 |
= 1.0.1 =
|
181 |
-
* User manual links added.
|
182 |
|
183 |
= 1.0.0 =
|
184 |
-
* Initial version.
|
185 |
|
186 |
==Wordpress Slider WD Step by step guide==
|
187 |
|
4 |
Tags: best slider plugin, carousel, carousel slider, coin slider, content slider, content slideshow, custom video slider, flex slider, free video slider, free video slideshow, Horizontal slider, Image Rotator, image slider, image slideshow, javascript slider, javascript slideshow, jquery slider, jquery slideshow, Photo Slider, posts slider, responsive slider, responsive slideshow, sidebar, slide, slide show, slider, slider plugin, slider widget, slides, slideshow,slideshow manager, slideshow plugin, vertical slider, video slider, video slideshow,vimeo slideshow, vimeo slider, widget slider, widget slideshow, wordpress slider, wordpress slideshow, wp slider, youtube slider, youtube slideshow, post slider, fullscreen Slider, css3 slider, responsive image slider, banner slider, social slider, cycle slider, text slider, revolution slider, thumbnail slider, touch slider, sliders, parallax slider, 3D slider, coinslider, featured-content-slider, image, images, picture, pictures, picture slider, responsive, shortcode, widget, vertical slides, autoplay, auto, jquery, rotate, flexslider, gallery, photo gallery, javascript, rotator, wordpress picture slider, wordpress responsive slider, animation, best slider, fullwidth slider, mobile slider, swipe, layer, layer slider, product slider
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 1.0.11
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
136 |
|
137 |
== Changelog ==
|
138 |
|
139 |
+
= 1.0.11 =
|
140 |
+
Fixed: Timer bar and bullets postion with horizontal filmstrip.
|
141 |
+
Fixed: Set watermark.
|
142 |
+
|
143 |
= 1.0.10 =
|
144 |
+
Fixed: Slide change direction from 9 to 10.
|
145 |
+
Fixed: Layers with "Start with slide" option.
|
146 |
|
147 |
= 1.0.9 =
|
148 |
Update licensing page
|
149 |
|
150 |
= 1.0.8 =
|
151 |
+
New: Start with slide option.
|
152 |
+
New: Effect duration option.
|
153 |
|
154 |
= 1.0.7 =
|
155 |
+
New: Circle timer.
|
156 |
+
New: Slider duplication.
|
157 |
+
Fixed: Disable swipe on navigation off.
|
158 |
+
Fixed: Layer click on 3D animations.
|
159 |
|
160 |
= 1.0.6 =
|
161 |
+
custom play/pause buttons
|
162 |
+
slide duplication
|
163 |
|
164 |
= 1.0.5 =
|
165 |
+
Image for Next / Previous buttons (Default, Custom, Styled)
|
166 |
+
Image for bullets (Default, Custom, Styled)
|
167 |
|
168 |
= 1.0.4 =
|
169 |
+
stop on hover option
|
170 |
+
slide, text layer, image layer link open in a new window option
|
171 |
|
172 |
= 1.0.3 =
|
173 |
+
single quota in image name (bug fixed)
|
174 |
|
175 |
= 1.0.2 =
|
176 |
|
177 |
+
* Turn SliderWD Media Upload
|
178 |
+
* Ajax save
|
179 |
+
* Images Bulk Add
|
180 |
+
* Timer bar bug fixed
|
181 |
+
* change shortcode button
|
182 |
+
* fullwidth slider margin bug fixed
|
183 |
|
184 |
= 1.0.1 =
|
185 |
+
* User manual links added.
|
186 |
|
187 |
= 1.0.0 =
|
188 |
+
* Initial version.
|
189 |
|
190 |
==Wordpress Slider WD Step by step guide==
|
191 |
|
slider-wd.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Slider WD
|
5 |
* Plugin URI: http://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.0.
|
8 |
* Author: WebDorado
|
9 |
* Author URI: http://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -304,8 +304,13 @@ function wds_activate() {
|
|
304 |
'play_butt_hov_url' => WD_S_URL . '/images/button/button4/1/2.png',
|
305 |
'paus_butt_hov_url' => WD_S_URL . '/images/button/button4/1/4.png',
|
306 |
'play_paus_butt_img_or_not' => 'style',
|
307 |
-
|
308 |
-
|
|
|
|
|
|
|
|
|
|
|
309 |
)
|
310 |
);
|
311 |
}
|
@@ -319,7 +324,7 @@ register_activation_hook(__FILE__, 'wds_activate');
|
|
319 |
|
320 |
function wds_install() {
|
321 |
$version = get_option("wds_version");
|
322 |
-
$new_version = '1.0.
|
323 |
if ($version && version_compare($version, $new_version, '<')) {
|
324 |
require_once WD_S_DIR . "/sliders-update.php";
|
325 |
wds_update($version);
|
4 |
* Plugin Name: Slider WD
|
5 |
* Plugin URI: http://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.0.11
|
8 |
* Author: WebDorado
|
9 |
* Author URI: http://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
304 |
'play_butt_hov_url' => WD_S_URL . '/images/button/button4/1/2.png',
|
305 |
'paus_butt_hov_url' => WD_S_URL . '/images/button/button4/1/4.png',
|
306 |
'play_paus_butt_img_or_not' => 'style',
|
307 |
+
'start_slide_num' => 1,
|
308 |
+
'effect_duration' => 800,
|
309 |
+
'carousel' => 0,
|
310 |
+
'carousel_image_counts' => 7,
|
311 |
+
'carousel_image_parameters' => '0.85',
|
312 |
+
'carousel_fit_containerWidth' => 0,
|
313 |
+
'carousel_width' => 1000,
|
314 |
)
|
315 |
);
|
316 |
}
|
324 |
|
325 |
function wds_install() {
|
326 |
$version = get_option("wds_version");
|
327 |
+
$new_version = '1.0.11';
|
328 |
if ($version && version_compare($version, $new_version, '<')) {
|
329 |
require_once WD_S_DIR . "/sliders-update.php";
|
330 |
wds_update($version);
|
sliders-insert.php
CHANGED
@@ -88,6 +88,11 @@ function wds_insert() {
|
|
88 |
`paus_butt_hov_url` varchar(255) NOT NULL,
|
89 |
`start_slide_num` int(4) NOT NULL,
|
90 |
`effect_duration` int(6) NOT NULL,
|
|
|
|
|
|
|
|
|
|
|
91 |
PRIMARY KEY (`id`)
|
92 |
) DEFAULT CHARSET=utf8;";
|
93 |
$wpdb->query($wdsslider);
|
88 |
`paus_butt_hov_url` varchar(255) NOT NULL,
|
89 |
`start_slide_num` int(4) NOT NULL,
|
90 |
`effect_duration` int(6) NOT NULL,
|
91 |
+
`carousel` tinyint(1) NOT NULL,
|
92 |
+
`carousel_image_counts` int(4) NOT NULL,
|
93 |
+
`carousel_image_parameters` varchar(8) NOT NULL,
|
94 |
+
`carousel_fit_containerWidth` tinyint(1) NOT NULL,
|
95 |
+
`carousel_width` int(4) NOT NULL,
|
96 |
PRIMARY KEY (`id`)
|
97 |
) DEFAULT CHARSET=utf8;";
|
98 |
$wpdb->query($wdsslider);
|
sliders-update.php
CHANGED
@@ -41,6 +41,14 @@ function wds_update($version) {
|
|
41 |
// Transition effect duration.
|
42 |
$wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `effect_duration` int(6) NOT NULL DEFAULT 800");
|
43 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
return;
|
45 |
}
|
46 |
|
41 |
// Transition effect duration.
|
42 |
$wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `effect_duration` int(6) NOT NULL DEFAULT 800");
|
43 |
}
|
44 |
+
if (version_compare($version, '1.0.11') == -1) {
|
45 |
+
// Carousel view options.
|
46 |
+
$wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `carousel` tinyint(1) NOT NULL DEFAULT 0");
|
47 |
+
$wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `carousel_image_counts` int(4) NOT NULL DEFAULT 7");
|
48 |
+
$wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `carousel_image_parameters` varchar(8) NOT NULL DEFAULT 0.85");
|
49 |
+
$wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `carousel_fit_containerWidth` tinyint(1) NOT NULL DEFAULT 0");
|
50 |
+
$wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `carousel_width` int(4) NOT NULL DEFAULT 1000");
|
51 |
+
}
|
52 |
return;
|
53 |
}
|
54 |
|