Title: Overloading the_content()
Last modified: August 19, 2016

---

# Overloading the_content()

 *  [senseiwa](https://wordpress.org/support/users/senseiwa/)
 * (@senseiwa)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/overloading-the_content/)
 * Hi! Although a newbie, I am trying to modify a theme! Please bear with me and
   my silly questions! 🙂
 * What I am trying to do? Simple: making the post preview look good 😀 Unfortunately
   I am unable to do what I want. Currently, I am using the ‘devart’ theme, and 
   adding the line `the_content( $more_link_text , $strip_teaser, $more_file );`
   shows posts weirdly:
 * >  My brand new post – Jan 01, 1900
   >  Lorem ipsum dolor sit amet, consectetur 
   > adipiscing elit. Vivamus in mauris dolor. Suspendisse consequat lorem eu mauris
   > hendrerit porta. Vivamus cursus, metus in faucibus fermentum.
   > Diam tellus suscipit augue, nec vestibulum orci mauris vel neque. Donec a velit
   > lorem.
 * I’d like to avoid the snippet to go on a new line, and possibly changing the 
   preview to the first paragraph, or to less than ~50 words.
 * Is there a way to do that?
 * Thanks and cheers!!

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

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/overloading-the_content/#post-1231770)
 * [http://codex.wordpress.org/Customizing_the_Read_More](http://codex.wordpress.org/Customizing_the_Read_More)
 *  Thread Starter [senseiwa](https://wordpress.org/support/users/senseiwa/)
 * (@senseiwa)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/overloading-the_content/#post-1231781)
 * I should have said, I have tried those solutions (by copy/paste… I am a newbie!)
   with both excerpt and content.
 * I don’t want to customize so deeply, I can stay with the text of a post, then
   I’ll get a substring of it. That would be just great…

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

The topic ‘Overloading the_content()’ is closed to new replies.

## Tags

 * [post preview](https://wordpress.org/support/topic-tag/post-preview/)
 * [the_content](https://wordpress.org/support/topic-tag/the_content/)

 * 2 replies
 * 2 participants
 * Last reply from: [senseiwa](https://wordpress.org/support/users/senseiwa/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/overloading-the_content/#post-1231781)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
