Plugin Author
DaveE
(@dpe415)
Hello,
Sticky posts only apply on the blog homepage. See the WordPress documentation on Sticky Posts:
If checked, the post will be placed at the top of the front page of posts
I took at look at the link you provided, and see that this is a category archive. It is showing the 20 most recent posts from your blog. The FPW instance on the right titled “Gli Artisti :” is also showing a number of posts from the same category. I do not see any posts that are set to Sticky. As such, I’m not sure what your question or trouble is.
Could you provide a little more info on what the problem is? Thanks!
on the posted link, there is a custom category page, we can see this.
image
as You can see the sticky post will be printed on sidebar, but for that sidebar is selected the option “ignore sticky”
Can I help in some way?
may be useful to have access to the backoffice?
Plugin Author
DaveE
(@dpe415)
Howdy. Sorry for the delayed response. I’ve just been really busy.
It looks like I can correct this in an up coming release of the plugin. But in the mean time, feel free to use the following filter to make sure sticky posts don’t appear in the FPW loop at all:
/**
* Removes sticky posts from all Flexible Post Widget queries
* @param $query
* @return mixed
*/
function dpe_fpw_remove_stickies( $query ) {
$query['post__not_in'] = get_option( 'sticky_posts' );
return $query;
}
add_filter( 'dpe_fpw_args', 'dpe_fpw_remove_stickies' );
Thank You,
the filter it works fine.