• Resolved Yeowza

    (@yeowza)


    Hello guys, I was just curious why this works

    backticks
    <php if(have_posts()) : ><?php while(have_posts()) : the_post(); >
    <?php endwhile; >
    <?php endif; >
    backticks

    and this doesn’t

    backticks
    <?php
    if (have_posts())
    {
    while (have_posts())
    {
    the_post();
    }
    }
    >
    backticks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Loop syntax’ is closed to new replies.