Created
April 7, 2017 03:18
-
-
Save ryanshoover/ef12b2a0cdf8654b8556e8c7a5afd835 to your computer and use it in GitHub Desktop.
Simple Loop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| get_header(); | |
| while ( have_posts() ) : the_post(); | |
| the_title(); | |
| the_content(); | |
| // 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. | |
| get_footer(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment