Sticky with custom query
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?
- The topic ‘Sticky with custom query’ is closed to new replies.