Title: Text wrap
Last modified: August 19, 2016

---

# Text wrap

 *  [stevenoi](https://wordpress.org/support/users/stevenoi/)
 * (@stevenoi)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/text-wrap-3/)
 * Hi, does anyone knows a php code to wrap the content from my posts on the frontpage?
   I tried almost everything…

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/text-wrap-3/#post-1054504)
 * Sorry – could you explain exactly what it is that you want to achieve?
 *  Thread Starter [stevenoi](https://wordpress.org/support/users/stevenoi/)
 * (@stevenoi)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/text-wrap-3/#post-1054640)
 * Well, when I make a post with very long content all of that will display on the
   frontpage. I wan’t only to display the (for example) first 3 lines, withouth 
   insert a more tag in every posts.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/text-wrap-3/#post-1054778)
 * Amend the front page template to use `the_excerpt()` instead of the `the_content()`.
   If that still isn’t short enough for you, you can use the Optional Excerpt box
   at the foot of each post’s Edit page to create your own customised excerpt.
 *  Thread Starter [stevenoi](https://wordpress.org/support/users/stevenoi/)
 * (@stevenoi)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/text-wrap-3/#post-1054804)
 * Thanks for it, but I ment something else. Example, you have a text:
 * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi a ligula eget 
   nulla mollis scelerisque. In malesuada vulputate orci. Integer sem. Morbi dapibus,
   libero id pretium pellentesque.
 * Will change in to
 * Lorem ipsum dolor sit amet…
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/text-wrap-3/#post-1054807)
 * Then you’ll need to enter your text in the Optional Excerpt box near the bottom
   of the Edit Post page.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Text wrap’ is closed to new replies.

 * 5 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/text-wrap-3/#post-1054807)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
