Owl Carousel Two Rows Issue
Im using Owl Carousel with Wordpress and it's loading dynamic content with the help of a WP loop. Here is the loop code: 'prop
Solution 1:
You need to also do a check for if it's the last post
and if it is omit the adding of echo '</div><div class="item-wrapper">';
Something like this:
if ($i % 2 == 0 && ($the_query->found_posts != $i)) {
echo'</div><div class="item-wrapper">';
} // if multiple of 3 close div and open a new div
Post a Comment for "Owl Carousel Two Rows Issue"