• Hi,
    whats wrong with my query?

    <?php
    $posts = query_posts($query_string . '&cat=-10');
    while(have_posts()) : the_post(); update_post_caches($posts);

    When i add “$posts = query_posts($query_string . ‘&cat=-10’);” everything broke, pagination not work, link on meniu and news also.

Viewing 1 replies (of 1 total)
  • <?php
    $args = query_posts($query_string . '&cat=-10');
    query_posts( $args );
    while(have_posts()) : the_post(); update_post_caches($posts);
Viewing 1 replies (of 1 total)
  • The topic ‘simply loop with query’ is closed to new replies.