• 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)
Viewing 1 replies (of 1 total)
  • The topic ‘Editting wpautop Function’ is closed to new replies.