Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $query = new WP_Query();
- if( $query->have_posts()): while($query->have_posts()): $query->the_post();
- get_template_part( 'template-parts/page/content', 'page' );
- // If comments are open or we have at least one comment, load up the comment template.
- if ( comments_open() || get_comments_number() ) :
- comments_template();
- endif;
- endwhile; // End of the loop.
- endif;
Add Comment
Please, Sign In to add comment