Advanced post slider - Version 1.1

Version Description

  • Current version
Download this release

Release Info

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

Code changes from version 1.0 to 1.1

Files changed (4) hide show
  1. advanced-post-slider.php +15 -10
  2. advps-admin.php +135 -33
  3. advps-style.css +1 -1
  4. readme.txt +9 -10
advanced-post-slider.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Advanced post slider
4
  Plugin URI: www.wpcue.com
5
  Description: Advanced post slider is a slideshow plugin powered with three built-in templates, lots of effect, easy customizable options and many more to explore.
6
- Version: 1.0
7
  Author: digontoahsan
8
  Author URI: www.wpcue.com
9
  License: GPL2
@@ -74,7 +74,8 @@
74
  "advps_overlay_color" => "#000000",
75
  "advps_overlay_opacity" => "0.6",
76
  "advps_text_opacity" => "1",
77
- "advps_titleFcolor" => "#FFFFFF",
 
78
  "advps_titleHcolor" => "#E6E6E6",
79
  "advps_titleFsize" => "22",
80
  "advps_excptFcolor" => "#FFFFFF",
@@ -84,6 +85,7 @@
84
  "advps_excpt_position" => "left",
85
  "advps_ed_link" => "enable",
86
  "advps_link_type" => "permalink",
 
87
  "advps_exclude_pager" => "no",
88
  "advps_pager_type" => "bullet",
89
  "advps_pager_right" => "8",
@@ -113,6 +115,7 @@
113
  "advps_imagemar" => "10",
114
  "advps_ed_link" => "enable",
115
  "advps_link_type" => "permalink",
 
116
  "advps_exclude_pager" => "no",
117
  "advps_pager_type" => "bullet",
118
  "advps_pager_right" => "8",
@@ -140,6 +143,7 @@
140
  "advps_bxshadcolor" => "#000000",
141
  "advps_remove_shd" => "no",
142
  "advps_cont_width" => "280",
 
143
  "advps_titleFcolor" => "#000000",
144
  "advps_titleHcolor" => "#E6E6E6",
145
  "advps_titleFsize" => "22",
@@ -148,6 +152,7 @@
148
  "advps_excerptlen" => "30",
149
  "advps_ed_link" => "enable",
150
  "advps_link_type" => "permalink",
 
151
  "advps_exclude_pager" => "no",
152
  "advps_pager_type" => "bullet",
153
  "advps_pager_right" => "8",
@@ -332,7 +337,7 @@
332
  }
333
  else return;
334
 
335
- if($optset['advps_exclude']){
336
  $exclude = explode(',',$optset['advps_exclude']);
337
  if(!in_array($current,$exclude)){
338
  $exclude[] = $current;
@@ -341,7 +346,7 @@
341
  else
342
  {
343
  $exclude[] = $current;
344
- }
345
 
346
  $query_arg = array(
347
  'post_type' => ($optset['advps_post_types']) ? $optset['advps_post_types'] : 'post',
@@ -476,7 +481,7 @@
476
  }
477
  ?>
478
  <div class="advps-slide" style="width:<?php if(isset($th_width)){echo $th_width;}?>px; height:<?php if(isset($th_height)){echo $th_height;}?>px;">
479
- <?php if( $optset['advps_ed_link']=='enable'){?><a target="_blank" href="<?php if($optset['advps_link_type'] == 'permalink'){the_permalink();}else{echo get_post_meta($post->ID,'advps_custom_link',true);}?>"><?php }?>
480
  <?php
481
  if(has_post_thumbnail()){the_post_thumbnail($optset['advps_thumbnail']);}
482
  ?>
@@ -485,14 +490,14 @@
485
  <div class="advps-excerpt-<?php echo $template?>" style="width:<?php echo $optset['advps_overlay_width'];?>%;height:<?php echo $optset['advps_overlay_height'];?>%;<?php if($optset['advps_excpt_visibility'] == 'show on hover'){?>display:none;<?php }if($optset['advps_excpt_position'] == 'left'){?>top:0; left:0;<?php }elseif($optset['advps_excpt_position'] == 'right'){?>top:0; right:0;<?php }elseif($optset['advps_excpt_position'] == 'bottom'){?>bottom:0; left:0;<?php }?>">
486
  <div class="advps-overlay-<?php echo $template?>" style="background-color:<?php echo $optset['advps_overlay_color'];?>; -moz-opacity:<?php echo $optset['advps_overlay_opacity'];?>;filter:alpha(opacity=<?php echo $optset['advps_overlay_opacity']*100;?>);opacity:<?php echo $optset['advps_overlay_opacity'];?>;"></div>
487
  <div class="advps-excerpt-block-<?php echo $template?>" style="color:<?php echo $optset['advps_excptFcolor'];?>;font-size:<?php echo $optset['advps_excptFsize'];?>px;-moz-opacity:<?php echo $optset['advps_text_opacity'];?>;filter:alpha(opacity=<?php echo $optset['advps_text_opacity']*100;?>);opacity:<?php echo $optset['advps_text_opacity'];?>;">
488
- <h1 class="advs-title" style="font-size:<?php echo $optset['advps_titleFsize'];?>px !important;margin:5px 0px 10px 0px !important;color:<?php echo $optset['advps_titleFcolor'];?>"><?php if( $optset['advps_ed_link']=='enable'){?><a target="_blank" href="<?php if($optset['advps_link_type'] == 'permalink'){the_permalink();}else{echo get_post_meta($post->ID,'advps_custom_link',true);}?>" style="color:<?php echo $optset['advps_titleFcolor'];?>"><?php }?><?php the_title();?><?php if( $optset['advps_ed_link']=='enable'){?></a><?php }?></h1>
489
 
490
  <?php the_excerpt();?>
491
  </div>
492
  </div>
493
  </div>
494
  <?php elseif($template == 'two'):?>
495
- <?php if($count % $postperslide == 1 || $postperslide == 1){?><ul class="advps-slide" style="overflow:hidden;"><?php }?><li style="width:<?php if(get_option($optset['advps_thumbnail'].'_size_w')){echo get_option($optset['advps_thumbnail'].'_size_w');}else{echo $_wp_additional_image_sizes[$optset['advps_thumbnail']]['width'];}?>px;height:<?php if(get_option($optset['advps_thumbnail'].'_size_h')){echo get_option($optset['advps_thumbnail'].'_size_h');}else{echo $_wp_additional_image_sizes[$optset['advps_thumbnail']]['height'];}?>px;<?php if($optset['advps_img_Orientation'] == 'horizontal'){{echo 'float:left'.';';}echo 'margin-right:'.$optset['advps_imagemar'].'px;';}else{echo 'margin-bottom:'.$optset['advps_imagemar'].'px;';}?>list-style:none;position:relative;"><?php if( $optset['advps_ed_link']=='enable'){?><a target="_blank" href="<?php if($optset['advps_link_type'] == 'permalink'){the_permalink();}else{echo get_post_meta($post->ID,'advps_custom_link',true);}?>"><?php }?>
496
  <?php
497
  /*echo $count .'and'. $postperslide*/;if(has_post_thumbnail()){the_post_thumbnail($optset['advps_thumbnail']);}
498
  ?>
@@ -501,13 +506,13 @@
501
  <?php elseif($template == 'three'):?>
502
  <div class="advps-slide">
503
  <div class="advps-slide-field-three" style="position:relative; float:left;width:<?php echo $optset['advps_sld_width'];?>px; height:<?php echo $optset['advps_sld_height'];?>px; overflow:hidden;">
504
- <?php if(in_array('thumb',$optset['advps_content_set'])):if( $optset['advps_ed_link']=='enable'){?><a target="_blank" href="<?php if($optset['advps_link_type'] == 'permalink'){the_permalink();}else{echo get_post_meta($post->ID,'advps_custom_link',true);};?>"><?php }?>
505
  <?php if(has_post_thumbnail()){the_post_thumbnail($optset['advps_thumbnail']);}?>
506
  <?php if( $optset['advps_ed_link']=='enable'){?></a><?php }endif;?>
507
  <div class="advps-excerpt-<?php echo $template?>" style="position:relative;float:left;width:<?php echo $optset['advps_cont_width'];?>px;z-index:0; color:<?php echo $optset['advps_excptFcolor'];?>; font-size:<?php echo $optset['advps_excptFsize'];?>px;">
508
- <?php if(in_array('title',$optset['advps_content_set'])){?><h1 class="advs-title" style="font-size:<?php echo $optset['advps_titleFsize'];?>px;margin:0px 0px 10px 0px;"> <?php if( $optset['advps_ed_link']=='enable'){?><a target="_blank" href="<?php if($optset['advps_link_type'] == 'permalink'){the_permalink();}else{echo get_post_meta($post->ID,'advps_custom_link',true);}?>" style="color:<?php echo $optset['advps_titleFcolor'];?>;"><?php }?>
509
  <?php the_title();?>
510
- <?php if( $optset['advps_ed_link']=='enable'){?></a><?php }?></h1><?php }?>
511
  <?php if(in_array('content',$optset['advps_content_set'])){
512
  the_content();
513
  }
3
  Plugin Name: Advanced post slider
4
  Plugin URI: www.wpcue.com
5
  Description: Advanced post slider is a slideshow plugin powered with three built-in templates, lots of effect, easy customizable options and many more to explore.
6
+ Version: 1.1
7
  Author: digontoahsan
8
  Author URI: www.wpcue.com
9
  License: GPL2
74
  "advps_overlay_color" => "#000000",
75
  "advps_overlay_opacity" => "0.6",
76
  "advps_text_opacity" => "1",
77
+ "advps_ttitle_tag" => "h2",
78
+ "advps_titleFcolor" => "#FFFFFF",
79
  "advps_titleHcolor" => "#E6E6E6",
80
  "advps_titleFsize" => "22",
81
  "advps_excptFcolor" => "#FFFFFF",
85
  "advps_excpt_position" => "left",
86
  "advps_ed_link" => "enable",
87
  "advps_link_type" => "permalink",
88
+ "advps_link_target" => "_self",
89
  "advps_exclude_pager" => "no",
90
  "advps_pager_type" => "bullet",
91
  "advps_pager_right" => "8",
115
  "advps_imagemar" => "10",
116
  "advps_ed_link" => "enable",
117
  "advps_link_type" => "permalink",
118
+ "advps_link_target" => "_self",
119
  "advps_exclude_pager" => "no",
120
  "advps_pager_type" => "bullet",
121
  "advps_pager_right" => "8",
143
  "advps_bxshadcolor" => "#000000",
144
  "advps_remove_shd" => "no",
145
  "advps_cont_width" => "280",
146
+ "advps_ttitle_tag" => "h2",
147
  "advps_titleFcolor" => "#000000",
148
  "advps_titleHcolor" => "#E6E6E6",
149
  "advps_titleFsize" => "22",
152
  "advps_excerptlen" => "30",
153
  "advps_ed_link" => "enable",
154
  "advps_link_type" => "permalink",
155
+ "advps_link_target" => "_self",
156
  "advps_exclude_pager" => "no",
157
  "advps_pager_type" => "bullet",
158
  "advps_pager_right" => "8",
337
  }
338
  else return;
339
 
340
+ /*if($optset['advps_exclude']){
341
  $exclude = explode(',',$optset['advps_exclude']);
342
  if(!in_array($current,$exclude)){
343
  $exclude[] = $current;
346
  else
347
  {
348
  $exclude[] = $current;
349
+ }*/
350
 
351
  $query_arg = array(
352
  'post_type' => ($optset['advps_post_types']) ? $optset['advps_post_types'] : 'post',
481
  }
482
  ?>
483
  <div class="advps-slide" style="width:<?php if(isset($th_width)){echo $th_width;}?>px; height:<?php if(isset($th_height)){echo $th_height;}?>px;">
484
+ <?php if( $optset['advps_ed_link']=='enable'){?><a target="<?php echo $optset['advps_link_target'];?>" href="<?php if($optset['advps_link_type'] == 'permalink'){the_permalink();}else{echo get_post_meta($post->ID,'advps_custom_link',true);}?>"><?php }?>
485
  <?php
486
  if(has_post_thumbnail()){the_post_thumbnail($optset['advps_thumbnail']);}
487
  ?>
490
  <div class="advps-excerpt-<?php echo $template?>" style="width:<?php echo $optset['advps_overlay_width'];?>%;height:<?php echo $optset['advps_overlay_height'];?>%;<?php if($optset['advps_excpt_visibility'] == 'show on hover'){?>display:none;<?php }if($optset['advps_excpt_position'] == 'left'){?>top:0; left:0;<?php }elseif($optset['advps_excpt_position'] == 'right'){?>top:0; right:0;<?php }elseif($optset['advps_excpt_position'] == 'bottom'){?>bottom:0; left:0;<?php }?>">
491
  <div class="advps-overlay-<?php echo $template?>" style="background-color:<?php echo $optset['advps_overlay_color'];?>; -moz-opacity:<?php echo $optset['advps_overlay_opacity'];?>;filter:alpha(opacity=<?php echo $optset['advps_overlay_opacity']*100;?>);opacity:<?php echo $optset['advps_overlay_opacity'];?>;"></div>
492
  <div class="advps-excerpt-block-<?php echo $template?>" style="color:<?php echo $optset['advps_excptFcolor'];?>;font-size:<?php echo $optset['advps_excptFsize'];?>px;-moz-opacity:<?php echo $optset['advps_text_opacity'];?>;filter:alpha(opacity=<?php echo $optset['advps_text_opacity']*100;?>);opacity:<?php echo $optset['advps_text_opacity'];?>;">
493
+ <<?php echo $optset['advps_ttitle_tag'];?> class="advs-title" style="font-size:<?php echo $optset['advps_titleFsize'];?>px !important;margin:5px 0px 10px 0px !important;color:<?php echo $optset['advps_titleFcolor'];?>"><?php if( $optset['advps_ed_link']=='enable'){?><a target="<?php echo $optset['advps_link_target'];?>" href="<?php if($optset['advps_link_type'] == 'permalink'){the_permalink();}else{echo get_post_meta($post->ID,'advps_custom_link',true);}?>" style="color:<?php echo $optset['advps_titleFcolor'];?>"><?php }?><?php the_title();?><?php if( $optset['advps_ed_link']=='enable'){?></a><?php }?></<?php echo $optset['advps_ttitle_tag'];?>>
494
 
495
  <?php the_excerpt();?>
496
  </div>
497
  </div>
498
  </div>
499
  <?php elseif($template == 'two'):?>
500
+ <?php if($count % $postperslide == 1 || $postperslide == 1){?><ul class="advps-slide" style="overflow:hidden;"><?php }?><li style="width:<?php if(get_option($optset['advps_thumbnail'].'_size_w')){echo get_option($optset['advps_thumbnail'].'_size_w');}else{echo $_wp_additional_image_sizes[$optset['advps_thumbnail']]['width'];}?>px;height:<?php if(get_option($optset['advps_thumbnail'].'_size_h')){echo get_option($optset['advps_thumbnail'].'_size_h');}else{echo $_wp_additional_image_sizes[$optset['advps_thumbnail']]['height'];}?>px;<?php if($optset['advps_img_Orientation'] == 'horizontal'){{echo 'float:left'.';';}echo 'margin-right:'.$optset['advps_imagemar'].'px;';}else{echo 'margin-bottom:'.$optset['advps_imagemar'].'px;';}?>list-style:none;position:relative;"><?php if( $optset['advps_ed_link']=='enable'){?><a target="<?php echo $optset['advps_link_target'];?>" href="<?php if($optset['advps_link_type'] == 'permalink'){the_permalink();}else{echo get_post_meta($post->ID,'advps_custom_link',true);}?>"><?php }?>
501
  <?php
502
  /*echo $count .'and'. $postperslide*/;if(has_post_thumbnail()){the_post_thumbnail($optset['advps_thumbnail']);}
503
  ?>
506
  <?php elseif($template == 'three'):?>
507
  <div class="advps-slide">
508
  <div class="advps-slide-field-three" style="position:relative; float:left;width:<?php echo $optset['advps_sld_width'];?>px; height:<?php echo $optset['advps_sld_height'];?>px; overflow:hidden;">
509
+ <?php if(in_array('thumb',$optset['advps_content_set'])):if( $optset['advps_ed_link']=='enable'){?><a target="<?php echo $optset['advps_link_target'];?>" href="<?php if($optset['advps_link_type'] == 'permalink'){the_permalink();}else{echo get_post_meta($post->ID,'advps_custom_link',true);};?>"><?php }?>
510
  <?php if(has_post_thumbnail()){the_post_thumbnail($optset['advps_thumbnail']);}?>
511
  <?php if( $optset['advps_ed_link']=='enable'){?></a><?php }endif;?>
512
  <div class="advps-excerpt-<?php echo $template?>" style="position:relative;float:left;width:<?php echo $optset['advps_cont_width'];?>px;z-index:0; color:<?php echo $optset['advps_excptFcolor'];?>; font-size:<?php echo $optset['advps_excptFsize'];?>px;">
513
+ <?php if(in_array('title',$optset['advps_content_set'])){?><<?php echo $optset['advps_ttitle_tag'];?> class="advs-title" style="font-size:<?php echo $optset['advps_titleFsize'];?>px;margin:0px 0px 10px 0px;"> <?php if( $optset['advps_ed_link']=='enable'){?><a target="<?php echo $optset['advps_link_target'];?>" href="<?php if($optset['advps_link_type'] == 'permalink'){the_permalink();}else{echo get_post_meta($post->ID,'advps_custom_link',true);}?>" style="color:<?php echo $optset['advps_titleFcolor'];?>;"><?php }?>
514
  <?php the_title();?>
515
+ <?php if( $optset['advps_ed_link']=='enable'){?></a><?php }?></<?php echo $optset['advps_ttitle_tag'];?>><?php }?>
516
  <?php if(in_array('content',$optset['advps_content_set'])){
517
  the_content();
518
  }
advps-admin.php CHANGED
@@ -168,7 +168,6 @@ fieldset {
168
  <?php /*?><a href="?page=advps-slideshow&tab=styling" class="nav-tab <?php if($currTab == 'styling'){echo 'nav-tab-active';}?>">Styling</a> <?php */?>
169
  </h2>
170
  <?php if($currTab == 'one'){foreach( $res1 as $dset){ $dataSet = unserialize($dset->opt_data);?>
171
-
172
  <div class="metabox-holder" style="margin-top:20px;">
173
  <div class="postbox-container" style="width:65%">
174
  <div class="postbox <?php if(!isset($_POST['opt_id']) || $_POST['opt_id'] != $dset->id){echo 'closed';}?>">
@@ -230,6 +229,7 @@ fieldset {
230
  <option value="name" <?php if($dataSet['advps_order_by'] == 'name'){echo 'selected="selected"';}?>>Name</option>
231
  <option value="rand" <?php if($dataSet['advps_order_by'] == 'rand'){echo 'selected="selected"';}?>>Random</option>
232
  <option value="menu_order" <?php if($dataSet['advps_order_by'] == 'menu_order'){echo 'selected="selected"';}?>>Menu order</option>
 
233
  </select></td>
234
  </tr>
235
  <tr>
@@ -449,6 +449,15 @@ fieldset {
449
  <td><input type="text" name="advps_text_opacity" value="<?php echo $dataSet['advps_text_opacity'];?>" style="width:50px;" />
450
  &nbsp;<span style="padding-left:10px; font-size:10px; font-style:italic;">[ 0 - 1 ]</span></td>
451
  </tr>
 
 
 
 
 
 
 
 
 
452
  <tr>
453
  <th scope="row">Title font Color</th>
454
  <td><input type="text" name="advps_titleFcolor" value="<?php echo $dataSet['advps_titleFcolor'];?>" style="width:100px;" class="advps-color-picker" id="advpscolor<?php echo ++$flg?>" />
@@ -507,8 +516,17 @@ fieldset {
507
  <option value="permalink" <?php if($dataSet['advps_link_type'] == 'permalink'){echo 'selected="selected"';}?>>Permalink</option>
508
  <option value="custom" <?php if($dataSet['advps_link_type'] == 'custom'){echo 'selected="selected"';}?>>Custom</option>
509
  </select>
510
- <span style="padding-left:10px; font-size:10px; font-style:italic;">[ N.B. For custom link create a custom field with name 'advps_custom_link' ]</span>
511
- </td>
 
 
 
 
 
 
 
 
 
512
  </tr>
513
  </table>
514
  </fieldset>
@@ -554,7 +572,7 @@ fieldset {
554
  </table>
555
  </fieldset>
556
  <input type="hidden" value="<?php echo $dset->id;?>" name="opt_id" />
557
- <?php wp_nonce_field('advps-checkauthnonce','advps_wpnonce'); ?>
558
  <p>
559
  <input type="submit" name="advps_submit" value="Save changes" class="button-primary" />
560
  </p>
@@ -621,6 +639,7 @@ fieldset {
621
  <option value="name">Name</option>
622
  <option value="rand">Random</option>
623
  <option value="menu_order">Menu order</option>
 
624
  </select></td>
625
  </tr>
626
  <tr>
@@ -753,7 +772,6 @@ fieldset {
753
  <input type="text" name="advps_sld_height" value="270" style="width:80px;" onkeypress="return onlyNum(event);" />
754
  px</td>
755
  </tr>
756
-
757
  <tr>
758
  <th scope="row">Padding</th>
759
  <td><input type="text" name="advps_contpad1" value="10" style="width:40px;" onkeypress="return onlyNum(event);" />
@@ -841,6 +859,15 @@ fieldset {
841
  <td><input type="text" name="advps_text_opacity" value="1" style="width:50px;" />
842
  &nbsp;<span style="padding-left:10px; font-size:10px; font-style:italic;">[ 0 - 1 ]</span></td>
843
  </tr>
 
 
 
 
 
 
 
 
 
844
  <tr>
845
  <th scope="row">Title font Color</th>
846
  <td><input id="advpscolor<?php echo ++$flg?>" type="text" name="advps_titleFcolor" value="#FFFFFF" style="width:100px;" class="advps-color-picker" />
@@ -898,7 +925,18 @@ fieldset {
898
  <td><select name="advps_link_type">
899
  <option value="permalink" selected="selected">Permalink</option>
900
  <option value="custom">Custom</option>
901
- </select><span style="padding-left:10px; font-size:10px; font-style:italic;">[ N.B. For custom link create a custom field with name 'advps_custom_link' ]</span></td>
 
 
 
 
 
 
 
 
 
 
 
902
  </tr>
903
  </table>
904
  </fieldset>
@@ -1004,7 +1042,8 @@ fieldset {
1004
  </tr>
1005
  <tr>
1006
  <th scope="row">Max. Number of post</th>
1007
- <td><input type="text" name="advps_maxpost" value="<?php echo $dataSet['advps_maxpost'];?>" style="width:60px;" onkeypress="return onlyNum(event);" /> <span style="padding-left:10px; font-size:10px; font-style:italic;">[ * Maximum Slides]</span></td>
 
1008
  </tr>
1009
  <tr>
1010
  <th scope="row">Post per Slide</th>
@@ -1025,6 +1064,7 @@ fieldset {
1025
  <option value="name" <?php if($dataSet['advps_order_by'] == 'name'){echo 'selected="selected"';}?>>Name</option>
1026
  <option value="rand" <?php if($dataSet['advps_order_by'] == 'rand'){echo 'selected="selected"';}?>>Random</option>
1027
  <option value="menu_order" <?php if($dataSet['advps_order_by'] == 'menu_order'){echo 'selected="selected"';}?>>Menu order</option>
 
1028
  </select></td>
1029
  </tr>
1030
  <tr>
@@ -1221,13 +1261,13 @@ fieldset {
1221
  <td><select name="advps_img_Orientation">
1222
  <option value="horizontal" <?php if($dataSet['advps_img_Orientation'] == 'horizontal'){echo 'selected="selected"';}?>>Horizontal</option>
1223
  <option value="vertical" <?php if($dataSet['advps_img_Orientation'] == 'vertical'){echo 'selected="selected"';}?>>Vertical</option>
1224
- </select><span style="padding-left:10px; font-size:10px; font-style:italic;">[ * Skip this if you want to show single image per slide.]</span></td>
 
1225
  </tr>
1226
  <tr>
1227
  <th scope="row">Margin between Images</th>
1228
  <td><input type="text" name="advps_imagemar" value="<?php echo $dataSet['advps_imagemar'];?>" style="width:40px;" onkeypress="return onlyNum(event);" />
1229
- px &nbsp;&nbsp;<span style="padding-left:10px; font-size:10px; font-style:italic;">[ * Skip this if you want to show single image per slide.]</span>
1230
- </td>
1231
  </tr>
1232
  <tr>
1233
  <th scope="row">Enable/Disable link</th>
@@ -1241,7 +1281,18 @@ fieldset {
1241
  <td><select name="advps_link_type">
1242
  <option value="permalink" <?php if($dataSet['advps_link_type'] == 'permalink'){echo 'selected="selected"';}?>>Permalink</option>
1243
  <option value="custom" <?php if($dataSet['advps_link_type'] == 'custom'){echo 'selected="selected"';}?>>Custom</option>
1244
- </select><span style="padding-left:10px; font-size:10px; font-style:italic;">[ N.B. For custom link create a custom field with name 'advps_custom_link' ]</span></td>
 
 
 
 
 
 
 
 
 
 
 
1245
  </tr>
1246
  </table>
1247
  </fieldset>
@@ -1355,9 +1406,10 @@ fieldset {
1355
  <option value="ID">ID</option>
1356
  <option value="author">Author</option>
1357
  <option value="title">Title</option>
1358
- <option value="name">>Name</option>
1359
  <option value="rand">Random</option>
1360
  <option value="menu_order">Menu order</option>
 
1361
  </select></td>
1362
  </tr>
1363
  <tr>
@@ -1490,7 +1542,6 @@ fieldset {
1490
  <input type="text" name="advps_sld_height" value="225" style="width:80px;" onkeypress="return onlyNum(event);" />
1491
  px</td>
1492
  </tr>
1493
-
1494
  <tr>
1495
  <th scope="row">Padding</th>
1496
  <td><input type="text" name="advps_contpad1" value="10" style="width:40px;" onkeypress="return onlyNum(event);" />
@@ -1555,13 +1606,13 @@ fieldset {
1555
  <td><select name="advps_img_Orientation">
1556
  <option value="horizontal" selected="selected">Horizontal</option>
1557
  <option value="vertical">Vertical</option>
1558
- </select><span style="padding-left:10px; font-size:10px; font-style:italic;">[ * Skip this if you want to show single image per slide.]</span></td>
 
1559
  </tr>
1560
  <tr>
1561
  <th scope="row">Margin between Images</th>
1562
  <td><input type="text" name="advps_imagemar" value="10" style="width:40px;" onkeypress="return onlyNum(event);" />
1563
- px &nbsp;&nbsp;<span style="padding-left:10px; font-size:10px; font-style:italic;">[ * Skip this if you want to show single image per slide.]</span>
1564
- </td>
1565
  </tr>
1566
  <tr>
1567
  <th scope="row">Enable/Disable link</th>
@@ -1575,7 +1626,18 @@ fieldset {
1575
  <td><select name="advps_link_type">
1576
  <option value="permalink" selected="selected">Permalink</option>
1577
  <option value="custom">Custom</option>
1578
- </select><span style="padding-left:10px; font-size:10px; font-style:italic;">[ N.B. For custom link create a custom field with name 'advps_custom_link' ]</span></td>
 
 
 
 
 
 
 
 
 
 
 
1579
  </tr>
1580
  </table>
1581
  </fieldset>
@@ -1698,6 +1760,7 @@ fieldset {
1698
  <option value="name" <?php if($dataSet['advps_order_by'] == 'name'){echo 'selected="selected"';}?>>Name</option>
1699
  <option value="rand" <?php if($dataSet['advps_order_by'] == 'rand'){echo 'selected="selected"';}?>>Random</option>
1700
  <option value="menu_order" <?php if($dataSet['advps_order_by'] == 'menu_order'){echo 'selected="selected"';}?>>Menu order</option>
 
1701
  </select></td>
1702
  </tr>
1703
  <tr>
@@ -1904,6 +1967,15 @@ fieldset {
1904
  <td><input type="text" name="advps_cont_width" value="<?php echo $dataSet['advps_cont_width'];?>" style="width:60px;" onkeypress="return onlyNum(event);" />
1905
  px</td>
1906
  </tr>
 
 
 
 
 
 
 
 
 
1907
  <tr>
1908
  <th scope="row">Title font Color</th>
1909
  <td><input id="advpscolor<?php echo ++$flg?>" type="text" name="advps_titleFcolor" value="<?php echo $dataSet['advps_titleFcolor'];?>" style="width:100px;" class="advps-color-picker" />
@@ -1946,7 +2018,18 @@ fieldset {
1946
  <td><select name="advps_link_type">
1947
  <option value="permalink" <?php if($dataSet['advps_link_type'] == 'permalink'){echo 'selected="selected"';}?>>Permalink</option>
1948
  <option value="custom" <?php if($dataSet['advps_link_type'] == 'custom'){echo 'selected="selected"';}?>>Custom</option>
1949
- </select><span style="padding-left:10px; font-size:10px; font-style:italic;">[ N.B. For custom link create a custom field with name 'advps_custom_link' ]</span></td>
 
 
 
 
 
 
 
 
 
 
 
1950
  </tr>
1951
  </table>
1952
  </fieldset>
@@ -2056,9 +2139,10 @@ fieldset {
2056
  <option value="ID">ID</option>
2057
  <option value="author">Author</option>
2058
  <option value="title">Title</option>
2059
- <option value="name">>Name</option>
2060
  <option value="rand">Random</option>
2061
  <option value="menu_order">Menu order</option>
 
2062
  </select></td>
2063
  </tr>
2064
  <tr>
@@ -2265,6 +2349,15 @@ fieldset {
2265
  <td><input type="text" name="advps_cont_width" value="280" style="width:60px;" onkeypress="return onlyNum(event);" />
2266
  px</td>
2267
  </tr>
 
 
 
 
 
 
 
 
 
2268
  <tr>
2269
  <th scope="row">Title font Color</th>
2270
  <td><input id="advpscolor<?php echo ++$flg?>" type="text" name="advps_titleFcolor" value="#000000" style="width:100px;" class="advps-color-picker" />
@@ -2307,7 +2400,18 @@ fieldset {
2307
  <td><select name="advps_link_type">
2308
  <option value="permalink" selected="selected">Permalink</option>
2309
  <option value="custom">Custom</option>
2310
- </select><span style="padding-left:10px; font-size:10px; font-style:italic;">[ N.B. For custom link create a custom field with name 'advps_custom_link' ]</span></td>
 
 
 
 
 
 
 
 
 
 
 
2311
  </tr>
2312
  </table>
2313
  </fieldset>
@@ -2384,14 +2488,13 @@ fieldset {
2384
  <td>Width&nbsp;
2385
  <input type="text" name="advps_thumb_width" value="<?php echo $thmb->width;?>" style="width:80px;" onkeypress="return onlyNum(event);" />
2386
  px&nbsp;&nbsp;&nbsp;Height&nbsp;
2387
- <input type="text" name="advps_thumb_height" value="<?php echo $thmb->height;?>" style="width:80px;" onkeypress="return onlyNum(event);" />px
2388
- <span style="margin-left:20px;">Crop&nbsp;
2389
  <select name="advps_crop">
2390
- <option value="yes" <?php if($thmb->crop == 'yes'){echo 'selected="selected"';}?>>true</option>
2391
- <option value="no" <?php if($thmb->crop == 'no'){echo 'selected="selected"';}?>>false</option>
2392
- </select>
2393
- </span>
2394
- <span style="margin-left:20px;">
2395
  <input type="submit" value="Save" class="button-secondary" name="update_thumb" />
2396
  </span></td>
2397
  <input type="hidden" value="<?php echo $thmb->id;?>" name="thumb_id" />
@@ -2421,11 +2524,10 @@ fieldset {
2421
  <input type="text" name="advps_thumb_height" value="" style="width:80px;" onkeypress="return onlyNum(event);" />
2422
  px <span style="margin-left:20px;">Crop&nbsp;
2423
  <select name="advps_crop">
2424
- <option value="yes">true</option>
2425
- <option value="no" selected="selected">false</option>
2426
- </select>
2427
- </span>
2428
- <span style="margin-left:20px;">
2429
  <?php wp_nonce_field('advps-checkauthnonce','advps_wpnonce'); ?>
2430
  <input type="submit" value="Add" class="button-secondary" name="advps_add_thumb" />
2431
  </span></td>
@@ -2438,4 +2540,4 @@ fieldset {
2438
  </div>
2439
  <?php }?>
2440
  </div>
2441
- <meta name="wpversion" content="<?php echo $wp_version;?>" />
168
  <?php /*?><a href="?page=advps-slideshow&tab=styling" class="nav-tab <?php if($currTab == 'styling'){echo 'nav-tab-active';}?>">Styling</a> <?php */?>
169
  </h2>
170
  <?php if($currTab == 'one'){foreach( $res1 as $dset){ $dataSet = unserialize($dset->opt_data);?>
 
171
  <div class="metabox-holder" style="margin-top:20px;">
172
  <div class="postbox-container" style="width:65%">
173
  <div class="postbox <?php if(!isset($_POST['opt_id']) || $_POST['opt_id'] != $dset->id){echo 'closed';}?>">
229
  <option value="name" <?php if($dataSet['advps_order_by'] == 'name'){echo 'selected="selected"';}?>>Name</option>
230
  <option value="rand" <?php if($dataSet['advps_order_by'] == 'rand'){echo 'selected="selected"';}?>>Random</option>
231
  <option value="menu_order" <?php if($dataSet['advps_order_by'] == 'menu_order'){echo 'selected="selected"';}?>>Menu order</option>
232
+ <option value="comment_count" <?php if($dataSet['advps_order_by'] == 'comment_count'){echo 'selected="selected"';}?>>Comment count</option>
233
  </select></td>
234
  </tr>
235
  <tr>
449
  <td><input type="text" name="advps_text_opacity" value="<?php echo $dataSet['advps_text_opacity'];?>" style="width:50px;" />
450
  &nbsp;<span style="padding-left:10px; font-size:10px; font-style:italic;">[ 0 - 1 ]</span></td>
451
  </tr>
452
+ <tr>
453
+ <th scope="row">Title tag</th>
454
+ <td><select name="advps_ttitle_tag">
455
+ <option value="h1" <?php if($dataSet['advps_ttitle_tag'] == 'h1'){echo 'selected="selected"';}?>>h1</option>
456
+ <option value="h2" <?php if($dataSet['advps_ttitle_tag'] == 'h2'){echo 'selected="selected"';}?>>h2</option>
457
+ <option value="h3" <?php if($dataSet['advps_ttitle_tag'] == 'h3'){echo 'selected="selected"';}?>>h3</option>
458
+ <option value="div" <?php if($dataSet['advps_ttitle_tag'] == 'div'){echo 'selected="selected"';}?>>div</option>
459
+ </select></td>
460
+ </tr>
461
  <tr>
462
  <th scope="row">Title font Color</th>
463
  <td><input type="text" name="advps_titleFcolor" value="<?php echo $dataSet['advps_titleFcolor'];?>" style="width:100px;" class="advps-color-picker" id="advpscolor<?php echo ++$flg?>" />
516
  <option value="permalink" <?php if($dataSet['advps_link_type'] == 'permalink'){echo 'selected="selected"';}?>>Permalink</option>
517
  <option value="custom" <?php if($dataSet['advps_link_type'] == 'custom'){echo 'selected="selected"';}?>>Custom</option>
518
  </select>
519
+ <span style="padding-left:10px; font-size:10px; font-style:italic;">[ N.B. For custom link create a custom field with name 'advps_custom_link' ]</span></td>
520
+ </tr>
521
+ <tr>
522
+ <th scope="row">link target</th>
523
+ <td><select name="advps_link_target">
524
+ <option value="_self" <?php if($dataSet['advps_link_target'] == '_self'){echo 'selected="selected"';}?>>_self</option>
525
+ <option value="_blank" <?php if($dataSet['advps_link_target'] == '_blank'){echo 'selected="selected"';}?>>_blank</option>
526
+ <option value="_new" <?php if($dataSet['advps_link_target'] == '_new'){echo 'selected="selected"';}?>>_new</option>
527
+ <option value="_top" <?php if($dataSet['advps_link_target'] == '_top'){echo 'selected="selected"';}?>>_top</option>
528
+ <option value="_parent" <?php if($dataSet['advps_link_target'] == '_parent'){echo 'selected="selected"';}?>>_parent</option>
529
+ </select></td>
530
  </tr>
531
  </table>
532
  </fieldset>
572
  </table>
573
  </fieldset>
574
  <input type="hidden" value="<?php echo $dset->id;?>" name="opt_id" />
575
+ <?php wp_nonce_field('advps-checkauthnonce','advps_wpnonce'); ?>
576
  <p>
577
  <input type="submit" name="advps_submit" value="Save changes" class="button-primary" />
578
  </p>
639
  <option value="name">Name</option>
640
  <option value="rand">Random</option>
641
  <option value="menu_order">Menu order</option>
642
+ <option value="comment_count">Comment count</option>
643
  </select></td>
644
  </tr>
645
  <tr>
772
  <input type="text" name="advps_sld_height" value="270" style="width:80px;" onkeypress="return onlyNum(event);" />
773
  px</td>
774
  </tr>
 
775
  <tr>
776
  <th scope="row">Padding</th>
777
  <td><input type="text" name="advps_contpad1" value="10" style="width:40px;" onkeypress="return onlyNum(event);" />
859
  <td><input type="text" name="advps_text_opacity" value="1" style="width:50px;" />
860
  &nbsp;<span style="padding-left:10px; font-size:10px; font-style:italic;">[ 0 - 1 ]</span></td>
861
  </tr>
862
+ <tr>
863
+ <th scope="row">Title tag</th>
864
+ <td><select name="advps_ttitle_tag">
865
+ <option value="h1">h1</option>
866
+ <option value="h2" selected="selected">h2</option>
867
+ <option value="h3">h3</option>
868
+ <option value="div">div</option>
869
+ </select></td>
870
+ </tr>
871
  <tr>
872
  <th scope="row">Title font Color</th>
873
  <td><input id="advpscolor<?php echo ++$flg?>" type="text" name="advps_titleFcolor" value="#FFFFFF" style="width:100px;" class="advps-color-picker" />
925
  <td><select name="advps_link_type">
926
  <option value="permalink" selected="selected">Permalink</option>
927
  <option value="custom">Custom</option>
928
+ </select>
929
+ <span style="padding-left:10px; font-size:10px; font-style:italic;">[ N.B. For custom link create a custom field with name 'advps_custom_link' ]</span></td>
930
+ </tr>
931
+ <tr>
932
+ <th scope="row">link target</th>
933
+ <td><select name="advps_link_target">
934
+ <option value="_self" selected="selected">_self</option>
935
+ <option value="_blank">_blank</option>
936
+ <option value="_new">_new</option>
937
+ <option value="_top">_top</option>
938
+ <option value="_parent">_parent</option>
939
+ </select></td>
940
  </tr>
941
  </table>
942
  </fieldset>
1042
  </tr>
1043
  <tr>
1044
  <th scope="row">Max. Number of post</th>
1045
+ <td><input type="text" name="advps_maxpost" value="<?php echo $dataSet['advps_maxpost'];?>" style="width:60px;" onkeypress="return onlyNum(event);" />
1046
+ <span style="padding-left:10px; font-size:10px; font-style:italic;">[ * Maximum Slides]</span></td>
1047
  </tr>
1048
  <tr>
1049
  <th scope="row">Post per Slide</th>
1064
  <option value="name" <?php if($dataSet['advps_order_by'] == 'name'){echo 'selected="selected"';}?>>Name</option>
1065
  <option value="rand" <?php if($dataSet['advps_order_by'] == 'rand'){echo 'selected="selected"';}?>>Random</option>
1066
  <option value="menu_order" <?php if($dataSet['advps_order_by'] == 'menu_order'){echo 'selected="selected"';}?>>Menu order</option>
1067
+ <option value="comment_count" <?php if($dataSet['advps_order_by'] == 'comment_count'){echo 'selected="selected"';}?>>Comment count</option>
1068
  </select></td>
1069
  </tr>
1070
  <tr>
1261
  <td><select name="advps_img_Orientation">
1262
  <option value="horizontal" <?php if($dataSet['advps_img_Orientation'] == 'horizontal'){echo 'selected="selected"';}?>>Horizontal</option>
1263
  <option value="vertical" <?php if($dataSet['advps_img_Orientation'] == 'vertical'){echo 'selected="selected"';}?>>Vertical</option>
1264
+ </select>
1265
+ <span style="padding-left:10px; font-size:10px; font-style:italic;">[ * Skip this if you want to show single image per slide.]</span></td>
1266
  </tr>
1267
  <tr>
1268
  <th scope="row">Margin between Images</th>
1269
  <td><input type="text" name="advps_imagemar" value="<?php echo $dataSet['advps_imagemar'];?>" style="width:40px;" onkeypress="return onlyNum(event);" />
1270
+ px &nbsp;&nbsp;<span style="padding-left:10px; font-size:10px; font-style:italic;">[ * Skip this if you want to show single image per slide.]</span></td>
 
1271
  </tr>
1272
  <tr>
1273
  <th scope="row">Enable/Disable link</th>
1281
  <td><select name="advps_link_type">
1282
  <option value="permalink" <?php if($dataSet['advps_link_type'] == 'permalink'){echo 'selected="selected"';}?>>Permalink</option>
1283
  <option value="custom" <?php if($dataSet['advps_link_type'] == 'custom'){echo 'selected="selected"';}?>>Custom</option>
1284
+ </select>
1285
+ <span style="padding-left:10px; font-size:10px; font-style:italic;">[ N.B. For custom link create a custom field with name 'advps_custom_link' ]</span></td>
1286
+ </tr>
1287
+ <tr>
1288
+ <th scope="row">link target</th>
1289
+ <td><select name="advps_link_target">
1290
+ <option value="_self" <?php if($dataSet['advps_link_target'] == '_self'){echo 'selected="selected"';}?>>_self</option>
1291
+ <option value="_blank" <?php if($dataSet['advps_link_target'] == '_blank'){echo 'selected="selected"';}?>>_blank</option>
1292
+ <option value="_new" <?php if($dataSet['advps_link_target'] == '_new'){echo 'selected="selected"';}?>>_new</option>
1293
+ <option value="_top" <?php if($dataSet['advps_link_target'] == '_top'){echo 'selected="selected"';}?>>_top</option>
1294
+ <option value="_parent" <?php if($dataSet['advps_link_target'] == '_parent'){echo 'selected="selected"';}?>>_parent</option>
1295
+ </select></td>
1296
  </tr>
1297
  </table>
1298
  </fieldset>
1406
  <option value="ID">ID</option>
1407
  <option value="author">Author</option>
1408
  <option value="title">Title</option>
1409
+ <option value="name">Name</option>
1410
  <option value="rand">Random</option>
1411
  <option value="menu_order">Menu order</option>
1412
+ <option value="comment_count">Comment count</option>
1413
  </select></td>
1414
  </tr>
1415
  <tr>
1542
  <input type="text" name="advps_sld_height" value="225" style="width:80px;" onkeypress="return onlyNum(event);" />
1543
  px</td>
1544
  </tr>
 
1545
  <tr>
1546
  <th scope="row">Padding</th>
1547
  <td><input type="text" name="advps_contpad1" value="10" style="width:40px;" onkeypress="return onlyNum(event);" />
1606
  <td><select name="advps_img_Orientation">
1607
  <option value="horizontal" selected="selected">Horizontal</option>
1608
  <option value="vertical">Vertical</option>
1609
+ </select>
1610
+ <span style="padding-left:10px; font-size:10px; font-style:italic;">[ * Skip this if you want to show single image per slide.]</span></td>
1611
  </tr>
1612
  <tr>
1613
  <th scope="row">Margin between Images</th>
1614
  <td><input type="text" name="advps_imagemar" value="10" style="width:40px;" onkeypress="return onlyNum(event);" />
1615
+ px &nbsp;&nbsp;<span style="padding-left:10px; font-size:10px; font-style:italic;">[ * Skip this if you want to show single image per slide.]</span></td>
 
1616
  </tr>
1617
  <tr>
1618
  <th scope="row">Enable/Disable link</th>
1626
  <td><select name="advps_link_type">
1627
  <option value="permalink" selected="selected">Permalink</option>
1628
  <option value="custom">Custom</option>
1629
+ </select>
1630
+ <span style="padding-left:10px; font-size:10px; font-style:italic;">[ N.B. For custom link create a custom field with name 'advps_custom_link' ]</span></td>
1631
+ </tr>
1632
+ <tr>
1633
+ <th scope="row">link target</th>
1634
+ <td><select name="advps_link_target">
1635
+ <option value="_self" selected="selected">_self</option>
1636
+ <option value="_blank">_blank</option>
1637
+ <option value="_new">_new</option>
1638
+ <option value="_top">_top</option>
1639
+ <option value="_parent">_parent</option>
1640
+ </select></td>
1641
  </tr>
1642
  </table>
1643
  </fieldset>
1760
  <option value="name" <?php if($dataSet['advps_order_by'] == 'name'){echo 'selected="selected"';}?>>Name</option>
1761
  <option value="rand" <?php if($dataSet['advps_order_by'] == 'rand'){echo 'selected="selected"';}?>>Random</option>
1762
  <option value="menu_order" <?php if($dataSet['advps_order_by'] == 'menu_order'){echo 'selected="selected"';}?>>Menu order</option>
1763
+ <option value="comment_count" <?php if($dataSet['advps_order_by'] == 'comment_count'){echo 'selected="selected"';}?>>Comment count</option>
1764
  </select></td>
1765
  </tr>
1766
  <tr>
1967
  <td><input type="text" name="advps_cont_width" value="<?php echo $dataSet['advps_cont_width'];?>" style="width:60px;" onkeypress="return onlyNum(event);" />
1968
  px</td>
1969
  </tr>
1970
+ <tr>
1971
+ <th scope="row">Title tag</th>
1972
+ <td><select name="advps_ttitle_tag">
1973
+ <option value="h1" <?php if($dataSet['advps_ttitle_tag'] == 'h1'){echo 'selected="selected"';}?>>h1</option>
1974
+ <option value="h2" <?php if($dataSet['advps_ttitle_tag'] == 'h2'){echo 'selected="selected"';}?>>h2</option>
1975
+ <option value="h3" <?php if($dataSet['advps_ttitle_tag'] == 'h3'){echo 'selected="selected"';}?>>h3</option>
1976
+ <option value="div" <?php if($dataSet['advps_ttitle_tag'] == 'div'){echo 'selected="selected"';}?>>div</option>
1977
+ </select></td>
1978
+ </tr>
1979
  <tr>
1980
  <th scope="row">Title font Color</th>
1981
  <td><input id="advpscolor<?php echo ++$flg?>" type="text" name="advps_titleFcolor" value="<?php echo $dataSet['advps_titleFcolor'];?>" style="width:100px;" class="advps-color-picker" />
2018
  <td><select name="advps_link_type">
2019
  <option value="permalink" <?php if($dataSet['advps_link_type'] == 'permalink'){echo 'selected="selected"';}?>>Permalink</option>
2020
  <option value="custom" <?php if($dataSet['advps_link_type'] == 'custom'){echo 'selected="selected"';}?>>Custom</option>
2021
+ </select>
2022
+ <span style="padding-left:10px; font-size:10px; font-style:italic;">[ N.B. For custom link create a custom field with name 'advps_custom_link' ]</span></td>
2023
+ </tr>
2024
+ <tr>
2025
+ <th scope="row">link target</th>
2026
+ <td><select name="advps_link_target">
2027
+ <option value="_self" <?php if($dataSet['advps_link_target'] == '_self'){echo 'selected="selected"';}?>>_self</option>
2028
+ <option value="_blank" <?php if($dataSet['advps_link_target'] == '_blank'){echo 'selected="selected"';}?>>_blank</option>
2029
+ <option value="_new" <?php if($dataSet['advps_link_target'] == '_new'){echo 'selected="selected"';}?>>_new</option>
2030
+ <option value="_top" <?php if($dataSet['advps_link_target'] == '_top'){echo 'selected="selected"';}?>>_top</option>
2031
+ <option value="_parent" <?php if($dataSet['advps_link_target'] == '_parent'){echo 'selected="selected"';}?>>_parent</option>
2032
+ </select></td>
2033
  </tr>
2034
  </table>
2035
  </fieldset>
2139
  <option value="ID">ID</option>
2140
  <option value="author">Author</option>
2141
  <option value="title">Title</option>
2142
+ <option value="name">Name</option>
2143
  <option value="rand">Random</option>
2144
  <option value="menu_order">Menu order</option>
2145
+ <option value="comment_count">Comment count</option>
2146
  </select></td>
2147
  </tr>
2148
  <tr>
2349
  <td><input type="text" name="advps_cont_width" value="280" style="width:60px;" onkeypress="return onlyNum(event);" />
2350
  px</td>
2351
  </tr>
2352
+ <tr>
2353
+ <th scope="row">Title tag</th>
2354
+ <td><select name="advps_ttitle_tag">
2355
+ <option value="h1">h1</option>
2356
+ <option value="h2" selected="selected">h2</option>
2357
+ <option value="h3">h3</option>
2358
+ <option value="div">div</option>
2359
+ </select></td>
2360
+ </tr>
2361
  <tr>
2362
  <th scope="row">Title font Color</th>
2363
  <td><input id="advpscolor<?php echo ++$flg?>" type="text" name="advps_titleFcolor" value="#000000" style="width:100px;" class="advps-color-picker" />
2400
  <td><select name="advps_link_type">
2401
  <option value="permalink" selected="selected">Permalink</option>
2402
  <option value="custom">Custom</option>
2403
+ </select>
2404
+ <span style="padding-left:10px; font-size:10px; font-style:italic;">[ N.B. For custom link create a custom field with name 'advps_custom_link' ]</span></td>
2405
+ </tr>
2406
+ <tr>
2407
+ <th scope="row">link target</th>
2408
+ <td><select name="advps_link_target">
2409
+ <option value="_self" selected="selected">_self</option>
2410
+ <option value="_blank">_blank</option>
2411
+ <option value="_new">_new</option>
2412
+ <option value="_top">_top</option>
2413
+ <option value="_parent">_parent</option>
2414
+ </select></td>
2415
  </tr>
2416
  </table>
2417
  </fieldset>
2488
  <td>Width&nbsp;
2489
  <input type="text" name="advps_thumb_width" value="<?php echo $thmb->width;?>" style="width:80px;" onkeypress="return onlyNum(event);" />
2490
  px&nbsp;&nbsp;&nbsp;Height&nbsp;
2491
+ <input type="text" name="advps_thumb_height" value="<?php echo $thmb->height;?>" style="width:80px;" onkeypress="return onlyNum(event);" />
2492
+ px <span style="margin-left:20px;">Crop&nbsp;
2493
  <select name="advps_crop">
2494
+ <option value="yes" <?php if($thmb->crop == 'yes'){echo 'selected="selected"';}?>>true</option>
2495
+ <option value="no" <?php if($thmb->crop == 'no'){echo 'selected="selected"';}?>>false</option>
2496
+ </select>
2497
+ </span> <span style="margin-left:20px;">
 
2498
  <input type="submit" value="Save" class="button-secondary" name="update_thumb" />
2499
  </span></td>
2500
  <input type="hidden" value="<?php echo $thmb->id;?>" name="thumb_id" />
2524
  <input type="text" name="advps_thumb_height" value="" style="width:80px;" onkeypress="return onlyNum(event);" />
2525
  px <span style="margin-left:20px;">Crop&nbsp;
2526
  <select name="advps_crop">
2527
+ <option value="yes">true</option>
2528
+ <option value="no" selected="selected">false</option>
2529
+ </select>
2530
+ </span> <span style="margin-left:20px;">
 
2531
  <?php wp_nonce_field('advps-checkauthnonce','advps_wpnonce'); ?>
2532
  <input type="submit" value="Add" class="button-secondary" name="advps_add_thumb" />
2533
  </span></td>
2540
  </div>
2541
  <?php }?>
2542
  </div>
2543
+ <meta name="wpversion" content="<?php echo $wp_version;?>" />
advps-style.css CHANGED
@@ -217,7 +217,7 @@
217
  cursor:pointer;
218
  }
219
 
220
- .advps-slide-container h1
221
  {
222
  line-height:30px;
223
  }
217
  cursor:pointer;
218
  }
219
 
220
+ .advps-slide-container .advs-title
221
  {
222
  line-height:30px;
223
  }
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Advanced post slider ===
2
  Contributors: digontoahsan
3
  Donate link:
4
- Tags: post slider, slider, slideshow, logo scroller, testimonial scroller, banner rotator, recent post slider, sidebar slideshow, posts, post, image slideshow
5
  Requires at least: 3.0.1
6
- Tested up to: 3.7
7
- Stable tag: 1.0
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -62,13 +62,12 @@ Dont have any FAQ for now.
62
 
63
  == Screenshots ==
64
 
65
- 1. Template one optionset
66
- 2. Template two optionset
67
- 3. Template three optionset
68
- 4. Thumbnail options
69
- 5. Template one sample
70
- 6. Template two sample
71
- 7. Template three sample
72
 
73
  == Changelog ==
74
 
1
  === Advanced post slider ===
2
  Contributors: digontoahsan
3
  Donate link:
4
+ Tags: post slider, slider, slideshow, logo scroller, testimonial scroller, banner rotator, recent post slider, sidebar slideshow, posts, post, image, image slideshow
5
  Requires at least: 3.0.1
6
+ Tested up to: 3.8.1
7
+ Stable tag: 1.1
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
62
 
63
  == Screenshots ==
64
 
65
+ 1. Templates and options
66
+ 2. Templates and options
67
+ 3. Thumbnail options
68
+ 4. Template one sample
69
+ 5. Template two sample
70
+ 6. Template three sample
 
71
 
72
  == Changelog ==
73