Title: Custom Post Type &amp; Multiple Columns
Last modified: August 19, 2016

---

# Custom Post Type & Multiple Columns

 *  [AJ Troxell](https://wordpress.org/support/users/phiredesign/)
 * (@phiredesign)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/custom-post-type-multiple-columns/)
 * Currently I have my index.php set up to display posts in three columns with the
   following code:
    [http://pastebin.com/kfjCjYe5](http://pastebin.com/kfjCjYe5)
 * I would like to take the current code from my store.php template that displays
   only posts from my custom post type “store”, code seen here:
    [http://pastebin.com/HcCNmnPJ](http://pastebin.com/HcCNmnPJ)
 * And combine the two so that my custom post type template wil display the posts
   using the 3-column layout. I just cant seem to get it working.

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

 *  [coopersita](https://wordpress.org/support/users/coopersita/)
 * (@coopersita)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/custom-post-type-multiple-columns/#post-1917903)
 * You’d have to subsitute line 10 from the store:
 * `<?php if ( $loop->have_posts() ) : while ( $loop->have_posts() ) : $loop->the_post();?
   >`
 * For lines 10 to 24 of the homepage template.
 * Just make copies, I may be wrong.
 *  Thread Starter [AJ Troxell](https://wordpress.org/support/users/phiredesign/)
 * (@phiredesign)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/custom-post-type-multiple-columns/#post-1917906)
 * I think that may have worked. Thank you. I was making it very over-complicated,
   over thinking it. Thanks again!

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

The topic ‘Custom Post Type & Multiple Columns’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [AJ Troxell](https://wordpress.org/support/users/phiredesign/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/custom-post-type-multiple-columns/#post-1917906)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
