• Resolved quisazadrah

    (@quisazadrah)


    Hi, the “ignore sticky” option isn’t working for me, settings i’m using:

    Post type: posts
    Taxonomy: Categorie -> "Biografie"
    Ignore sticky
    order by: title
    order: ascending

    i am on development ambient now.
    Can You tell me what i am checking for?

    i have posted the site on temporary server:
    Here…

    as you can see the first post is in sticky mode and on the right sidebar we can found the post repeated, and this I wont.

    forgive my bad english

    https://www.ads-software.com/plugins/flexible-posts-widget/

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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!

    Thread Starter quisazadrah

    (@quisazadrah)

    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”

    Thread Starter quisazadrah

    (@quisazadrah)

    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' );
    Thread Starter quisazadrah

    (@quisazadrah)

    Thank You,
    the filter it works fine.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Ignore sticky not working’ is closed to new replies.