Support » Themes and Templates » Sticky with custom query

  • Hello,

    my sticky doesnt work anymore since I used a custom query. This is my code:

    <?php if(have_posts()) : ?>
         <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    	   query_posts("category_name=cat1&paged=$paged"); ?>
            <?php while(have_posts()) : the_post(); ?>

    Does anybody know how to fix the sticky problem?


    [No bumping. If it’s that urgent, consider hiring someone.]

  • The topic ‘Sticky with custom query’ is closed to new replies.