This plugin makes <p> and <br /> tags when appropriate when posting. For example a blank line (double return) before and after a section of text would wrap that text in <p> tags, but a single return between sentences would become cause a <br /> tag.
Installation & Usage
Installation:
Upload the "auto_p_plugin" folder, the one that this file is in, to your /qp_plugins/ folder on your server.
In your admin panel, go to the Global Settings -> Plugins sub-tab.
Click on "Install new" (right side, near top), locate the Auto-P plugin, and click "Install" in the "actions" column.
In your admin panel, go to Global Settings -> Plugins -> Auto-P to access the plugin\'s settings.
Usage:
Access the plugin's settings via Global Settings -> Plugins install -> Auto-P then enable or disable whichever features you want or don't want.
When writing a blog post simply hit [return] once for a BR and twice to cause a new paragraph (P tag).
Settings, Settings, & Settings
Plugin Settings:
Line breaks: If checked this will cause a single new line (return) to be a BR tag. Default is "checked".
Add P tags in blocks: If checked this will cause double new lines to become P tags *inside* DIV tags. Default is "checked".
Ignore tags: Allows for a list of tags in which no P or BR tags should get added. Default is "pre", and you can add your own.
User Settings:
This plugin has no user settings.
Blog Settings:
This plugin has no blog settings.
Widget Settings:
This plugin has no widget settings.
More Info, Credits, & Links
More Info:
This plugin might cause troubles if you also use a 'smart' editor such as the TinyMCE plugin, so be aware and take care :)
Credits:
Thanks to Daniel HAHLER (http://daniel.hahler.de/) for initial creation of this plugin for the b2evolution project.