• Hi…

    I can’t figure out how to show the excerpt of a post.

    I mean, if I use the the_excerpt() function, I get some text (the first 55 words) but how do I get the content of a post UNTIL the “more” marker?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ELAN42///

    (@nokao)

    I still can’t understand why the output of the_excerpt() don’t stops at the “more” tag but endures 55 words.

    What is the purpose of this?
    How do I resolve the problem?

    Thread Starter ELAN42///

    (@nokao)

    Can’t find a solution:

    the_excerpt() takes out also the text after the more tag.

    the_content(”,TRUE,”) strips the <!–more–> tag in a strange way, so in the end the_contents puts out:

    <p>
    <span id="more-334"/>
    </p>
    <p>after the more tag</p>

    At least if WordPress did not strip the more tag with that span, I could make a sub_str (all – content) to get the REAL excerpt.

    Like that it’s useless…

    Whan can I do? It’s impossible that no-one found a solution to this…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug?: About the more tag’ is closed to new replies.