WordPress.org

Ready to get started?Download WordPress

Forums

'more' tag for contents/post (1 post)

  1. info303
    Member
    Posted 7 years ago #

    When posting I would like for posts/articles after the latest post to only show the first few lines of the article, and then have the option to view 'more'.

    I found the following in the wp docs, but am not sure if this is all I need to place in the appropriate template or if perhaps there is something else, also. . . or something different.

    Examples
    [edit]Designating the "More" Text
    Displays the content of the post and uses "Read more..." for the more link text when the <!--more--> Quicktag is used.

    <?php the_content('Read more...'); ?>

    I did try inserting the above into the template, but that did not work. . . after doing so, my site disappeared!

    Can someone tell me if I need to input something else in the template, as well. . . or perhaps this is not even the correct text for what I am attempting to do?

    Thank you,
    Charlsie

Topic Closed

This topic has been closed to new replies.

About this Topic