• 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)
  • Sorry – could you explain exactly what it is that you want to achieve?

    Thread Starter stevenoi

    (@stevenoi)

    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.

    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

    (@stevenoi)

    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…

    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.