• I’ve looked at the 1.5 loop example in the codex and find it singularly unhelpful. I would be really grateful if someone could provide an example of extracting data from the 1.5 loop … the old way still works but I’m trying to get with the programme:). I’ve tried the following without success.

    if (have_posts()): while (have_posts()):the_post();
    echo $post->post_content; endwhile;
    endif;

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not sure of the problem, because that does work for me:

    if (have_posts()) : while (have_posts()) : the_post();
    echo $post->post_content;
    endwhile; endif;

    Thread Starter essdsm

    (@essdsm)

    Thanks for having a look Kafkaesqui. What I needed to add, but didn’t think was relevant, was that I’m doing this via the Smarty template engine of WPMU. But it may be, which kind of leaves me stumped.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘1.5 Loop example’ is closed to new replies.