I don't understand some wordpress theme code
<?php if(have_posts()) : while(have_posts()) : the_post(); ?> ##Html Code## <?php endif; ?>
I think
if(have_post()) <--- It mean "If I have post,it return value "true" so
While(have_posts()) will be do but it return value "false" the_post() will do.
I see some clip "how to make wordpress theme" but i don't understand this code what does is mean?
-
temmokan -
Thanks - 1 reply
{{ DiscussionBoard.errors[8238178].message }}-
khongpak -
Thanks
{{ DiscussionBoard.errors[8239091].message }} -
-