-
-
Save mikejolley/89d9a4a2156ae4013de5 to your computer and use it in GitHub Desktop.
Sample single.php 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 while ( have_posts() ) : the_post(); ?> | |
<h1 class="entry-title"><?php the_title(); ?></h1> | |
<div class="entry-content"> | |
<?php the_content(); ?> | |
</div><!-- .entry-content --> | |
<?php endwhile; // end of the loop. ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment