WordPress.org

Ready to get started?Download WordPress

Forums

category__in && sticky (3 posts)

  1. roakin
    Member
    Posted 4 years ago #

    hi,
    i have a query

    $args = array(
    	'paged' => $paged,
    	'posts_per_page' => 6,
    	'orderby' => 'date',
    	'order' => 'DESC'
    );
    query_posts($args);

    which works great ... but as soon as a i add a category filter, e.g. 'category__in' => array(12,13,14,15,16,17) sticky posts aren't displayed as first results ... of course i've studied the codex but i couldn't find a solution to my problem

    thx in advance

  2. chrishoward
    Member
    Posted 3 years ago #

    Same. Can this please be fixed.

    Also, if your use category__and then all stickies are returned from all categories - although, ironically, displayed first.

  3. JamesFrancis
    Member
    Posted 3 years ago #

    Yes indeed! It would be great if this issue could be fixed. It really limits what one is able to do with the sticky posts functionality!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.