Support » Plugins and Hacks » Bug?: About the more tag

Bug?: About the more tag

  • 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)
  • 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?

    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:

    <span id="more-334"/>
    <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.
Skip to toolbar