Has my Loop gone “loopy”?
I was in the process of installing a plug that required modifying The Loop. I went to the codex to make sure I knew where it was. It says:
The loop starts here:
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
But mine says:
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php $custom_fields = get_post_custom(); //custom fields ?>
I’m using Blix, and that’s the default code. Being the php novice that I am, what do the differences mean? Could it be affecting other things that I’m experiencing, like not being able to delete comments or pages?
- The topic ‘Has my Loop gone “loopy”?’ is closed to new replies.