a guest Jan 12th, 2018 54 Never
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() ) :
- endwhile; // End of the loop.
RAW Paste Data