Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $args=array(
- 'post_type' => 'POST_TYPE_HERE',
- 'post_status' => 'publish',
- 'posts_per_page' => -1,
- 'caller_get_posts'=> 1,
- 'tax_query' => array(
- array(
- 'taxonomy' => 'TAXONOMIY_HERE',
- 'field' => 'slug',
- 'terms' => 'TEXONOMY_ITEM_HERE'
- )
- )
- );
- query_posts($args);
- ?>
- <?php?>
- <?php while ( have_posts() ) : the_post(); ?>
- <h3><?php the_title()?></h3>
- <?php the_content()?>
- <?php endwhile; wp_reset_query(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement