<?php /* (ステップ1)データの取得 */ $query = new WP_Query( array( 'post_type' => 'interview', 'posts_per_page' => -1, ) ); ?> <?php /* (ステップ2)データの表示 */ if ($query->have_posts()) : ?> <?php while ($query->have_posts()) : $query->the_post(); ?> <!-- 基本の取得 --> <p><a href="<?php the_permalink(); ?>"><?php the_tit…