The Loop
-
Where do I find the loop?
According to the WordPress codex,
The loop starts here:
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
and ends here:
<?php endwhile; else : ?>
<p><?php _e( ‘Sorry, no posts matched your criteria.’ ); ?></p>
<?php endif; ?>The closest I have found in the Hueman theme is in page.php
<?php while ( have_posts() ): the_post(); ?>
But it does not have anything resembling the closing code.
The reason I ask is because I want to add capability for “read more” links in blog entries as suggested in the final post here.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘The Loop’ is closed to new replies.