Full articles in loop (2 posts)

  1. Tibbelit
    Posted 4 years ago #


    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...


    // Tibbelit

  2. Japh
    Posted 4 years ago #

    Have a look over the Codex page for "the_content" and you'll see the following code snippet that should help you:

    global $more;    // Declare global $more (before the loop).
    $more = 1;       // Set (inside the loop) to display all content, including text below more.

Topic Closed

This topic has been closed to new replies.

About this Topic