Title: Editting wpautop Function
Last modified: August 18, 2016

---

# Editting wpautop Function

 *  [kingspice](https://wordpress.org/support/users/kingspice/)
 * (@kingspice)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/editting-wpautop-function/)
 * For the wpautop function included within “functions-formatting.php” I’d like 
   to change the function so instead of inserting when there is a double line break,
   instead I’d like to insert a double <br> (p’s messing up my site layout).
 * So for example:
    Hello my name is
 * gareth
 * would be outputted as
    Hello my name is<br><br>gareth
 * instead of Hello my name is
    gareth
 * I have looked at the function but can’t work out what should be change/commented
   out. Any help would be appreciated.
 * Thanks

Viewing 1 replies (of 1 total)

 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/editting-wpautop-function/#post-445337)
 * Any of these threads helpful? Seems this has been done once or twice already.
   [http://wordpress.org/search/wpautop?forums=1](http://wordpress.org/search/wpautop?forums=1)

Viewing 1 replies (of 1 total)

The topic ‘Editting wpautop Function’ is closed to new replies.

## Tags

 * [wpautop](https://wordpress.org/support/topic-tag/wpautop/)

 * 1 reply
 * 2 participants
 * Last reply from: [Chris_K](https://wordpress.org/support/users/handysolo/)
 * Last activity: [19 years, 9 months ago](https://wordpress.org/support/topic/editting-wpautop-function/#post-445337)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
