have_posts() ) : ?> have_posts() ) : $query->the_post(); $post_id = get_the_ID(); ?>
max_num_pages > 1 ) : ?>
add_query_arg( 'paged', '%#%' ), 'format' => '', 'current' => $paged, 'total' => (int) $query->max_num_pages, ) ) ); ?>