have_posts()): while($query->have_posts()): $query->the_post(); $post=get_post(get_the_id()); ?>