<?php | |
query_posts( array( 'post_type' => 'custom', 'taxonomy-slug' => 'term-slug' ) ); | |
if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> | |
<h3><?php the_title(); ?></h3> | |
<?php the_content(); ?> | |
<?php endwhile; endif; wp_reset_query(); ?> | |
<?php wp_reset_postdata(); ?> |

Leave a Reply