Version Description
- Fix for exclude option
=
Download this release
Release Info
Developer | digontoahsan |
Plugin | Advanced post slider |
Version | 1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1 to 1.2
- advanced-post-slider.php +4 -7
- readme.txt +9 -1
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.
|
7 |
Author: digontoahsan
|
8 |
Author URI: www.wpcue.com
|
9 |
License: GPL2
|
@@ -337,16 +337,13 @@
|
|
337 |
}
|
338 |
else return;
|
339 |
|
340 |
-
|
341 |
$exclude = explode(',',$optset['advps_exclude']);
|
342 |
-
if(!in_array($current,$exclude)){
|
343 |
-
$exclude[] = $current;
|
344 |
-
}
|
345 |
}
|
346 |
else
|
347 |
{
|
348 |
-
$exclude
|
349 |
-
}
|
350 |
|
351 |
$query_arg = array(
|
352 |
'post_type' => ($optset['advps_post_types']) ? $optset['advps_post_types'] : 'post',
|
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.2
|
7 |
Author: digontoahsan
|
8 |
Author URI: www.wpcue.com
|
9 |
License: GPL2
|
337 |
}
|
338 |
else return;
|
339 |
|
340 |
+
if($optset['advps_exclude']){
|
341 |
$exclude = explode(',',$optset['advps_exclude']);
|
|
|
|
|
|
|
342 |
}
|
343 |
else
|
344 |
{
|
345 |
+
$exclude = '';
|
346 |
+
}
|
347 |
|
348 |
$query_arg = array(
|
349 |
'post_type' => ($optset['advps_post_types']) ? $optset['advps_post_types'] : 'post',
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -74,6 +74,14 @@ Dont have any FAQ for now.
|
|
74 |
= 1.0 =
|
75 |
* First version.
|
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
== Upgrade Notice ==
|
78 |
* Current version
|
79 |
|
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.2
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
74 |
= 1.0 =
|
75 |
* First version.
|
76 |
|
77 |
+
= 1.1 =
|
78 |
+
* Option for title tag
|
79 |
+
* Option for link target
|
80 |
+
* Remove auto exclude current post
|
81 |
+
|
82 |
+
= 1.2 =
|
83 |
+
* Fix for exclude option
|
84 |
+
|
85 |
== Upgrade Notice ==
|
86 |
* Current version
|
87 |
|