WordPress.org

Support

Support » How-To and Troubleshooting » Is there a way to display only first few lines of a post?

Is there a way to display only first few lines of a post?

  • Hi,

    I was looking for a way that each of my posts could display only the first few lines and then display a “Read More” link. Is that possible?

    Thanks.
    Vince

Viewing 2 replies - 1 through 2 (of 2 total)
  • Jess
    Member

    @jcull76

    You can manually add a Read More break from the visual editor, which allows you to control exactly what you want to show for your excerpt.

    Or, you can modify your theme directly (recommend using a child theme) to use the excerpt function:

    http://codex.wordpress.org/Function_Reference/the_excerpt

    There are also lots of other solutions posted throughout these forums, if you search for “excerpt.”

    Thank you very much for your suggestions. I will certainly try them out.
    Vince

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is there a way to display only first few lines of a post?’ is closed to new replies.