Skip to content

Instantly share code, notes, and snippets.

@devloprs
Last active January 2, 2017 03:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devloprs/d25f90a9b796ae50b6186951e3a74fd3 to your computer and use it in GitHub Desktop.
Save devloprs/d25f90a9b796ae50b6186951e3a74fd3 to your computer and use it in GitHub Desktop.
*/Normal loop
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php comments_template( '', true ); ?>
<?php endwhile; // end of the loop. ?>
*/MP Loop
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'product' ); ?>
<?php comments_template( '', true ); ?>
<?php endwhile; // end of the loop. ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment