Post content not showing
Your query is structured a little weird. $my_query = new WP_Query( array( ‘posts_per_page’ => 5 ) ); if ( $my_query->have_posts() ) { while ( $my_query->have_posts() ) { $the_query->the_post(); // Your desired template code } // Close while() // Restore original Post Data wp_reset_postdata(); } // Close if() This should be all you need to set … Read more