Results 1 to 2 of 2

Thread: Custom Post Type via a specific Custom Taxonomy

  1. #1
    hoss9009 is offline Hello World
    Join Date
    Jun 2010
    Posts
    20

    Default Custom Post Type via a specific Custom Taxonomy

    I want to show post from a CPType, but more specifically, from a specific custom taxonomy of the CPType.

    Here's my look as it stands (w/ the taxonomy)
    Code:
    <?php $custom_query = new WP_Query('post_type=news&posts_per_page=4'); 
    while($custom_query->have_posts()) : $custom_query->the_post(); ?>
    Maybe something like this...?
    Code:
    <?php $loop = new WP_Query( array( 'post_type' => 'news', 'posts_per_page' => 5 , 'taxonomy'=>'slideshow') ); ?> <?php while ( $loop->have_posts() ) : $loop->

  2. #2
    jwack is offline Hello World
    Join Date
    Aug 2009
    Posts
    46

    Default

    is THIS what your looking for?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •