概要

have_posts()): while ($query->have_posts()):$query->the_post(); the_content(); endwhile; endif; wp_reset_postdata(); ?>