Slider by WD – Responsive Slider - Version 1.1.28

Version Description

  • Added: Slider loop option.
  • Changed: Featured plugins, themes page.
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Slider by WD – Responsive Slider
Version 1.1.28
Comparing to
See all releases

Code changes from version 1.1.27 to 1.1.28

admin/controllers/WDSControllerSliders_wds.php CHANGED
@@ -208,6 +208,7 @@ class WDSControllerSliders_wds {
208
  $bull_radius = ((isset($_POST['bull_radius'])) ? esc_html(stripslashes($_POST['bull_radius'])) : '20px');
209
  $possib_add_google_fonts = ((isset($_POST['possib_add_google_fonts'])) ? (int) esc_html(stripslashes($_POST['possib_add_google_fonts'])) : 0);
210
  $possib_add_ffamily_google = ((isset($_POST['possib_add_ffamily_google'])) ? esc_html(stripslashes($_POST['possib_add_ffamily_google'])) : '');
 
211
  $data = array(
212
  'name' => $name,
213
  'published' => $published,
@@ -319,6 +320,7 @@ class WDSControllerSliders_wds {
319
  'bull_radius' => $bull_radius,
320
  'possib_add_google_fonts' => $possib_add_google_fonts,
321
  'possib_add_ffamily_google' => $possib_add_ffamily_google,
 
322
  );
323
 
324
  if (!$slider_id) {
@@ -796,6 +798,7 @@ class WDSControllerSliders_wds {
796
  'possib_add_google_fonts' => $slider_row->possib_add_google_fonts,
797
  'possib_add_ffamily' => $slider_row->possib_add_ffamily,
798
  'possib_add_ffamily_google' => $slider_row->possib_add_ffamily_google,
 
799
  ));
800
  $new_slider_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslider');
801
 
208
  $bull_radius = ((isset($_POST['bull_radius'])) ? esc_html(stripslashes($_POST['bull_radius'])) : '20px');
209
  $possib_add_google_fonts = ((isset($_POST['possib_add_google_fonts'])) ? (int) esc_html(stripslashes($_POST['possib_add_google_fonts'])) : 0);
210
  $possib_add_ffamily_google = ((isset($_POST['possib_add_ffamily_google'])) ? esc_html(stripslashes($_POST['possib_add_ffamily_google'])) : '');
211
+ $slider_loop = ((isset($_POST['slider_loop'])) ? (int) esc_html(stripslashes($_POST['slider_loop'])) : 1);
212
  $data = array(
213
  'name' => $name,
214
  'published' => $published,
320
  'bull_radius' => $bull_radius,
321
  'possib_add_google_fonts' => $possib_add_google_fonts,
322
  'possib_add_ffamily_google' => $possib_add_ffamily_google,
323
+ 'slider_loop' => $slider_loop,
324
  );
325
 
326
  if (!$slider_id) {
798
  'possib_add_google_fonts' => $slider_row->possib_add_google_fonts,
799
  'possib_add_ffamily' => $slider_row->possib_add_ffamily,
800
  'possib_add_ffamily_google' => $slider_row->possib_add_ffamily_google,
801
+ 'slider_loop' => $slider_row->slider_loop,
802
  ));
803
  $new_slider_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslider');
804
 
admin/models/WDSModelSliders_wds.php CHANGED
@@ -219,6 +219,7 @@ class WDSModelSliders_wds {
219
  $row->bull_radius = '20px';
220
  $row->possib_add_google_fonts = 0;
221
  $row->possib_add_ffamily_google = '';
 
222
  }
223
  return $row;
224
  }
219
  $row->bull_radius = '20px';
220
  $row->possib_add_google_fonts = 0;
221
  $row->possib_add_ffamily_google = '';
222
+ $row->slider_loop = 1;
223
  }
224
  return $row;
225
  }
admin/views/WDSViewSliders_wds.php CHANGED
@@ -768,6 +768,14 @@ class WDSViewSliders_wds {
768
  <div class="spider_description">Choose whether to autoplay the sliders or not.</div>
769
  </td>
770
  </tr>
 
 
 
 
 
 
 
 
771
  <tr>
772
  <td class="spider_label"><label for="time_intervval">Time Interval: </label></td>
773
  <td>
768
  <div class="spider_description">Choose whether to autoplay the sliders or not.</div>
769
  </td>
770
  </tr>
771
+ <tr>
772
+ <td class="spider_label"><label>Enable loop: </label></td>
773
+ <td>
774
+ <input type="radio" id="slider_loop1" name="slider_loop" <?php echo (($row->slider_loop) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->slider_loop) ? 'class="selected_color"' : ''); ?> for="slider_loop1">Yes</label>
775
+ <input type="radio" id="slider_loop0" name="slider_loop" <?php echo (($row->slider_loop) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($row->slider_loop) ? '' : 'class="selected_color"'); ?> for="slider_loop0">No</label>
776
+ <div class="spider_description"></div>
777
+ </td>
778
+ </tr>
779
  <tr>
780
  <td class="spider_label"><label for="time_intervval">Time Interval: </label></td>
781
  <td>
admin/views/WDSViewUninstall_wds.php CHANGED
@@ -31,6 +31,13 @@ class WDSViewUninstall_wds {
31
  <div class="wrap">
32
  <span class="uninstall_icon"></span>
33
  <h2>Uninstall Slider WD</h2>
 
 
 
 
 
 
 
34
  <p>
35
  Deactivating Slider WD plugin does not remove any data that may have been created. To completely remove this plugin, you can uninstall it here.
36
  </p>
31
  <div class="wrap">
32
  <span class="uninstall_icon"></span>
33
  <h2>Uninstall Slider WD</h2>
34
+ <div class="goodbye-text">
35
+ <?php
36
+ $support_team = '<a href="https://web-dorado.com/support/contact-us.html?source=slider-wd" target="_blank">' . __('support team', 'wde') . '</a>';
37
+ $contact_us = '<a href="https://web-dorado.com/support/contact-us.html?source=slider-wd" target="_blank">' . __('Contact us', 'wde') . '</a>';
38
+ echo sprintf(__("Before uninstalling the plugin, please Contact our %s. We'll do our best to help you out with your issue. We value each and every user and value what's right for our users in everything we do.<br />
39
+ However, if anyway you have made a decision to uninstall the plugin, please take a minute to %s and tell what you didn't like for our plugins further improvement and development. Thank you !!!", "wde"), $support_team, $contact_us); ?>
40
+ </div>
41
  <p>
42
  Deactivating Slider WD plugin does not remove any data that may have been created. To completely remove this plugin, you can uninstall it here.
43
  </p>
css/wds_tables.css CHANGED
@@ -1683,6 +1683,18 @@ tbody .action_buttons{
1683
  }
1684
  }
1685
 
 
 
 
 
 
 
 
 
 
 
 
 
1686
  .wds_free_button {
1687
  background-color: #6EC9E6!important;
1688
  border-color:#5BA6B9 !important;
1683
  }
1684
  }
1685
 
1686
+ .goodbye-text {
1687
+ font-size: 16px;
1688
+ font-weight: bold;
1689
+ background: #fff;
1690
+ padding: 15px;
1691
+ line-height: 22px;
1692
+ }
1693
+
1694
+ .goodbye-text a {
1695
+ font-size: 15px;
1696
+ }
1697
+
1698
  .wds_free_button {
1699
  background-color: #6EC9E6!important;
1700
  border-color:#5BA6B9 !important;
featured/featured.php CHANGED
@@ -95,7 +95,7 @@ function spider_featured($current_plugin = '') {
95
  'title' => 'Folder Menu',
96
  'text' => 'WordPress folder menu plugin',
97
  'content' => 'Folder Menu Vertical is a WordPress Flash menu module for your website, designed to meet your needs and preferences.',
98
- 'href' => 'https://web-dorado.com/products/wordpress-random-post.html'
99
  ),
100
  "random_post" => array(
101
  'title' => 'Random post',
@@ -115,14 +115,23 @@ function spider_featured($current_plugin = '') {
115
  'content' => 'WD Instagram Feed is a user-friendly tool for displaying user or hashtag-based feeds on your website.',
116
  'href' => 'https://web-dorado.com/products/wordpress-instagram-feed-wd.html'
117
  ),
 
 
 
 
 
 
118
  );
119
  ?>
120
  <div id="main_featured_plugins_page">
121
  <h3>Featured Plugins</h3>
122
  <div class="featured_header">
123
- <a href="https://web-dorado.com/wordpress-plugins.html?source=<?php echo $current_plugin; ?>" target="_blank">
124
  <h1>GET <?php echo $plugins[$current_plugin]["title"]; ?> +18 PLUGINS</h1>
125
  <h1 class="get_plugins">FOR $100 ONLY <span>- SAVE 70%</span></h1>
 
 
 
126
  </a>
127
  </div>
128
  <ul id="featured-plugins-list">
@@ -138,7 +147,7 @@ function spider_featured($current_plugin = '') {
138
  <div class="description">
139
  <p><?php echo $plugins['content']; ?></p>
140
  </div>
141
- <a target="_blank" href="<?php echo $plugins['href']; ?>" class="download">Download Plugin &#9658;</a>
142
  </li>
143
  <?php
144
  }
95
  'title' => 'Folder Menu',
96
  'text' => 'WordPress folder menu plugin',
97
  'content' => 'Folder Menu Vertical is a WordPress Flash menu module for your website, designed to meet your needs and preferences.',
98
+ 'href' => 'https://web-dorado.com/products/wordpress-menu-vertical.html'
99
  ),
100
  "random_post" => array(
101
  'title' => 'Random post',
115
  'content' => 'WD Instagram Feed is a user-friendly tool for displaying user or hashtag-based feeds on your website.',
116
  'href' => 'https://web-dorado.com/products/wordpress-instagram-feed-wd.html'
117
  ),
118
+ "post-slider" => array(
119
+ 'title' => 'Post Slider',
120
+ 'text' => 'WordPress Post Slider plugin',
121
+ 'content' => 'Post Slider WD is designed to show off the selected posts of your website in a slider.',
122
+ 'href' => 'https://web-dorado.com/products/wordpress-post-slider-plugin.html'
123
+ ),
124
  );
125
  ?>
126
  <div id="main_featured_plugins_page">
127
  <h3>Featured Plugins</h3>
128
  <div class="featured_header">
129
+ <a target="_blank" href="https://web-dorado.com/wordpress-plugins.html?source=<?php echo $current_plugin; ?>">
130
  <h1>GET <?php echo $plugins[$current_plugin]["title"]; ?> +18 PLUGINS</h1>
131
  <h1 class="get_plugins">FOR $100 ONLY <span>- SAVE 70%</span></h1>
132
+ <div class="try-now">
133
+ <span>TRY NOW</span>
134
+ </div>
135
  </a>
136
  </div>
137
  <ul id="featured-plugins-list">
147
  <div class="description">
148
  <p><?php echo $plugins['content']; ?></p>
149
  </div>
150
+ <a target="_blank" href="<?php echo $plugins['href']; ?>?source=<?php echo $current_plugin; ?>" class="download">Download Plugin &#9658;</a>
151
  </li>
152
  <?php
153
  }
featured/featured_themes.php CHANGED
@@ -1,137 +1,92 @@
1
  <?php
2
- function spider_featured_themes() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ?>
4
- <div id="main_featured_themes_page">
5
- <table align="center" width="90%" style="margin-top: 0px;border-bottom: rgb(111, 111, 111) solid 1px;">
6
- <tr>
7
- <td colspan="2" style="height: 40px; padding: 30px 0px 0px 0px;">
8
- <h3 style="margin: 0px;font-family:Segoe UI;padding-bottom: 15px;color: rgb(111, 111, 111); font-size:18pt;">Featured Themes</h3>
9
- </td>
10
- <td align="right" style="font-size:16px;"></td>
11
- </tr>
12
- </table>
13
- <div class="featured_header">
14
- <div>
15
- <a href="https://web-dorado.com/wordpress-themes.html?source=slider_wd" target="_blank">
16
- <h1>WORDPRESS THEMES</h1>
17
- <h1 class="get_plugins">ALL FOR $40 ONLY <span>- SAVE 80%</span></h1>
18
- </a>
19
- </div>
20
- <form method="post">
21
- <ul id="featured-plugins-list">
22
- <li class="portfolio">
23
  <div class="product"></div>
24
  <div class="title">
25
- <strong class="heading">Portfolio Gallery Theme</strong>
26
  </div>
27
  <div class="description">
28
- <p>Portfolio Gallery helps to display images using various color schemes and layouts combined with elegant fonts and content parts.</p>
29
  </div>
30
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/portfolio-gallery.html" class="download">Download theme &#9658;</a>
31
  </li>
32
- <li class="business_elite">
33
- <div class="product"></div>
34
- <div class="title">
35
- <strong class="heading">Business Elite Theme</strong>
36
- </div>
37
- <div class="description">
38
- <p>Business Elite is a robust parallax theme for business websites. The theme uses smooth transitions and many functional sections.</p>
39
- </div>
40
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/business-elite.html" class="download">Download theme &#9658;</a>
41
- </li>
42
- <li class="sauron">
43
- <div class="product"></div>
44
- <div class="title">
45
- <strong class="heading">Sauron Theme</strong>
46
- </div>
47
- <div class="description">
48
- <p>Sauron is a multipurpose parallax theme, which uses multiple interactive sections designed for the client-engagement.</p>
49
- </div>
50
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/sauron.html" class="download">Download plugin &#9658;</a>
51
- </li>
52
- <li class="mottomag">
53
- <div class="product"></div>
54
- <div class="title">
55
- <strong class="heading">MottoMag Theme</strong>
56
- </div>
57
- <div class="description">
58
- <p>MottoMag is a vibrant, responsive theme which is a perfect choice for the combination of textual content with videos and images.</p>
59
- </div>
60
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/mottomag.html" class="download">Download plugin &#9658;</a>
61
- </li>
62
- <li class="business_world">
63
- <div class="product"></div>
64
- <div class="title">
65
- <strong class="heading">Business World Theme</strong>
66
- </div>
67
- <div class="description">
68
- <p>Business World is an innovative WordPress theme great for Business websites.</p>
69
- </div>
70
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/business-world.html" class="download">Download plugin &#9658;</a>
71
- </li>
72
- <li class="best_magazine">
73
- <div class="product"></div>
74
- <div class="title">
75
- <strong class="heading">Best Magazine Theme</strong>
76
- </div>
77
- <div class="description">
78
- <p>Best Magazine is an ultimate selection when you are dealing with multi-category news websites.</p>
79
- </div>
80
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/best-magazine.html" class="download">Download plugin &#9658;</a>
81
- </li>
82
- <li class="wedding_style">
83
- <div class="product"></div>
84
- <div class="title">
85
- <strong class="heading">Wedding Style Theme</strong>
86
- </div>
87
- <div class="description">
88
- <p>Wedding style is a responsive theme designed for the organization and maintenance of wedding websites and blogs.</p>
89
- </div>
90
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/wedding-style.html" class="download">Download plugin &#9658;</a>
91
- </li>
92
- <li class="magazine">
93
- <div class="product"></div>
94
- <div class="title">
95
- <strong class="heading">Magazine Theme</strong>
96
- </div>
97
- <div class="description">
98
- <p>Magazine theme is a perfect solution when creating news and informational websites. It comes with a wide range of layout options.</p>
99
- </div>
100
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/news-magazine.html" class="download">Download plugin &#9658;</a>
101
- </li>
102
- <li class="weddings">
103
- <div class="product"></div>
104
- <div class="title">
105
- <strong class="heading">Weddings Theme</strong>
106
- </div>
107
- <div class="description">
108
- <p>Weddings is an elegant, responsive WordPress theme designed for wedding websites. The theme includes multiple pages, homepage slider and gallery support.</p>
109
- </div>
110
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/wedding.html" class="download">Download plugin &#9658;</a>
111
- </li>
112
- <li class="exclusive">
113
- <div class="product"></div>
114
- <div class="title">
115
- <strong class="heading">Exclusive Theme</strong>
116
- </div>
117
- <div class="description">
118
- <p>Exclusive is a unique theme designed to best fit business style websites. It comes with a large list of customizable features.</p>
119
- </div>
120
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/exclusive.html" class="download">Download plugin &#9658;</a>
121
- </li>
122
- <li class="expert">
123
- <div class="product"></div>
124
- <div class="title">
125
- <strong class="heading">Expert Theme</strong>
126
- </div>
127
- <div class="description">
128
- <p>WordPress Expert is a modern, user-friendly and stylish theme. It has a list of customizable layout, style, colors and fonts.</p>
129
- </div>
130
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/business-responsive.html" class="download">Download plugin &#9658;</a>
131
- </li>
132
- </ul>
133
- </form>
134
- </div>
135
- </div>
136
  <?php
137
  }
1
  <?php
2
+ function spider_featured_themes($current_plugin = '') {
3
+ $themes = array(
4
+ "portfolio_gallery" => array(
5
+ 'title' => 'Portfolio Gallery Theme',
6
+ 'content' => 'Portfolio Gallery helps to display images using various color schemes and layouts combined with elegant fonts and content parts.',
7
+ 'href' => 'https://web-dorado.com/wordpress-themes/portfolio-gallery.html'
8
+ ),
9
+ "business_elite" => array(
10
+ 'title' => 'Business Elite Theme',
11
+ 'content' => 'Business Elite is a robust parallax theme for business websites. The theme uses smooth transitions and many functional sections.',
12
+ 'href' => 'https://web-dorado.com/wordpress-themes/business-elite.html'
13
+ ),
14
+ "sauron" => array(
15
+ 'title' => 'Sauron Theme',
16
+ 'content' => 'Sauron is a multipurpose parallax theme, which uses multiple interactive sections designed for the client-engagement.',
17
+ 'href' => 'https://web-dorado.com/wordpress-themes/sauron.html'
18
+ ),
19
+ "mottomag" => array(
20
+ 'title' => 'MottoMag Theme',
21
+ 'content' => 'MottoMag is a vibrant, responsive theme which is a perfect choice for the combination of textual content with videos and images.',
22
+ 'href' => 'https://web-dorado.com/wordpress-themes/mottomag.html'
23
+ ),
24
+ "business_world" => array(
25
+ 'title' => 'Business World Theme',
26
+ 'content' => 'Business World is an innovative WordPress theme great for Business websites.',
27
+ 'href' => 'https://web-dorado.com/wordpress-themes/business-world.html'
28
+ ),
29
+ "best_magazine" => array(
30
+ 'title' => 'Best Magazine Theme',
31
+ 'content' => 'Best Magazine is an ultimate selection when you are dealing with multi-category news websites.',
32
+ 'href' => 'https://web-dorado.com/wordpress-themes/best-magazine.html'
33
+ ),
34
+ "wedding_style" => array(
35
+ 'title' => 'Wedding Style Theme',
36
+ 'content' => 'Wedding style is a responsive theme designed for the organization and maintenance of wedding websites and blogs.',
37
+ 'href' => 'https://web-dorado.com/wordpress-themes/wedding-style.html'
38
+ ),
39
+ "magazine" => array(
40
+ 'title' => 'Magazine Theme',
41
+ 'content' => 'Magazine theme is a perfect solution when creating news and informational websites. It comes with a wide range of layout options.',
42
+ 'href' => 'https://web-dorado.com/wordpress-themes/news-magazine.html'
43
+ ),
44
+ "weddings" => array(
45
+ 'title' => 'Weddings Theme',
46
+ 'content' => 'Weddings is an elegant, responsive WordPress theme designed for wedding websites. The theme includes multiple pages, homepage slider and gallery support.',
47
+ 'href' => 'https://web-dorado.com/wordpress-themes/wedding.html'
48
+ ),
49
+ "exclusive" => array(
50
+ 'title' => 'Exclusive Theme',
51
+ 'content' => 'Exclusive is a unique theme designed to best fit business style websites. It comes with a large list of customizable features.',
52
+ 'href' => 'https://web-dorado.com/wordpress-themes/exclusive.html'
53
+ ),
54
+ "expert" => array(
55
+ 'title' => 'Expert Theme',
56
+ 'content' => 'WordPress Expert is a modern, user-friendly and stylish theme. It has a list of customizable layout, style, colors and fonts.',
57
+ 'href' => 'https://web-dorado.com/wordpress-themes/business-responsive.html'
58
+ ),
59
+ );
60
  ?>
61
+ <div id="main_featured_themes_page">
62
+ <h3>Featured Themes</h3>
63
+ <div class="featured_header">
64
+ <a href="https://web-dorado.com/wordpress-themes.html?source=<?php echo $current_plugin; ?>" target="_blank">
65
+ <h1>WORDPRESS THEMES</h1>
66
+ <h1 class="get_plugins">FOR $40 ONLY <span>- SAVE 80%</span></h1>
67
+ <div class="try-now">
68
+ <span>TRY NOW</span>
69
+ </div>
70
+ </a>
71
+ </div>
72
+ <ul id="featured-plugins-list">
73
+ <?php
74
+ foreach ($themes as $key => $themes) {
75
+ ?>
76
+ <li class="<?php echo $key; ?>">
 
 
 
77
  <div class="product"></div>
78
  <div class="title">
79
+ <strong class="heading"><?php echo $themes['title']; ?></strong>
80
  </div>
81
  <div class="description">
82
+ <p><?php echo $themes['content']; ?></p>
83
  </div>
84
+ <a target="_blank" href="<?php echo $themes['href']; ?>?source=<?php echo $current_plugin; ?>" class="download">Download theme &#9658;</a>
85
  </li>
86
+ <?php
87
+ }
88
+ ?>
89
+ </ul>
90
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  <?php
92
  }
featured/images/featured_plugins_bg.png DELETED
Binary file
featured/style.css CHANGED
@@ -72,6 +72,7 @@
72
  #main_featured_plugins_page #featured-plugins-list li.events-wd .product {background:url("images/events-wd.png") center center no-repeat;}
73
  #main_featured_plugins_page #featured-plugins-list li.faq_wd .product {background:url("images/faq_wd.png") center center no-repeat;}
74
  #main_featured_plugins_page #featured-plugins-list li.instagram_feed .product {background:url("images/instagram_feed.png") center center no-repeat;}
 
75
 
76
  #main_featured_plugins_page #featured-plugins-list li .title .heading {
77
  display: block;
@@ -125,8 +126,8 @@
125
  color: #F47629;
126
  }
127
 
128
- .featured_header{
129
- background: #FFFFFF;
130
  border-right: 3px solid #E5E5E5;
131
  border-bottom: 3px solid #E5E5E5;
132
  position: relative;
@@ -141,18 +142,30 @@
141
 
142
  .featured_header h1.get_plugins {
143
  color: #FFFFFF;
144
- background:url("images/featured_plugins_bg.png") no-repeat;
145
  height: 85px;
146
  margin: 0;
147
  background-size: 85% 100%;
148
  background-position: center;
149
  line-height: 60px;
150
  }
151
-
 
 
 
 
 
 
 
 
 
 
 
 
 
152
  .featured_header h1 {
153
  font-size: 50px;
154
  text-align: center;
155
- color: #F47629;
156
  letter-spacing: 3px;
157
  text-transform: uppercase;
158
  }
72
  #main_featured_plugins_page #featured-plugins-list li.events-wd .product {background:url("images/events-wd.png") center center no-repeat;}
73
  #main_featured_plugins_page #featured-plugins-list li.faq_wd .product {background:url("images/faq_wd.png") center center no-repeat;}
74
  #main_featured_plugins_page #featured-plugins-list li.instagram_feed .product {background:url("images/instagram_feed.png") center center no-repeat;}
75
+ #main_featured_plugins_page #featured-plugins-list li.post-slider .product {background:url("images/post-slider.png") center center no-repeat;}
76
 
77
  #main_featured_plugins_page #featured-plugins-list li .title .heading {
78
  display: block;
126
  color: #F47629;
127
  }
128
 
129
+ .featured_header {
130
+ background: #11465F;
131
  border-right: 3px solid #E5E5E5;
132
  border-bottom: 3px solid #E5E5E5;
133
  position: relative;
142
 
143
  .featured_header h1.get_plugins {
144
  color: #FFFFFF;
 
145
  height: 85px;
146
  margin: 0;
147
  background-size: 85% 100%;
148
  background-position: center;
149
  line-height: 60px;
150
  }
151
+
152
+ .featured_header .try-now {
153
+ text-align: center;
154
+ }
155
+
156
+ .featured_header .try-now span {
157
+ display: inline-block;
158
+ padding: 7px 16px;
159
+ background: #F47629;
160
+ border-radius: 10px;
161
+ color: #ffffff;
162
+ font-size: 23px;
163
+ }
164
+
165
  .featured_header h1 {
166
  font-size: 50px;
167
  text-align: center;
168
+ color: #FFFFFF;
169
  letter-spacing: 3px;
170
  text-transform: uppercase;
171
  }
featured/themes_style.css CHANGED
@@ -35,11 +35,21 @@
35
  }
36
 
37
  #main_featured_themes_page {
38
- font-family: Oswald;
 
 
 
 
 
 
 
 
 
 
39
  }
40
 
41
  #main_featured_themes_page #featured-plugins-list li.sauron .product {background:url("images/sauron.jpg") left center no-repeat;}
42
- #main_featured_themes_page #featured-plugins-list li.portfolio .product {background:url("images/portfolio.png") left center no-repeat;}
43
  #main_featured_themes_page #featured-plugins-list li.business_elite .product {background:url("images/business_elite.jpg") left center no-repeat;}
44
  #main_featured_themes_page #featured-plugins-list li.mottomag .product {background:url("images/mottomag.jpg") left center no-repeat; }
45
  #main_featured_themes_page #featured-plugins-list li.business_world .product {background:url("images/business_world.jpg") left center no-repeat;}
@@ -102,17 +112,12 @@
102
  color: #F47629;
103
  }
104
 
105
- .featured_header > div {
106
- background: #FFFFFF;
107
  border-right: 3px solid #E5E5E5;
108
  border-bottom: 3px solid #E5E5E5;
109
- padding: 20px 0;
110
- }
111
-
112
- .featured_header {
113
  position: relative;
114
- width: 90%;
115
- margin: 15px auto 0px auto;
116
  }
117
 
118
  .featured_header .old_price {
@@ -122,27 +127,44 @@
122
  }
123
 
124
  .featured_header h1.get_plugins {
125
- color: #FFFFFF;
126
- background: url("images/featured_plugins_bg.png") no-repeat;
127
- height: 85px;
128
  margin: 0;
129
- background-size: 95% 100%;
130
  background-position: center;
131
  line-height: 60px;
132
  }
133
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  .featured_header h1 {
135
- font-size: 45px;
136
- text-align: center;
137
- color: #F47629;
138
  letter-spacing: 3px;
139
- line-height: 10px;
140
  }
141
 
142
  .featured_header a {
143
  text-decoration: none;
144
  }
145
 
 
 
 
 
 
146
  @media screen and (max-width: 1035px) {
147
  .featured_header h1 {
148
  font-size: 37px;
35
  }
36
 
37
  #main_featured_themes_page {
38
+ width: 90%;
39
+ margin: 15px auto 0px auto;
40
+ }
41
+
42
+ #main_featured_themes_page h3 {
43
+ border-bottom: 2px solid #CECECE;
44
+ color: rgb(111, 111, 111);
45
+ font-family: Segoe UI;
46
+ font-size: 18pt;
47
+ margin: 0px auto 15px auto;
48
+ padding: 20px 0;
49
  }
50
 
51
  #main_featured_themes_page #featured-plugins-list li.sauron .product {background:url("images/sauron.jpg") left center no-repeat;}
52
+ #main_featured_themes_page #featured-plugins-list li.portfolio_gallery .product {background:url("images/portfolio.png") left center no-repeat;}
53
  #main_featured_themes_page #featured-plugins-list li.business_elite .product {background:url("images/business_elite.jpg") left center no-repeat;}
54
  #main_featured_themes_page #featured-plugins-list li.mottomag .product {background:url("images/mottomag.jpg") left center no-repeat; }
55
  #main_featured_themes_page #featured-plugins-list li.business_world .product {background:url("images/business_world.jpg") left center no-repeat;}
112
  color: #F47629;
113
  }
114
 
115
+ .featured_header {
116
+ background: #11465F;
117
  border-right: 3px solid #E5E5E5;
118
  border-bottom: 3px solid #E5E5E5;
 
 
 
 
119
  position: relative;
120
+ padding: 20px 0;
 
121
  }
122
 
123
  .featured_header .old_price {
127
  }
128
 
129
  .featured_header h1.get_plugins {
130
+ color: #FFFFFF;
131
+ height: 85px;
 
132
  margin: 0;
133
+ background-size: 85% 100%;
134
  background-position: center;
135
  line-height: 60px;
136
  }
137
 
138
+ .featured_header .try-now{
139
+ text-align: center;
140
+ }
141
+
142
+ .featured_header .try-now span {
143
+ display: inline-block;
144
+ padding: 7px 16px;
145
+ background: #F47629;
146
+ border-radius: 10px;
147
+ color: #ffffff;
148
+ font-size: 23px;
149
+ }
150
+
151
  .featured_header h1 {
152
+ font-size: 50px;
153
+ text-align: center;
154
+ color: #FFFFFF;
155
  letter-spacing: 3px;
156
+ text-transform: uppercase;
157
  }
158
 
159
  .featured_header a {
160
  text-decoration: none;
161
  }
162
 
163
+ .featured_header .old-price {
164
+ color: #889CA8;
165
+ text-decoration: line-through;
166
+ }
167
+
168
  @media screen and (max-width: 1035px) {
169
  .featured_header h1 {
170
  font-size: 37px;
frontend/views/WDSViewSlider.php CHANGED
@@ -140,6 +140,7 @@ class WDSViewSlider {
140
  $fixed_bg = isset($slider_row->fixed_bg) ? $slider_row->fixed_bg : 0;
141
  $smart_crop = isset($slider_row->smart_crop) ? $slider_row->smart_crop : 0;
142
  $crop_image_position = isset($slider_row->crop_image_position) ? $slider_row->crop_image_position : 'center center';
 
143
 
144
  $current_image_url = '';
145
  ?>
@@ -2072,6 +2073,12 @@ class WDSViewSlider {
2072
  window.clearInterval(wds_playInterval_<?php echo $wds; ?>);
2073
  /* Play.*/
2074
  wds_playInterval_<?php echo $wds; ?> = setInterval(function () {
 
 
 
 
 
 
2075
  var iterator = 1;
2076
  if (<?php echo $enable_slideshow_shuffle; ?>) {
2077
  iterator = Math.floor((wds_data_<?php echo $wds; ?>.length - 1) * Math.random() + 1);
140
  $fixed_bg = isset($slider_row->fixed_bg) ? $slider_row->fixed_bg : 0;
141
  $smart_crop = isset($slider_row->smart_crop) ? $slider_row->smart_crop : 0;
142
  $crop_image_position = isset($slider_row->crop_image_position) ? $slider_row->crop_image_position : 'center center';
143
+ $slider_loop = isset($slider_row->slider_loop) ? $slider_row->slider_loop : 1;
144
 
145
  $current_image_url = '';
146
  ?>
2073
  window.clearInterval(wds_playInterval_<?php echo $wds; ?>);
2074
  /* Play.*/
2075
  wds_playInterval_<?php echo $wds; ?> = setInterval(function () {
2076
+ var curr_img_index = parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val());
2077
+ if ('<?php echo $slider_loop; ?>' == 0) {
2078
+ if (curr_img_index == <?php echo $slides_count - 1; ?>) {
2079
+ return false;
2080
+ }
2081
+ }
2082
  var iterator = 1;
2083
  if (<?php echo $enable_slideshow_shuffle; ?>) {
2084
  iterator = Math.floor((wds_data_<?php echo $wds; ?>.length - 1) * Math.random() + 1);
js/wds.js CHANGED
@@ -48,6 +48,7 @@ function spider_ajax_save(form_id, event) {
48
  post_data["carousel_degree"] = jQuery("#carousel_degree").val();
49
  post_data["carousel_grayscale"] = jQuery("#carousel_grayscale").val();
50
  post_data["carousel_transparency"] = jQuery("#carousel_transparency").val();
 
51
 
52
  /* Navigation.*/
53
  post_data["prev_next_butt"] = jQuery("input[name=prev_next_butt]:checked").val();
48
  post_data["carousel_degree"] = jQuery("#carousel_degree").val();
49
  post_data["carousel_grayscale"] = jQuery("#carousel_grayscale").val();
50
  post_data["carousel_transparency"] = jQuery("#carousel_transparency").val();
51
+ post_data["slider_loop"] = jQuery("input[name=slider_loop]:checked").val();
52
 
53
  /* Navigation.*/
54
  post_data["prev_next_butt"] = jQuery("input[name=prev_next_butt]:checked").val();
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.4
7
- Stable tag: 1.1.27
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -160,6 +160,11 @@ After downloading the ZIP file of the slider plugin,
160
 
161
  == Changelog ==
162
 
 
 
 
 
 
163
  = 1.1.27 =
164
  * Added: Possibility to add font family to google fonts.
165
 
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.4
7
+ Stable tag: 1.1.28
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
160
 
161
  == Changelog ==
162
 
163
+
164
+ = 1.1.28 =
165
+ * Added: Slider loop option.
166
+ * Changed: Featured plugins, themes page.
167
+
168
  = 1.1.27 =
169
  * Added: Possibility to add font family to 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.27
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -419,8 +419,9 @@ function wds_activate() {
419
  'bull_back_act_color' => '000000',
420
  'bull_back_color' => 'CCCCCC',
421
  'bull_radius' => '20px',
422
- 'possib_add_google_fonts' => 0,
423
- 'possib_add_ffamily_google' => '',
 
424
  )
425
  );
426
  }
@@ -434,7 +435,7 @@ register_activation_hook(__FILE__, 'wds_activate');
434
 
435
  function wds_install() {
436
  $version = get_option("wds_version");
437
- $new_version = '1.1.27';
438
  if ($version && version_compare($version, $new_version, '<')) {
439
  require_once WD_S_DIR . "/sliders-update.php";
440
  wds_update($version);
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.28
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
419
  'bull_back_act_color' => '000000',
420
  'bull_back_color' => 'CCCCCC',
421
  'bull_radius' => '20px',
422
+ 'possib_add_google_fonts' => 0,
423
+ 'possib_add_ffamily_google' => '',
424
+ 'slider_loop' => 1,
425
  )
426
  );
427
  }
435
 
436
  function wds_install() {
437
  $version = get_option("wds_version");
438
+ $new_version = '1.1.28';
439
  if ($version && version_compare($version, $new_version, '<')) {
440
  require_once WD_S_DIR . "/sliders-update.php";
441
  wds_update($version);
sliders-insert.php CHANGED
@@ -114,6 +114,7 @@ function wds_insert() {
114
  `bull_radius` varchar(32) NOT NULL,
115
  `possib_add_google_fonts` tinyint(1) NOT NULL,
116
  `possib_add_ffamily_google` varchar(255) NOT NULL,
 
117
  PRIMARY KEY (`id`)
118
  ) DEFAULT CHARSET=utf8;";
119
  $wpdb->query($wdsslider);
114
  `bull_radius` varchar(32) NOT NULL,
115
  `possib_add_google_fonts` tinyint(1) NOT NULL,
116
  `possib_add_ffamily_google` varchar(255) NOT NULL,
117
+ `slider_loop` tinyint(1) NOT NULL,
118
  PRIMARY KEY (`id`)
119
  ) DEFAULT CHARSET=utf8;";
120
  $wpdb->query($wdsslider);
sliders-update.php CHANGED
@@ -128,6 +128,9 @@ function wds_update($version) {
128
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdsslider` ADD `possib_add_google_fonts` tinyint(1) NOT NULL DEFAULT 0");
129
  $wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `possib_add_ffamily_google` varchar(255) NOT NULL DEFAULT ''");
130
  }
 
 
 
131
  return;
132
  }
133
 
128
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdsslider` ADD `possib_add_google_fonts` tinyint(1) NOT NULL DEFAULT 0");
129
  $wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `possib_add_ffamily_google` varchar(255) NOT NULL DEFAULT ''");
130
  }
131
+ if (version_compare($version, '1.1.28') == -1) {
132
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `slider_loop` tinyint(1) NOT NULL DEFAULT 1");
133
+ }
134
  return;
135
  }
136