Title: Custom post type in loop
Last modified: August 20, 2016

---

# Custom post type in loop

 *  [pietergoosen](https://wordpress.org/support/users/pietergoosen/)
 * (@pietergoosen)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/custom-post-type-in-loop/)
 * hi everyone
 * i’ve got three custom post types on the site i’m working on. i’m currently using
   the yoko theme. the reason being that users will upload the content, and there
   are difirent info per post type. every custom post type have its own post format
   and categories. my problem is, my loop in the category, archive, index and page
   templates looks like this
 *     ```
       <?php /* Start the Loop */ ?>
       				<?php while ( have_posts() ) : the_post(); ?>
   
       					<?php get_template_part( 'content', get_post_format() ); ?>
   
       				<?php endwhile; ?>
       ```
   
 *  where <?php get_template_part( ‘content’, get_post_format() ); ?>
 *  is the post format i use in the custom post type.
 * So there is nothing showing up on these respective pages. how do i get these 
   custom posts to show up on the respective pages, and what are the best way to
   do it,
 * many thanks

The topic ‘Custom post type in loop’ is closed to new replies.

## Tags

 * [custom post type](https://wordpress.org/support/topic-tag/custom-post-type/)
 * [post format](https://wordpress.org/support/topic-tag/post-format/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [pietergoosen](https://wordpress.org/support/users/pietergoosen/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/custom-post-type-in-loop/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
