Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $temp = $wp_query;
- $wp_query = null;
- $wp_query = new WP_Query();
- $wp_query->query('showposts=-1&post_type=YOUR_POST_TYPE'.'&paged='.$paged);
- while ($wp_query->have_posts()) : $wp_query->the_post();
- ?>
- <!-- LOOP: Usual Post Template Stuff Here-->
- <?php the_terms( $post->ID, 'YOUR_TEXONOMY_NAME'); ?>
- <!-- LOOP: Usual Post Template Stuff Here-->
- <?php endwhile; ?>
- <?php
- $wp_query = null;
- $wp_query = $temp; // Reset
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement