3

Farhan, this should do it, add an else to the if statement: $args = [ 'post_type' => 'post', 'posts_per_page' => 1000 ]; $q = new WP_Query($args); if ( $q->have_posts() ) { while ( $q->have_posts() ) { $q->the_post(); ?> <p>The posts styling goes here</p> <?php } // cleanup ...


1

<?php Ninja_Forms()->display(123) ?>


Only top voted, non community-wiki answers of a minimum length are eligible