Hi all I have few images uploaded in custom post type as featured image in which i am trying to connect bootstrap with Wordpress and display images side by side in col-md-4. but when i do it displays images in new ROW rather than col-md-4
the code is...
<?php $loop = new WP_Query( array( 'post_type' => 'portfolio_col_image', 'orderby' => 'post_id' ) );
while($loop->have_posts()) : $loop->the_post(); ?>
<?php
// Must be inside a loop.
if ( has_post_thumbnail() ) { ?>
<div class = "portfolio-column-box">
<div class = "container">
<div class = "col-md-4">
<?php the_post_thumbnail('large', array( 'class' => 'img-thumbnail' ) ); ?>
</div>
</div>
</div>
<?php };
?>
</div>
</div>
<?php endwhile; ?>