Support » Fixing WordPress » Full articles in loop

  • Hi!

    I’m trying to create a newsletter where I want to loop through all articles (for the day) and view them in “full mode”. The problem is that I use the “<!– more –>”-tag when I create the articles, so even if I use “the_content” I just get the “preview” and a “read more” link.

    How do I show the full article length and override the “more”-problem?

    I’ve searched the forum but couldn’t find the solution to this problem…

    Thanks!

    // Tibbelit

Viewing 1 replies (of 1 total)
  • Have a look over the Codex page for “the_content” and you’ll see the following code snippet that should help you:

    <?php
    global $more;    // Declare global $more (before the loop).
    $more = 1;       // Set (inside the loop) to display all content, including text below more.
    the_content();
    ?>
Viewing 1 replies (of 1 total)
  • The topic ‘Full articles in loop’ is closed to new replies.