How to create bootstrap grid loop?
Okay I got it! And this code works perfectly for me. 🙂 <?php $args=array( ‘post_type’ => ‘post’, ‘posts_per_page’ => 4, ‘paged’ => $paged, ‘tax_query’ => array( array( ‘taxonomy’ => ‘post_format’, ‘field’ => ‘slug’, ‘terms’ => array(‘post-format-video’), ‘operator’ => ‘IN’) ) ); $my_query = null; $my_query = new WP_Query($args); if( $my_query->have_posts() ) { $i = 0; … Read more