How to pull posts into two columns with different image sizes using $counter variable?
You could do something like this to simplify it. IF We’re in this loop we’re either going to have both a left AND right column OR at least a left column, if we have less than 4 posts, so we can move a container div outside the main conditional: if ( $td_query->have_posts() ) { while … Read more