Title: phreshboy's Replies | WordPress.org

---

# phreshboy

  [  ](https://wordpress.org/support/users/phreshboy/)

 *   [Profile](https://wordpress.org/support/users/phreshboy/)
 *   [Topics Started](https://wordpress.org/support/users/phreshboy/topics/)
 *   [Replies Created](https://wordpress.org/support/users/phreshboy/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/phreshboy/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/phreshboy/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/phreshboy/engagements/)
 *   [Favorites](https://wordpress.org/support/users/phreshboy/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CPT-onomies: Using Custom Post Types as Taxonomies] New to Custom Post Types – Display issues](https://wordpress.org/support/topic/new-to-custom-post-types-display-issues/)
 *  Thread Starter [phreshboy](https://wordpress.org/support/users/phreshboy/)
 * (@phreshboy)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/new-to-custom-post-types-display-issues/#post-3528332)
 * YES! YES! Finally, thanks for the help, I have built many CMS sites with WP but
   have never used Custom Post Types. I love your plugin and I appreciate the help.
   This is perfect and I can now mark it up and customize the listing as needed.
   Once again, you rock.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CPT-onomies: Using Custom Post Types as Taxonomies] New to Custom Post Types – Display issues](https://wordpress.org/support/topic/new-to-custom-post-types-display-issues/)
 *  Thread Starter [phreshboy](https://wordpress.org/support/users/phreshboy/)
 * (@phreshboy)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/new-to-custom-post-types-display-issues/#post-3528330)
 * That code is throwing an error, I am working on it now.
    Fatal error: Call to
   a member function have_posts() on a non-object
 * I feel like we are almost there, at this rate I will have to give you a special
   thanks and a shout out on the site!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CPT-onomies: Using Custom Post Types as Taxonomies] New to Custom Post Types – Display issues](https://wordpress.org/support/topic/new-to-custom-post-types-display-issues/)
 *  Thread Starter [phreshboy](https://wordpress.org/support/users/phreshboy/)
 * (@phreshboy)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/new-to-custom-post-types-display-issues/#post-3528327)
 * Ah HA! Thanks so much for your help, this example highlights exactly what my 
   problem is. I have got this result before. What this code returns is
 * AWARD 1
    Excerpt
 * AWARD 2
    Exceprt
 * Winners:
    Winner 1 Winner 2 Winner 3
 * What I am looking for is
 * AWARD 1
    Winner 1 Winner 3
 * AWARD 3
    Winner1 Winner2
 * So that loop needs to get the award then catch the winners for that award. There
   are other ways of doing this, I was just hoping to use your plugin and custom
   post types to make it happen. I will keep looking and if you have new ideas, 
   please let me know.
 * I know you don’t have to help me with this, but I appreciate it very much. I 
   have beating my head on this for days now. Thanks again!
    Scott~
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CPT-onomies: Using Custom Post Types as Taxonomies] New to Custom Post Types – Display issues](https://wordpress.org/support/topic/new-to-custom-post-types-display-issues/)
 *  Thread Starter [phreshboy](https://wordpress.org/support/users/phreshboy/)
 * (@phreshboy)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/new-to-custom-post-types-display-issues/#post-3528294)
 * I can get either the “awards” post type to display or the “award winners” but
   not both nested together no matter what I try. I can look at the custom post 
   type awards and see the award winners associated with them, I think I have everything
   configured correctly. I just cant seem to write a loop that gets the CPT to nest.
 * Thanks again for any help you can provide. This is a good plugin but implementation
   is proving to be a little tricky for me anyway.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CPT-onomies: Using Custom Post Types as Taxonomies] New to Custom Post Types – Display issues](https://wordpress.org/support/topic/new-to-custom-post-types-display-issues/)
 *  Thread Starter [phreshboy](https://wordpress.org/support/users/phreshboy/)
 * (@phreshboy)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/new-to-custom-post-types-display-issues/#post-3528290)
 * Thank you so much for the help, unfortunately, I am still stuck. I can copy and
   paste the code from WP and I have worked with this many times, and it works perfectly.
   I appreciate the hint, however I still do not know how to display my award winners.
 *     ```
       <?php
       $args = array( 'post_type' => 'awards', 'posts_per_page' => 10 );
       $loop = new WP_Query( $args );
       while ( $loop->have_posts() ) : $loop->the_post();
       	the_title();
       	echo '<div class="entry-content">';
       	the_excerpt();
       	echo '</div>';
       endwhile;
       ?>
       ```
   
 * I will keep looking around, thanks again, if you can put me onto the right track
   for getting the rest of it that would be nice. wp_get_object_terms() seems like
   a hopeful way to go. I will let you know how it goes. The plugin is very nice
   by the way.

Viewing 5 replies - 1 through 5 (of 5 total)