WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using the following query in my frontpage template:

        <?php $paged = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1;
          'paged'           => $paged,
          'category_name'   =>'home,tumblr'

But for some reason, posts that are made sticky in either of these categories do not show up as the first posts in the output of the loop. It seems option is ignored somehow? How can I make sticky posts show up first?

share|improve this question
up vote 1 down vote accepted


Use WP_Query() instead.

$paged = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1;
$custom_cat_query_args = array(
    'paged'           => $paged,
    'category_name'   =>'home,tumblr'
$custom_cat_query = new WP_Query( $custom_cat_query_args );

By default, ignore_sticky_posts is set to 0, or do not ignore. So, the custom loop should handle sticky posts as per normal.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.