Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.


Smartlines intelligently adds HTML paragraph and break elements where WordPress forgets.

Smartlines inserts HTML break elements inside paragraph text when a user has put the text on a new line and paragraph elements inside blockquotes.

By default, WordPress will insert HTML paragraph elements when text is separated by a new line. But what if the user does not want a new paragraph but instead just wants a new line? Smartlines replaces single lines with break elements within a block of paragraph text. Because it only searches within blocks of paragraph text it does not unnecessary break elements.

Similarly, WordPress does not insert paragraph elements into blockquotes (has this always been the case?). This can be confusing for the user since it will display in the visual editor that they are present. Smartlines adds them.

Smartlines incorporates version 1.1 of the Simple HTML DOM parser (http://sourceforge.net/projects/simplehtmldom/). Smartlines performs a simple check to see if the functions in this code have been defined so if you are using another plugin that relies on Simple HTML DOM it won't cause any conflicts.

Requires: 3.01 or higher
Compatible up to: 3.01
Last Updated: 7 years ago
Active Installs: 20+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1