Forums

the_content edit to not display pre <!--more--> in full post (3 posts)

  1. greyisgood
    Member
    Posted 2 years ago #

    I'm having trouble understanding the true/false of the_content.

    I'm trying to get the text inserted before the <!--more--> not to be included when the full post is displayed.

    is the_content even the correct place to do this?

  2. moshu
    Member
    Posted 2 years ago #

    I don't think there is such a feature/parameter for that tag.

  3. greyisgood
    Member
    Posted 2 years ago #

    The reason I'm confused, is I've had a state where I can get this to happen. But any post not containing <!--more--> is displayed with no text (apart from title) when viewed as single post. The only tag I changed was the_content()

    this is it:

    <?php the_content(" read more about ".the_title('', '', false)."..."); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic