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..
‘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++;
i want this to look like this
but after running the code its like that