WordPress.org

Ready to get started?Download WordPress

Forums

Sticky with custom query (1 post)

  1. baszer
    Member
    Posted 2 years ago #

    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?

    thanks

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

Topic Closed

This topic has been closed to new replies.

About this Topic