40, 'paged'=>$paged, 'orderby' => 'date', 'order' => 'DESC' )); if( $q->have_posts() ) { while( $q->have_posts() ) { $q->the_post(); $current_month = get_the_date('F'); if( $q->current_post === 0 ) { ?>

current_post - 1; $old_date = mysql2date( 'F', $q->posts[$f]->post_date ); if($current_month != $old_date) { ?>

ID) ); ?>