the_content(); ?> <?php } // End of the loop. ?> <?php rewind_post(); ?> <?php $arg = array('post_type' => 'my_art', 'posts_per_page' => 10); $loop = new WP_Query($arg); while ($loop->have_posts()) { $loop->the_posts(); echo '<div class="myLeoArt">'; the_content(); echo '</div>'; } ?> <?php myRepeat(11); ?> </main><!-- #main --> </div><!-- #primary -->