=== Add Paragraphs Option to Text Widget === Contributors: fullworks Tags: text widget Requires at least: 4.7 Tested up to: 4.8 Stable tag: 1.2 License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.en.html Add Paragraphs Option to Text Widget like it was before 4.8 == Description == WordPress 4.8 introduced the visual editor to the Text Widget, but in doing so remove the checkbox to add paragraphs. Whilst this is backwardly compatible, as soon as you edit the text widget the paragraph tag is introduced. This can have disastrous impact to your design and break scripts that have blank lines. Also, the visual editor if used will remove code it thinks is invalid, including empty tags, which is also a bit problem. By default this plugin also turns off the visual editor. You can turn it back on by adding define ('VISUAL_TEXT_WIDGET',true); to your wp-config.php. If installed pre 4.8 the plugin will do nothing, not even a warning, so you can install this before a 4.8 upgrade and things should be better. Of course upgrading is your responsibility and always take a backup. == Installation == **Through Dashboard** 1. Log in to your WordPress admin panel and go to Plugins -> Add New 1. Type widget for Add Paragraphs Option to Text Widget in the search box and click on search button. 1. Find Widget for Add Paragraphs Option to Text Widget plugin. 1. Then click on Install Now after that activate the plugin. 1. That is it, next time you open a Text Widget in admin you should see the add paragraphs check box **Installing Via FTP** 1. Download the plugin to your hardisk. 2. Unzip. 3. Upload the **add-paragraphs** folder into your plugins directory. 4. Log in to your WordPress admin panel and click the Plugins menu. 5. Then activate the plugin. 6. That is it, next time you open a Text Widget in admin you should see the add paragraphs check box == Frequently Asked Questions == = Will it remember settings prior to 4.8? = Yes, the change by WordPress is backwardly compatible and remembers the prior setting, this plugin just re-introduces the checkbox. = Can I install it before upgrading to 4.8 = Yes = How to I get the visual editor = add this line to your wp-config.php define ('VISUAL_TEXT_WIDGET',true); before this line /* That's all, stop editing! Happy blogging. */ == Changelog == = 1.3 = * Removed visual editor by default = 1.2 = * minor code tidy up = 1.1 = * Remastered to use filters / hooks = 1.0 = * First Release