Finding the paragraphs in content
The paragraphs are done by the wpautop() function, hooked to the_content, the_excerpt() & comment_text as well as ‘term_description’ for taxonomies. The plugin linked by @javipas does an enormous effort to just add this, but it’s a good example (+1). You can (modify it a little and) take the following part out of it: // The … Read more