daily pastebin goal
22%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $query = new WP_Query();
  2.  
  3.  if( $query->have_posts()): while($query->have_posts()): $query->the_post();
  4.  
  5.     get_template_part( 'template-parts/page/content', 'page' );
  6.  
  7.     // If comments are open or we have at least one comment, load up the comment template.
  8.     if ( comments_open() || get_comments_number() ) :
  9.         comments_template();
  10.     endif;
  11.  
  12.    endwhile; // End of the loop.
  13. endif;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top