WordPress.org

Ready to get started?Download WordPress

Forums

Using the_content() (4 posts)

  1. neilsabharwal
    Member
    Posted 3 years ago #

    Hello,
    When i use the_content() tag in my template, pages appear completely, even though they have a "more tag" in them.
    When i use the the_content() with parameters, for example the_content( $more_link_text, $strip_teaser, $more_file ); and i set $strip_teaser to TRUE, it displays the post without the teaser(before the more tag). Therefore I know my more tag is working.
    So what i would like to happen is that it displays the post only before the more tag.
    Any tips on how I could make this happen?

    Thanks,
    Neil

  2. cuban_cigar
    Member
    Posted 3 years ago #

    maybe separate the string generated by the_content with php, output first half

  3. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    the_content() tag in my template, pages appear completely

    are these posts, like on your index.php template? Or posts on the single.php template? Or actual pages?

  4. neilsabharwal
    Member
    Posted 3 years ago #

    these are static pages

Topic Closed

This topic has been closed to new replies.

About this Topic