the loop: foreach or while?
-
Hi,
I want to implement WP indivudally on several pages of my site.
Is there a difference of using the loop with “foreach”:
foreach ($posts as $post): ... the_post(); endforeach;… or with “while”?
while ( have_posts() ) : the_post(); ... endwhile;
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘the loop: foreach or while?’ is closed to new replies.