Forums

more tag - Fix info in Documentation please! (and help me until it gets done) (4 posts)

  1. SocialBlogsite
    Blocked
    Posted 8 months ago #

    Sorry, I didn't find any link to "contribute" or "report" for the codex pages.

    The documentation definition for the "more tag" is inconsistent and it's a pain to follow!

    We all know there are "Layout" tags, but until you get used to those wordpress functions, a tag for most of people who needs the documentation is like a "HTML" tag.

    1) BOTH of them won't prin. Their content will, so saying "do this so the tag is not displayed" or "to remove the tag" only confuses more.

    Teaser is also called something different everywhere.

    Please MAKE IT consistent. I get more confused every time I read it.

    If anyone knows the correct naming, PLEASE LET ME KNOW even before the changes get to the documentation.

    I wanted to remove the content until the <--more--> tag and couldn't find how that piece of text is called. Teaser? pre-more content? semi-automatic excerpt? (the auto-excerpt would be the one by word-limit, I think)

    Thanks.

  2. alchymyth
    The Sweeper
    Posted 8 months ago #

    I wanted to remove the content until the <--more--> tag

    read:
    http://codex.wordpress.org/Function_Reference/the_content

    according to this codex chapter, the part before the 'more-tag' is called 'teaser'.

    example (most likely to be used in single .php):

    <?php the_content('',true); ?>

  3. SocialBlogsite
    Blocked
    Posted 8 months ago #

    @alchymyth

    Thanks, I know it now, but if I was a new wordpress alchemist I couldn't figure it out by reading the documentation for the more page, which this post refers to.

    That's what I "wanted" to know, and led me to visit the more tag again… but basically my problem was another, and it's still un-resolved. You are welcome to contribute http://wordpress.org/support/topic/setting-more-1-or-0-wont-trim-the_content

  4. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    SocialBlogsite - The documentation is a collaborative effort. Anyone can log in (same ID / password as the forums) and fix things.

Reply

You must log in to post.

About this Topic