I'm trying to make a wordpress page and using the following code:
<div class='container-fluid'>
<div class='row'>
<?php
if(have_posts()):
while(have_posts()):
the_post();
echo '<div class="col-sm-3 border">';
the_title( '<h3>', '</h3>'); //echo <h3>The Title</h3>
the_excerpt();
echo '</div>';
endwhile;
endif;
?>
</div>
</div>
The blogroll is displaying like this:
And i want to display something like this: (sorry for paint)
Thanks for reading