Title: Content Types / The Loop
Last modified: August 19, 2016

---

# Content Types / The Loop

 *  [ekrocker](https://wordpress.org/support/users/ekrocker/)
 * (@ekrocker)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/content-types-the-loop/)
 * I’ve figured out how to create custom content types but how can I get them to
   display in the loop? I’d like to customize the loop to work the same way as Tumblr.
   A photo type shows a photo, a link just posts a list – custom code in the loop
   for each type.
 * Any help would be appreciated.

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

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 9 months ago](https://wordpress.org/support/topic/content-types-the-loop/#post-1637598)
 * They don’t. Custom post types are separate from the loop, IIRC.
 *  Thread Starter [ekrocker](https://wordpress.org/support/users/ekrocker/)
 * (@ekrocker)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/content-types-the-loop/#post-1637667)
 * Right, but I’d like the display of each type of content displayed differently
   on the home page….
 *  [allolex](https://wordpress.org/support/users/allolex/)
 * (@allolex)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/content-types-the-loop/#post-1637968)
 * Just add something like this within The Loop.
 * `<?php query_posts(array('post_type' => array('post', 'content_type_1','content_type_2')));?
   >`
 * And change your the content_type_$n stuff to your content type names. You can
   use multiple loops on the same page to display different things.

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

The topic ‘Content Types / The Loop’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [allolex](https://wordpress.org/support/users/allolex/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/content-types-the-loop/#post-1637968)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
