Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $temp = $wp_query;
- $wp_query= null;
- $wp_query = new WP_Query();
- $wp_query->query('showposts=10'.'&paged='.$paged.'&cat=3');
- while($wp_query->have_posts()) : $wp_query->the_post();
- <!-- post model -->
- endwhile;
- <!-- navigation here -->
- <div class="navigation">
- <span class="alignleft"><?php next_posts_link('« Previous Entries') ?></span>
- <span class="alignright"><?php previous_posts_link('Next Entries »') ?></span>
- </div>
- <?php $wp_query = null; $wp_query = $temp;?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement