Apparently it already does this or they’ve added it because all it shows is my sticky posts and nothing else by default. It overrides all settings and it’s annoying me!
Personally, i patched the following file : advanced-post-slider.php to only displaying sticky_post.
This trick have to be redone after plugin update
The patch :
In the $query_args (~line 277), i add the sticky post option
$query_arg = array(
‘post_type’ => ($query[‘advps_post_types’]) ? $query[‘advps_post_types’] : ‘post’,
‘post__not_in’ => $exclude,
‘offset’ => ($query[‘advps_offset’]) ? $query[‘advps_offset’] : 0,
‘posts_per_page’ => ($query[‘advps_maxpost’]) ? $query[‘advps_maxpost’] : 10,
‘orderby’ => ($query[‘advps_order_by’]) ? $query[‘advps_order_by’] : ‘date’,
‘order’ => ($query[‘advps_order’]) ? $query[‘advps_order’] : ‘DESC’,
‘post__in’ => get_option( ‘sticky_posts’ ) // my Update
);
Hi,
I have the same problem as zoaCode, the slider only shows my sticky posts and not those I define in the settings. How can I fix it?
Thanks in advance