WordPress.org

Support

Support » How-To and Troubleshooting » ‘more’ tag for contents/post

‘more’ tag for contents/post

  • 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

  • The topic ‘‘more’ tag for contents/post’ is closed to new replies.
Skip to toolbar