Support » Fixing WordPress » Custom Post Type & Multiple Columns

  • Currently I have my index.php set up to display posts in three columns with the following code:

    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:

    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)
  • 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.

    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.