Post loop Codes… Need Help
-
Most frequent of time looking at several free theme codes. I have frequently notice this code to begin with…
<?php get_header(); ?> <?php if (have_posts()) : ?> <?php $i = 0; ?> <?php while (have_posts()) : the_post(); $i++; ?>Its easy to comprehend that part. But for bold one…
<?php $i = 0; ?> and $i++;
What is this codes? what is it used for? i tried to look for one of these in codex, and I am not having luck. Can anyone explain? or point out information?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
The topic ‘Post loop Codes… Need Help’ is closed to new replies.