By default, WordPress automatically creates paragraphs on your post content. While this is generally useful, you might want to change this behavior to fit your specific needs. Today’s recipe explains how you can disable automatic paragraphs.
Simply paste the following line into your functions.php file:
That’s all. Once you saved the file, WordPress will no longer create automatic paragraphs on your content.