how to print loops for odd in 1st column and even in 2nd column in wordpress

i am new to word press trying to create a time line so far i have came with this..i want the second post should be on right side in up but after running the loop its look like this please help me to achieve that.
here is my code..

‘blog’,
‘posts_per_page’ => 4
);
$counter = get_the_ID();
$query = new WP_Query($args);
if( $query->have_posts() ) : while( $query->have_posts() ) : $query->the_post(); $counter++;
?>
start

i want this to look like this
but after running the code its like that

Read more here:: how to print loops for odd in 1st column and even in 2nd column in wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *