Created
July 31, 2015 06:38
-
-
Save vladimirlukyanov/9f2302ccdd4c4afb66b3 to your computer and use it in GitHub Desktop.
WordPress default loop
This file contains 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 if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> | |
<?php | |
the_title(); | |
the_content(); | |
?> | |
<?php endwhile; ?> | |
<?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment