Advanced post slider - Version 2.2.0

Version Description

  • Database query optimization.
  • Pager z-index issue resolved.
  • More unique id for container.

=

Download this release

Release Info

Developer digontoahsan
Plugin Icon wp plugin Advanced post slider
Version 2.2.0
Comparing to
See all releases

Code changes from version 2.1.4 to 2.2.0

advanced-post-slider.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
3
  Plugin Name: Advanced post slider
4
  Plugin URI: www.wpcue.com
5
- Description: Responsive slideshow plugin powered with three built-in templates, lots of easy customizable options and many more to explore.
6
- Version: 2.1.4
7
  Author: digontoahsan
8
  Author URI: www.wpcue.com
9
  License: GPL2
@@ -62,12 +62,18 @@
62
  /* ---------------------------------------------------------------------------------------*/
63
 
64
  register_activation_hook(WP_PLUGIN_DIR.'/advanced-post-slider/advanced-post-slider.php','set_advps_options');
65
- register_deactivation_hook(WP_PLUGIN_DIR.'/advanced-post-slider/advanced-post-slider.php','unset_advps_options');
66
 
67
- add_action( 'plugins_loaded', 'set_advps_options' );
68
 
69
  function unset_advps_options(){
70
  }
 
 
 
 
 
 
 
71
  /* ---------------------------------------------------------------------------------------*/
72
  function advps_image_sizes(){
73
  if ( function_exists( 'add_image_size' ) ) {
@@ -238,7 +244,7 @@
238
  $current = $post->ID;
239
 
240
  if(is_array($atts) && array_key_exists('optset',$atts)){
241
- $q1 = "select * from ".$wpdb->prefix."advps_optionset where id = ".$atts['optset'];
242
  $res1 = $wpdb->get_results($q1);
243
  if($res1){
244
  $plist = unserialize($res1[0]->plist);
@@ -319,8 +325,9 @@
319
 
320
  ob_start();
321
  ?>
 
322
  <style>
323
- #container<?php echo $sldshowID;?> .bx-wrapper .bx-viewport {
324
  <?php if($container['advps_remove_shd'] == 'no'):?>
325
  -moz-box-shadow: <?php echo $container['advps_bxshad1'].'px '.$container['advps_bxshad2'].'px '.$container['advps_bxshad3'].'px '.$container['advps_bxshadcolor'];?>;
326
  -webkit-box-shadow: <?php echo $container['advps_bxshad1'].'px '.$container['advps_bxshad2'].'px '.$container['advps_bxshad3'].'px '.$container['advps_bxshadcolor'];?>;
@@ -330,28 +337,29 @@
330
  <?php endif;?>
331
  background:<?php echo $container['advps_bgcolor'];?>;
332
  }
333
- #container<?php echo $sldshowID;?> .bx-wrapper .bx-pager{
334
  text-align: <?php echo $navigation['advps_pager_align'];?>;
335
  <?php if($navigation['advps_pager_align'] == 'right'){echo 'padding-right:5px';}elseif($navigation['advps_pager_align'] == 'left'){echo 'padding-left:5px';}?>;
336
  }
337
- #container<?php echo $sldshowID;?> .bx-wrapper .bx-pager
338
  {
339
  bottom:<?php echo $navigation['advps_pager_bottom'];?>px;
 
340
  }
341
- #container<?php echo $sldshowID;?> .bx-wrapper .bx-controls-auto
342
  {
343
  bottom:<?php echo $navigation['advps_ppause_bottom'];?>px;
344
  }
345
- #container<?php echo $sldshowID;?> .bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
346
  text-align: <?php echo $navigation['advps_pager_align'];?>;
347
  }
348
- #container<?php echo $sldshowID;?> .bx-wrapper .bx-controls-auto {
349
  z-index:99999;
350
  <?php if($navigation['advps_ppause_align'] == 'left'){echo 'left:5px;width:35px;';}elseif($navigation['advps_ppause_align'] == 'right'){echo 'right:0px;width:35px;';}else{echo 'text-align:center;width:100%;';}?>
351
  }
352
 
353
  <?php if($navigation['advps_exclude_pager'] == 'no' && (isset($navigation['advps_pager_type']) && $navigation['advps_pager_type'] == 'number')):?>
354
- #container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a {
355
  margin: 2px 2px 2px 0;
356
  padding:3px 8px 3px 8px !important;
357
  text-decoration:none;
@@ -373,7 +381,7 @@
373
  -webkit-border-radius:2px;
374
  border-radius:2px;
375
  }
376
- #container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a:hover, #container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a.active{
377
  color:#000000;
378
  text-shadow: 0 1px 0 #FFFFFF;
379
  background-color:#FFFFFF;
@@ -384,7 +392,7 @@
384
  background-image: -o-linear-gradient(top, #FFFFFF 0%, #E0E0E0 100%);
385
  }
386
  <?php elseif($navigation['advps_exclude_pager'] == 'no' && (!isset($navigation['advps_pager_type']) || ($navigation['advps_pager_type'] == 'bullet' || ($slider['advps_slider_type'] != 'standard' && $navigation['advps_pager_type']=='thumb')))):?>
387
- #container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a {
388
  background: #666;
389
  text-indent: -9999px;
390
  display: block;
@@ -397,14 +405,14 @@
397
  border-radius: 5px;
398
  text-align:left;
399
  }
400
- #container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a:hover,
401
- #container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a.active {
402
  background: #000;
403
  }
404
  <?php endif;?>
405
 
406
  /* thumbnail pager*/
407
- #container<?php echo $sldshowID;?> #bx-pager
408
  {
409
  width:100%;
410
  position:absolute;
@@ -412,12 +420,12 @@
412
  text-align: <?php echo $navigation['advps_pager_align'];?>;
413
  z-index: 9999;
414
  }
415
- #container<?php echo $sldshowID;?> #bx-pager a img
416
  {
417
  border: 1px solid #CCCCCC;
418
  padding: 3px;
419
  }
420
- #container<?php echo $sldshowID;?> #bx-pager a:hover img, #container<?php echo $sldshowID;?> #bx-pager a.active img
421
  {
422
  border: 1px solid #666666;
423
  }
@@ -470,7 +478,7 @@
470
  });
471
  });
472
  </script>
473
- <div id="container<?php echo $sldshowID;?>" class="advps-slide-container" style="max-width:<?php echo $container['advps_sld_width'];?>px;">
474
 
475
  <div id="<?php echo "advpsslideshow_".$sldshowID;?>">
476
  <?php $count = 1;$the_query = new WP_Query($query_arg); while ($the_query->have_posts()) : $the_query->the_post();if($template == 'one'):
@@ -599,6 +607,7 @@
599
  </div>
600
  <?php }?>
601
  </div><!-- end advps-slide-container -->
 
602
  <?php
603
  $advps_res = ob_get_contents();
604
  ob_end_clean();
2
  /*
3
  Plugin Name: Advanced post slider
4
  Plugin URI: www.wpcue.com
5
+ Description: A multipurpose responsive slideshow plugin powered with three built-in design template, lots of easy customizable options and many more to explore.
6
+ Version: 2.2.0
7
  Author: digontoahsan
8
  Author URI: www.wpcue.com
9
  License: GPL2
62
  /* ---------------------------------------------------------------------------------------*/
63
 
64
  register_activation_hook(WP_PLUGIN_DIR.'/advanced-post-slider/advanced-post-slider.php','set_advps_options');
65
+ register_deactivation_hook(WP_PLUGIN_DIR.'/advanced-post-slider/advanced-post-slider.php','unset_advps_options');
66
 
 
67
 
68
  function unset_advps_options(){
69
  }
70
+
71
+ function advps_update_db(){
72
+ if(get_option('advps-db-version') < 2){
73
+ set_advps_options();
74
+ }
75
+ }
76
+ add_action( 'plugins_loaded', 'advps_update_db' );
77
  /* ---------------------------------------------------------------------------------------*/
78
  function advps_image_sizes(){
79
  if ( function_exists( 'add_image_size' ) ) {
244
  $current = $post->ID;
245
 
246
  if(is_array($atts) && array_key_exists('optset',$atts)){
247
+ $q1 = "select * from ".$wpdb->prefix."advps_optionset where id = ".intval($atts['optset']);
248
  $res1 = $wpdb->get_results($q1);
249
  if($res1){
250
  $plist = unserialize($res1[0]->plist);
325
 
326
  ob_start();
327
  ?>
328
+ <!-- This slideshow output is generated with Advanced post slider a multipurpose responsive WordPress slideshow plugin version 2.2.0 - http://www.wpcue.com/wordpress-plugins/advanced-post-slider/ -->
329
  <style>
330
+ #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-viewport {
331
  <?php if($container['advps_remove_shd'] == 'no'):?>
332
  -moz-box-shadow: <?php echo $container['advps_bxshad1'].'px '.$container['advps_bxshad2'].'px '.$container['advps_bxshad3'].'px '.$container['advps_bxshadcolor'];?>;
333
  -webkit-box-shadow: <?php echo $container['advps_bxshad1'].'px '.$container['advps_bxshad2'].'px '.$container['advps_bxshad3'].'px '.$container['advps_bxshadcolor'];?>;
337
  <?php endif;?>
338
  background:<?php echo $container['advps_bgcolor'];?>;
339
  }
340
+ #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-pager{
341
  text-align: <?php echo $navigation['advps_pager_align'];?>;
342
  <?php if($navigation['advps_pager_align'] == 'right'){echo 'padding-right:5px';}elseif($navigation['advps_pager_align'] == 'left'){echo 'padding-left:5px';}?>;
343
  }
344
+ #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-pager
345
  {
346
  bottom:<?php echo $navigation['advps_pager_bottom'];?>px;
347
+ z-index:999;
348
  }
349
+ #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-controls-auto
350
  {
351
  bottom:<?php echo $navigation['advps_ppause_bottom'];?>px;
352
  }
353
+ #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
354
  text-align: <?php echo $navigation['advps_pager_align'];?>;
355
  }
356
+ #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-controls-auto {
357
  z-index:99999;
358
  <?php if($navigation['advps_ppause_align'] == 'left'){echo 'left:5px;width:35px;';}elseif($navigation['advps_ppause_align'] == 'right'){echo 'right:0px;width:35px;';}else{echo 'text-align:center;width:100%;';}?>
359
  }
360
 
361
  <?php if($navigation['advps_exclude_pager'] == 'no' && (isset($navigation['advps_pager_type']) && $navigation['advps_pager_type'] == 'number')):?>
362
+ #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a {
363
  margin: 2px 2px 2px 0;
364
  padding:3px 8px 3px 8px !important;
365
  text-decoration:none;
381
  -webkit-border-radius:2px;
382
  border-radius:2px;
383
  }
384
+ #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a:hover, #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a.active{
385
  color:#000000;
386
  text-shadow: 0 1px 0 #FFFFFF;
387
  background-color:#FFFFFF;
392
  background-image: -o-linear-gradient(top, #FFFFFF 0%, #E0E0E0 100%);
393
  }
394
  <?php elseif($navigation['advps_exclude_pager'] == 'no' && (!isset($navigation['advps_pager_type']) || ($navigation['advps_pager_type'] == 'bullet' || ($slider['advps_slider_type'] != 'standard' && $navigation['advps_pager_type']=='thumb')))):?>
395
+ #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a {
396
  background: #666;
397
  text-indent: -9999px;
398
  display: block;
405
  border-radius: 5px;
406
  text-align:left;
407
  }
408
+ #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a:hover,
409
+ #advps_container<?php echo $sldshowID;?> .bx-wrapper .bx-pager.bx-default-pager a.active {
410
  background: #000;
411
  }
412
  <?php endif;?>
413
 
414
  /* thumbnail pager*/
415
+ #advps_container<?php echo $sldshowID;?> #bx-pager
416
  {
417
  width:100%;
418
  position:absolute;
420
  text-align: <?php echo $navigation['advps_pager_align'];?>;
421
  z-index: 9999;
422
  }
423
+ #advps_container<?php echo $sldshowID;?> #bx-pager a img
424
  {
425
  border: 1px solid #CCCCCC;
426
  padding: 3px;
427
  }
428
+ #advps_container<?php echo $sldshowID;?> #bx-pager a:hover img, #advps_container<?php echo $sldshowID;?> #bx-pager a.active img
429
  {
430
  border: 1px solid #666666;
431
  }
478
  });
479
  });
480
  </script>
481
+ <div id="advps_container<?php echo $sldshowID;?>" class="advps-slide-container" style="max-width:<?php echo $container['advps_sld_width'];?>px;">
482
 
483
  <div id="<?php echo "advpsslideshow_".$sldshowID;?>">
484
  <?php $count = 1;$the_query = new WP_Query($query_arg); while ($the_query->have_posts()) : $the_query->the_post();if($template == 'one'):
607
  </div>
608
  <?php }?>
609
  </div><!-- end advps-slide-container -->
610
+ <!-- / Advanced post slider a multipurpose responsive slideshow plugin -->
611
  <?php
612
  $advps_res = ob_get_contents();
613
  ob_end_clean();
advps-admin.php CHANGED
@@ -146,8 +146,23 @@
146
  });
147
  </script>
148
  <style>
149
- .form-table th
150
- {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
  font-size:12px;
152
  }
153
  fieldset {
@@ -155,10 +170,9 @@ fieldset {
155
  margin-bottom:20px;
156
  padding:0px 5px 10px 20px;
157
  }
158
- .advps-legend
159
- {
160
  background-color:#6E6E6E;
161
- background-image:url(<?php echo advps_url?>images/up.png);
162
  background-repeat:no-repeat;
163
  background-position: 96px 6px;
164
  color:#FFF;
@@ -169,54 +183,46 @@ fieldset {
169
  cursor:pointer;
170
  border-radius:4px;
171
  }
172
- .postbox .inside{
173
  position:relative;
174
  margin: 15px 25px;
175
  }
176
- .wp-admin select
177
- {
178
  font-size:12px;
179
  }
180
  .wp-admin select[multiple], #wpcontent select[multiple] {
181
  height: auto;
182
  }
183
- .form-table, .form-table td, .form-table th, .form-table td p, .form-wrap label
184
- {
185
  font-size:12px;
186
  }
187
- .advps-optset-label
188
- {
189
  width:200px;
190
  }
191
- .ajx-sts
192
- {
193
  color: #298A08;
194
- font-size: 12px;
195
- font-style: italic;
196
- font-weight: bold;
197
- padding-left: 20px;
198
  }
199
- .postbox .down
200
- {
201
- background-image:url(<?php echo advps_url?>images/downb.png);
202
  background-repeat:no-repeat;
203
  background-position: 4px 10px;
204
  }
205
- .postbox .up
206
- {
207
- background-image:url(<?php echo advps_url?>images/upb.png);
208
  background-repeat:no-repeat;
209
  background-position: 4px 10px;
210
  }
211
- .advps-highlight
212
- {
213
  border: 1px solid #7AD03A !important;
214
  }
215
- .advps-hide{
216
  display:none;
217
  }
218
- .advps-fade
219
- {
220
  color:#D1D0CE;
221
  }
222
  </style>
@@ -226,8 +232,7 @@ fieldset {
226
  <p><?php echo $stsMgs;?></p>
227
  </div>
228
  <?php }?>
229
- <h2 class="nav-tab-wrapper"> <a href="?page=advps-slideshow&tab=one" class="nav-tab <?php if($currTab == 'one'){echo 'nav-tab-active';}?>" title="Thumbnail and overlaid title excerpt">Template One</a> <a href="?page=advps-slideshow&tab=two" class="nav-tab <?php if($currTab == 'two'){echo 'nav-tab-active';}?>" title="Thumbnail only">Template Two</a> <a href="?page=advps-slideshow&tab=three" class="nav-tab <?php if($currTab == 'three'){echo 'nav-tab-active';}?>" title="Thumbnail, title, excerpt or simply full content">Template Three</a><a href="?page=advps-slideshow&tab=thumb" class="nav-tab <?php if($currTab == 'thumb'){echo 'nav-tab-active';}?>" title="Create or manage thumbnail size">Thumbnails</a>
230
- </h2>
231
  <?php if($currTab == 'one'){
232
  require 'templates/template-one.php';
233
  }elseif($currTab == 'two'){
@@ -235,8 +240,25 @@ fieldset {
235
  }elseif($currTab == 'three'){
236
  require 'templates/template-three.php';
237
  }elseif($currTab == 'thumb'){?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
238
  <div class="metabox-holder" style="margin-top:20px;">
239
- <div class="postbox-container" style="width:65%">
240
  <div class="postbox" style="margin-bottom:15px;">
241
  <h3><strong>Thumbnail settings</strong></h3>
242
  <table class="form-table" style="margin-left:12px;">
@@ -301,4 +323,4 @@ fieldset {
301
  </div>
302
  <?php }?>
303
  </div>
304
- <meta name="wpversion" content="<?php echo $wp_version;?>" />
146
  });
147
  </script>
148
  <style>
149
+ .metabox-holder {
150
+ width:72%;
151
+ }
152
+ .advps-col-right {
153
+ width:22%;
154
+ float:right;
155
+ position:relative;
156
+ background-color:#fff;
157
+ margin-top:30px;
158
+ padding:10px;
159
+ }
160
+ .advps-col-right li {
161
+ list-style:inside;
162
+ color:#0074a2;
163
+ text-decoration:underline;
164
+ }
165
+ .form-table th {
166
  font-size:12px;
167
  }
168
  fieldset {
170
  margin-bottom:20px;
171
  padding:0px 5px 10px 20px;
172
  }
173
+ .advps-legend {
 
174
  background-color:#6E6E6E;
175
+ background-image:url(<?php echo advps_url?>images/up.png);
176
  background-repeat:no-repeat;
177
  background-position: 96px 6px;
178
  color:#FFF;
183
  cursor:pointer;
184
  border-radius:4px;
185
  }
186
+ .postbox .inside {
187
  position:relative;
188
  margin: 15px 25px;
189
  }
190
+ .wp-admin select {
 
191
  font-size:12px;
192
  }
193
  .wp-admin select[multiple], #wpcontent select[multiple] {
194
  height: auto;
195
  }
196
+ .form-table, .form-table td, .form-table th, .form-table td p, .form-wrap label {
 
197
  font-size:12px;
198
  }
199
+ .advps-optset-label {
 
200
  width:200px;
201
  }
202
+ .ajx-sts {
 
203
  color: #298A08;
204
+ font-size: 12px;
205
+ font-style: italic;
206
+ font-weight: bold;
207
+ padding-left: 20px;
208
  }
209
+ .postbox .down {
210
+ background-image:url(<?php echo advps_url?>images/downb.png);
 
211
  background-repeat:no-repeat;
212
  background-position: 4px 10px;
213
  }
214
+ .postbox .up {
215
+ background-image:url(<?php echo advps_url?>images/upb.png);
 
216
  background-repeat:no-repeat;
217
  background-position: 4px 10px;
218
  }
219
+ .advps-highlight {
 
220
  border: 1px solid #7AD03A !important;
221
  }
222
+ .advps-hide {
223
  display:none;
224
  }
225
+ .advps-fade {
 
226
  color:#D1D0CE;
227
  }
228
  </style>
232
  <p><?php echo $stsMgs;?></p>
233
  </div>
234
  <?php }?>
235
+ <h2 class="nav-tab-wrapper"> <a href="?page=advps-slideshow&tab=one" class="nav-tab <?php if($currTab == 'one'){echo 'nav-tab-active';}?>" title="Thumbnail and overlaid title excerpt">Template One</a> <a href="?page=advps-slideshow&tab=two" class="nav-tab <?php if($currTab == 'two'){echo 'nav-tab-active';}?>" title="Thumbnail only">Template Two</a> <a href="?page=advps-slideshow&tab=three" class="nav-tab <?php if($currTab == 'three'){echo 'nav-tab-active';}?>" title="Thumbnail, title, excerpt or simply full content">Template Three</a><a href="?page=advps-slideshow&tab=thumb" class="nav-tab <?php if($currTab == 'thumb'){echo 'nav-tab-active';}?>" title="Create or manage thumbnail size">Thumbnails</a> </h2>
 
236
  <?php if($currTab == 'one'){
237
  require 'templates/template-one.php';
238
  }elseif($currTab == 'two'){
240
  }elseif($currTab == 'three'){
241
  require 'templates/template-three.php';
242
  }elseif($currTab == 'thumb'){?>
243
+ <div class="advps-col-right">
244
+ <h2>Advanced post slider 2.2.0</h2>
245
+ <ul>
246
+ <li><a href="http://www.wpcue.com/wordpress-plugins/advanced-post-slider/" target="_blank">Plugin Homepage</a></li>
247
+ <li><a href="http://www.wpcue.com/support/forum/advanced-post-slider/" target="_blank">Help / Support</a></li>
248
+ <li><a href="http://www.wpcue.com/resources/advanced-post-slider-documentaion/" target="_blank">Getting Started</a></li>
249
+ <li><a href="http://www.wpcue.com/faq/" target="_blank">FAQ</a></li>
250
+ </ul>
251
+ <h3>Do you like this Plugin?</h3>
252
+ <p>I spend lots of free hours to develop, maintain and providing support to this plugin. Any kind of participation will be highly appreciated and real inspiration for me to work more.</p>
253
+ <ul>
254
+ <li>Write a small blog for Advanced post slider and give link to our site.</li>
255
+ <li>Share it to your social media.</li>
256
+ <li><a href="http://wordpress.org/support/view/plugin-reviews/advanced-post-slider" target="_blank">Give it a good rating and review</a></li>
257
+ <li><a href="http://wordpress.org/plugins/advanced-post-slider/" target="_blank">Vote that it work</a></li>
258
+ </ul>
259
+ </div>
260
  <div class="metabox-holder" style="margin-top:20px;">
261
+ <div class="postbox-container" style="width:100%">
262
  <div class="postbox" style="margin-bottom:15px;">
263
  <h3><strong>Thumbnail settings</strong></h3>
264
  <table class="form-table" style="margin-left:12px;">
323
  </div>
324
  <?php }?>
325
  </div>
326
+ <meta name="wpversion" content="<?php echo $wp_version;?>" />
advps-db.php CHANGED
@@ -155,11 +155,6 @@
155
  if( $wpdb->get_results("SHOW TABLES LIKE '".$advps_opt_table."'") && $db_version < 2 ){
156
  $wpdb->query("DROP TABLE ".$advps_opt_table);
157
  }
158
- elseif( $wpdb->get_results("SHOW TABLES LIKE '".$advps_opt_table."'") && $db_version == 2 ){
159
- if( !$wpdb->get_results("SHOW COLUMNS FROM ".$advps_opt_table." LIKE 'plist'") ){
160
- $wpdb->query("DROP TABLE ".$advps_opt_table);
161
- }
162
- }
163
 
164
  $ins_q = "CREATE TABLE IF NOT EXISTS ".$wpdb->prefix."advps_optionset (
165
  `id` int(5) NOT NULL AUTO_INCREMENT,
155
  if( $wpdb->get_results("SHOW TABLES LIKE '".$advps_opt_table."'") && $db_version < 2 ){
156
  $wpdb->query("DROP TABLE ".$advps_opt_table);
157
  }
 
 
 
 
 
158
 
159
  $ins_q = "CREATE TABLE IF NOT EXISTS ".$wpdb->prefix."advps_optionset (
160
  `id` int(5) NOT NULL AUTO_INCREMENT,
readme.txt CHANGED
@@ -4,11 +4,11 @@ Donate link:
4
  Tags: post slider, slider, slideshow, wordpress slideshow, best slideshow, best post slider, best slideshow plugin, images, logo scroller, testimonial scroller, banner rotator, recent post slider, bxslider, image slider, sidebar slideshow, posts, post, image, image slideshow, responsive slideshow, responsive slider, best responsive slider, best carousel slider, carousel slider, ticker, responsive carousel slider, responsive carousel, showcase, news slider, thumbnail, thumbnail slider, featured thumbnail
5
  Requires at least: 3.0.1
6
  Tested up to: 3.9.1
7
- Stable tag: 2.1.4
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Responsive slideshow plugin powered with three built-in templates, lots of easy customizable options and many more to explore.
12
 
13
  == Description ==
14
 
@@ -24,14 +24,16 @@ Create slideshow with single or multiple images per slide, rotate your banner or
24
  = Key Feature =
25
 
26
  * You can create multiple slideshow with different options at single page or post.
 
27
  * Three built-in design format and each have a predefined optionset.
 
28
  * You can customize this in many ways withour changing code.
29
  * Supports post,custom post type and even page content
30
  * Easy option for adjusting slide container width, height, background color, border and box-shadow. You can easily turn on/off border and box-shadow
31
  * Ability to control excerpt length for each slideshow
32
  * Cross browser compatibility
33
 
34
- Visit <a target="_blank" href="http://www.wpcue.com/">www.wpcue.com/</a> for more
35
 
36
  == Installation ==
37
 
@@ -121,5 +123,10 @@ Dont have any FAQ for now.
121
  = 2.1.4 =
122
  * Small change for Advanced post slider built-in image resizing functionality.
123
 
 
 
 
 
 
124
  == Upgrade Notice ==
125
- * Few modification. Upgrade is recommended.
4
  Tags: post slider, slider, slideshow, wordpress slideshow, best slideshow, best post slider, best slideshow plugin, images, logo scroller, testimonial scroller, banner rotator, recent post slider, bxslider, image slider, sidebar slideshow, posts, post, image, image slideshow, responsive slideshow, responsive slider, best responsive slider, best carousel slider, carousel slider, ticker, responsive carousel slider, responsive carousel, showcase, news slider, thumbnail, thumbnail slider, featured thumbnail
5
  Requires at least: 3.0.1
6
  Tested up to: 3.9.1
7
+ Stable tag: 2.2.0
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ A multipurpose responsive slideshow plugin powered with three built-in design template, lots of easy customizable options and many more to explore.
12
 
13
  == Description ==
14
 
24
  = Key Feature =
25
 
26
  * You can create multiple slideshow with different options at single page or post.
27
+ * Create three different type (Standard, Carousel & Ticker) of slideshow with single plugin.
28
  * Three built-in design format and each have a predefined optionset.
29
+ * Thumbnail pagination.
30
  * You can customize this in many ways withour changing code.
31
  * Supports post,custom post type and even page content
32
  * Easy option for adjusting slide container width, height, background color, border and box-shadow. You can easily turn on/off border and box-shadow
33
  * Ability to control excerpt length for each slideshow
34
  * Cross browser compatibility
35
 
36
+ Visit [Wpcue](http://www.wpcue.com/) for more
37
 
38
  == Installation ==
39
 
123
  = 2.1.4 =
124
  * Small change for Advanced post slider built-in image resizing functionality.
125
 
126
+ = 2.2.0 =
127
+ * Database query optimization.
128
+ * Pager z-index issue resolved.
129
+ * More unique id for container.
130
+
131
  == Upgrade Notice ==
132
+ * Upgrade is highly recommended.
templates/template-one.php CHANGED
@@ -1,5 +1,24 @@
1
  <?php
2
  if ( ! defined( 'ABSPATH' ) || ! current_user_can( 'manage_options' ) ) exit;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  foreach( $res1 as $dset){
4
  $plist = unserialize($dset->plist);
5
  $query = unserialize($dset->query);
@@ -10,7 +29,7 @@ foreach( $res1 as $dset){
10
  $navigation = unserialize($dset->navigation);
11
  ?>
12
  <div class="metabox-holder" style="margin-top:20px;">
13
- <div class="postbox-container" style="width:72%">
14
  <div class="postbox closed">
15
  <div class="handlediv down" title="Click to toggle"> <br>
16
  </div>
@@ -41,7 +60,8 @@ foreach( $res1 as $dset){
41
  <td><select name="advpssmethod<?php echo $dset->id?>" onchange="updateSm(this,<?php echo $dset->id;?>);">
42
  <option value="plist" <?php if(get_option('advpssmethod'.$dset->id) == 'plist'){echo 'selected="selected"';}?>>Post list</option>
43
  <option value="query" <?php if(get_option('advpssmethod'.$dset->id) == 'query'){echo 'selected="selected"';}?>>Query</option>
44
- </select><span id="smudtsts<?php echo $dset->id;?>" style="padding-left:10px; display:none;"><img src="<?php echo advps_url;?>/images/ajax-loader.gif" /></span></td>
 
45
  </tr>
46
  </table>
47
  <form method="post" onsubmit="return false" id="plist<?php echo $dset->id;?>">
@@ -555,9 +575,8 @@ foreach( $res1 as $dset){
555
  </tr>
556
  <tr>
557
  <th scope="row">Thumbnail Width</th>
558
- <td>
559
- <input type="text" name="advps_pthumb_width" value="<?php echo $navigation['advps_pthumb_width'];?>" style="width:50px;" onkeypress="return onlyNum(event);" />&nbsp;%
560
- <span style="padding-left:10px; font-size:10px; font-style:italic;">[ N.B. For pager type thumbnail. ]</span></td>
561
  </tr>
562
  <tr>
563
  <th scope="row">Pager align</th>
@@ -626,7 +645,7 @@ foreach( $res1 as $dset){
626
  }
627
  $tcount = $wpdb->get_results("SHOW TABLE STATUS WHERE name = '".$wpdb->prefix."advps_optionset'");
628
  ?>
629
- <div style="position:relative; float:left; width:100%">
630
  <form method="post">
631
  <input type="hidden" name="template" value="one" />
632
  <input type="hidden" name="nextoptid" value="<?php echo $tcount[0]->Auto_increment;?>" />
1
  <?php
2
  if ( ! defined( 'ABSPATH' ) || ! current_user_can( 'manage_options' ) ) exit;
3
+ ?>
4
+ <div class="advps-col-right">
5
+ <h2>Advanced post slider 2.2.0</h2>
6
+ <ul>
7
+ <li><a href="http://www.wpcue.com/wordpress-plugins/advanced-post-slider/" target="_blank">Plugin Homepage</a></li>
8
+ <li><a href="http://www.wpcue.com/support/forum/advanced-post-slider/" target="_blank">Help / Support</a></li>
9
+ <li><a href="http://www.wpcue.com/resources/advanced-post-slider-documentaion/" target="_blank">Getting Started</a></li>
10
+ <li><a href="http://www.wpcue.com/faq/" target="_blank">FAQ</a></li>
11
+ </ul>
12
+ <h3>Do you like this Plugin?</h3>
13
+ <p>I spend lots of free hours to develop, maintain and providing support to this plugin. Any kind of participation will be highly appreciated and real inspiration for me to work more.</p>
14
+ <ul>
15
+ <li>Write a small blog for Advanced post slider and give link to our site.</li>
16
+ <li>Share it to your social media.</li>
17
+ <li><a href="http://wordpress.org/support/view/plugin-reviews/advanced-post-slider" target="_blank">Give it a good rating and review</a></li>
18
+ <li><a href="http://wordpress.org/plugins/advanced-post-slider/" target="_blank">Vote that it work</a></li>
19
+ </ul>
20
+ </div>
21
+ <?php
22
  foreach( $res1 as $dset){
23
  $plist = unserialize($dset->plist);
24
  $query = unserialize($dset->query);
29
  $navigation = unserialize($dset->navigation);
30
  ?>
31
  <div class="metabox-holder" style="margin-top:20px;">
32
+ <div class="postbox-container" style="width:100%">
33
  <div class="postbox closed">
34
  <div class="handlediv down" title="Click to toggle"> <br>
35
  </div>
60
  <td><select name="advpssmethod<?php echo $dset->id?>" onchange="updateSm(this,<?php echo $dset->id;?>);">
61
  <option value="plist" <?php if(get_option('advpssmethod'.$dset->id) == 'plist'){echo 'selected="selected"';}?>>Post list</option>
62
  <option value="query" <?php if(get_option('advpssmethod'.$dset->id) == 'query'){echo 'selected="selected"';}?>>Query</option>
63
+ </select>
64
+ <span id="smudtsts<?php echo $dset->id;?>" style="padding-left:10px; display:none;"><img src="<?php echo advps_url;?>/images/ajax-loader.gif" /></span></td>
65
  </tr>
66
  </table>
67
  <form method="post" onsubmit="return false" id="plist<?php echo $dset->id;?>">
575
  </tr>
576
  <tr>
577
  <th scope="row">Thumbnail Width</th>
578
+ <td><input type="text" name="advps_pthumb_width" value="<?php echo $navigation['advps_pthumb_width'];?>" style="width:50px;" onkeypress="return onlyNum(event);" />
579
+ &nbsp;% <span style="padding-left:10px; font-size:10px; font-style:italic;">[ N.B. For pager type thumbnail. ]</span></td>
 
580
  </tr>
581
  <tr>
582
  <th scope="row">Pager align</th>
645
  }
646
  $tcount = $wpdb->get_results("SHOW TABLE STATUS WHERE name = '".$wpdb->prefix."advps_optionset'");
647
  ?>
648
+ <div style="position:relative; float:left; width:72%">
649
  <form method="post">
650
  <input type="hidden" name="template" value="one" />
651
  <input type="hidden" name="nextoptid" value="<?php echo $tcount[0]->Auto_increment;?>" />
templates/template-three.php CHANGED
@@ -1,6 +1,24 @@
1
  <?php
2
  if ( ! defined( 'ABSPATH' ) || ! current_user_can( 'manage_options' ) ) exit;
3
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  foreach( $res3 as $dset){
5
  $plist = unserialize($dset->plist);
6
  $query = unserialize($dset->query);
@@ -11,7 +29,7 @@ foreach( $res3 as $dset){
11
  $navigation = unserialize($dset->navigation);
12
  ?>
13
  <div class="metabox-holder" style="margin-top:20px;">
14
- <div class="postbox-container" style="width:72%">
15
  <div class="postbox closed">
16
  <div class="handlediv down" title="Click to toggle"> <br>
17
  </div>
1
  <?php
2
  if ( ! defined( 'ABSPATH' ) || ! current_user_can( 'manage_options' ) ) exit;
3
+ ?>
4
+ <div class="advps-col-right">
5
+ <h2>Advanced post slider 2.2.0</h2>
6
+ <ul>
7
+ <li><a href="http://www.wpcue.com/wordpress-plugins/advanced-post-slider/" target="_blank">Plugin Homepage</a></li>
8
+ <li><a href="http://www.wpcue.com/support/forum/advanced-post-slider/" target="_blank">Help / Support</a></li>
9
+ <li><a href="http://www.wpcue.com/resources/advanced-post-slider-documentaion/" target="_blank">Getting Started</a></li>
10
+ <li><a href="http://www.wpcue.com/faq/" target="_blank">FAQ</a></li>
11
+ </ul>
12
+ <h3>Do you like this Plugin?</h3>
13
+ <p>I spend lots of free hours to develop, maintain and providing support to this plugin. Any kind of participation will be highly appreciated and real inspiration for me to work more.</p>
14
+ <ul>
15
+ <li>Write a small blog for Advanced post slider and give link to our site.</li>
16
+ <li>Share it to your social media.</li>
17
+ <li><a href="http://wordpress.org/support/view/plugin-reviews/advanced-post-slider" target="_blank">Give it a good rating and review</a></li>
18
+ <li><a href="http://wordpress.org/plugins/advanced-post-slider/" target="_blank">Vote that it work</a></li>
19
+ </ul>
20
+ </div>
21
+ <?php
22
  foreach( $res3 as $dset){
23
  $plist = unserialize($dset->plist);
24
  $query = unserialize($dset->query);
29
  $navigation = unserialize($dset->navigation);
30
  ?>
31
  <div class="metabox-holder" style="margin-top:20px;">
32
+ <div class="postbox-container" style="width:100%">
33
  <div class="postbox closed">
34
  <div class="handlediv down" title="Click to toggle"> <br>
35
  </div>
templates/template-two.php CHANGED
@@ -1,6 +1,24 @@
1
  <?php
2
  if ( ! defined( 'ABSPATH' ) || ! current_user_can( 'manage_options' ) ) exit;
3
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  foreach( $res2 as $dset){
5
  $plist = unserialize($dset->plist);
6
  $query = unserialize($dset->query);
@@ -11,7 +29,7 @@ foreach( $res2 as $dset){
11
 
12
  ?>
13
  <div class="metabox-holder" style="margin-top:20px;">
14
- <div class="postbox-container" style="width:72%">
15
  <div class="postbox closed">
16
  <div class="handlediv down" title="Click to toggle"> <br>
17
  </div>
1
  <?php
2
  if ( ! defined( 'ABSPATH' ) || ! current_user_can( 'manage_options' ) ) exit;
3
+ ?>
4
+ <div class="advps-col-right">
5
+ <h2>Advanced post slider 2.2.0</h2>
6
+ <ul>
7
+ <li><a href="http://www.wpcue.com/wordpress-plugins/advanced-post-slider/" target="_blank">Plugin Homepage</a></li>
8
+ <li><a href="http://www.wpcue.com/support/forum/advanced-post-slider/" target="_blank">Help / Support</a></li>
9
+ <li><a href="http://www.wpcue.com/resources/advanced-post-slider-documentaion/" target="_blank">Getting Started</a></li>
10
+ <li><a href="http://www.wpcue.com/faq/" target="_blank">FAQ</a></li>
11
+ </ul>
12
+ <h3>Do you like this Plugin?</h3>
13
+ <p>I spend lots of free hours to develop, maintain and providing support to this plugin. Any kind of participation will be highly appreciated and real inspiration for me to work more.</p>
14
+ <ul>
15
+ <li>Write a small blog for Advanced post slider and give link to our site.</li>
16
+ <li>Share it to your social media.</li>
17
+ <li><a href="http://wordpress.org/support/view/plugin-reviews/advanced-post-slider" target="_blank">Give it a good rating and review</a></li>
18
+ <li><a href="http://wordpress.org/plugins/advanced-post-slider/" target="_blank">Vote that it work</a></li>
19
+ </ul>
20
+ </div>
21
+ <?php
22
  foreach( $res2 as $dset){
23
  $plist = unserialize($dset->plist);
24
  $query = unserialize($dset->query);
29
 
30
  ?>
31
  <div class="metabox-holder" style="margin-top:20px;">
32
+ <div class="postbox-container" style="width:100%">
33
  <div class="postbox closed">
34
  <div class="handlediv down" title="Click to toggle"> <br>
35
  </div>