{"id":70222,"date":"2017-06-14T09:50:02","date_gmt":"2017-06-14T09:50:02","guid":{"rendered":"https:\/\/en-gb.wordpress.org\/plugins\/add-paragraphs-option-to-text-widget\/"},"modified":"2017-07-20T14:38:03","modified_gmt":"2017-07-20T14:38:03","slug":"add-paragraphs-option-to-text-widget","status":"closed","type":"plugin","link":"https:\/\/it.wordpress.org\/plugins\/add-paragraphs-option-to-text-widget\/","author":14422525,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.6","stable_tag":"1.6","tested":"4.8.33","requires":"4.7","requires_php":"","requires_plugins":"","header_name":"Add Paragraphs Option to Text Widget","header_author":"Alan Fuller","header_description":"Adds the pre 4.8 Paragraphs tick box","assets_banners_color":"","last_updated":"2017-07-20 14:38:03","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=TRZZ9YQWLAG6N","header_plugin_uri":"","header_author_uri":"http:\/\/fullworks.net\/wordpress-plugins\/","rating":5,"author_block_rating":0,"active_installs":200,"downloads":4255,"num_ratings":0,"support_threads":1,"support_threads_resolved":1,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"7"},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"1698880","resolution":"128x128","location":"assets"},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":"1698880","resolution":"256x256","location":"assets"}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1","1.2","1.3","1.4","1.5","1.6"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1721],"plugin_category":[],"plugin_contributors":[79438],"plugin_business_model":[],"class_list":["post-70222","plugin","type-plugin","status-closed","hentry","plugin_tags-text-widget","plugin_contributors-fullworks","plugin_committers-fullworks"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/add-paragraphs-option-to-text-widget.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>WordPress 4.8  introduced the visual editor to the Text Widget, but in doing so remove the checkbox to add paragraphs.\nWhilst 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\nscripts that have blank lines.<\/p>\n\n<p>Also, the visual editor if used will remove code it thinks is invalid, including empty tags, which is also a bit problem.\nBy default this plugin also turns off the visual editor.<\/p>\n\n<p>There is a setting added to settings&gt;general that allows you to turn on the visual editor. You can also turn it back on by adding define ('VISUAL_TEXT_WIDGET',true); to your wp-config.php. Defining\nVISUAL_TEXT_WIDGET to true or false remove the setting option from settings&gt;general so you can hide the option.<\/p>\n\n<p>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.\nOf course upgrading is your responsibility and always take a backup.<\/p>\n\n<p>Version: 1.6 only : Wordpress 4.8.1 ( currently in beta ) has introduced a legacy mode that makes this plugin redundant, so if the WordPress version is greater than 4.8 the plugin does nothing and is silent. You may safely remove it if you are on 4.8.1 or above.<\/p>\n\n<h3>Thank the developer<\/h3>\n\n<p>Did this plugin get you out of trouble?\nPlease consider <a href=\"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&amp;hosted_button_id=TRZZ9YQWLAG6N\">making a small donation<\/a> to thank the developer for the the time he has saved you.<\/p>\n\n<p>Hall of fame\n* 28 June 2017   - STW - $25\n* 4 July 2017    - AS - $1\n* 17 July 2017   - M11 - $20<\/p>\n\n<p>Total thanks to date  $46<\/p>\n\n<!--section=installation-->\n<p><strong>Through Dashboard<\/strong><\/p>\n\n<ol>\n<li>Log in to your WordPress admin panel and go to Plugins -&gt; Add New<\/li>\n<li>Type widget for Add Paragraphs Option to Text Widget in the search box and click on search button.<\/li>\n<li>Find Widget for Add Paragraphs Option to Text Widget plugin.<\/li>\n<li>Then click on Install Now after that activate the plugin.<\/li>\n<li>That is it, next time you open a Text Widget in admin you should see no visual editor and see the add paragraphs check box<\/li>\n<li>If the Visual Editor is required either go to Settings&gt;General and tick the setting or add define ('VISUAL_TEXT_WIDGET',true); to your wp-config.php<\/li>\n<\/ol>\n\n<p><strong>Installing Via FTP<\/strong><\/p>\n\n<ol>\n<li>Download the plugin to your hardisk.<\/li>\n<li>Unzip.<\/li>\n<li>Upload the <strong>add-paragraphs<\/strong> folder into your plugins directory.<\/li>\n<li>Log in to your WordPress admin panel and click the Plugins menu.<\/li>\n<li>Then activate the plugin.<\/li>\n<li>That is it, next time you open a Text Widget in admin you should see no visual editor and see the add paragraphs check box<\/li>\n<li>If the Visual Editor is required either go to Settings&gt;General and tick the setting or add define ('VISUAL_TEXT_WIDGET',true); to your wp-config.php<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><p><strong>Through Dashboard<\/strong><\/p>\n\n<ol>\n<li>Log in to your WordPress admin panel and go to Plugins -&gt; Add New<\/li>\n<li>Type widget for Add Paragraphs Option to Text Widget in the search box and click on search button.<\/li>\n<li>Find Widget for Add Paragraphs Option to Text Widget plugin.<\/li>\n<li>Then click on Install Now after that activate the plugin.<\/li>\n<li>That is it, next time you open a Text Widget in admin you should see no visual editor and see the add paragraphs check box<\/li>\n<li>If the Visual Editor is required either go to Settings&gt;General and tick the setting or add define ('VISUAL_TEXT_WIDGET',true); to your wp-config.php<\/li>\n<\/ol>\n\n<p><strong>Installing Via FTP<\/strong><\/p>\n\n<ol>\n<li>Download the plugin to your hardisk.<\/li>\n<li>Unzip.<\/li>\n<li>Upload the <strong>add-paragraphs<\/strong> folder into your plugins directory.<\/li>\n<li>Log in to your WordPress admin panel and click the Plugins menu.<\/li>\n<li>Then activate the plugin.<\/li>\n<li>That is it, next time you open a Text Widget in admin you should see no visual editor and see the add paragraphs check box<\/li>\n<li>If the Visual Editor is required either go to Settings&gt;General and tick the setting or add define ('VISUAL_TEXT_WIDGET',true); to your wp-config.php<\/li>\n<\/ol><\/dd>\n<dt>Will it remember settings prior to 4.8?<\/dt>\n<dd><p>Yes, the change by WordPress is backwardly compatible and remembers the prior setting, this plugin just re-introduces the checkbox.<\/p><\/dd>\n<dt>Can I install it before upgrading to 4.8<\/dt>\n<dd><p>Yes.<\/p><\/dd>\n<dt>How do I get the visual editor<\/dt>\n<dd><p>Either go to Settings&gt;General  and find the option or\nadd this line to your wp-config.php\ndefine ('VISUAL_TEXT_WIDGET',true);\nbefore this line\n\/* That's all, stop editing! Happy blogging. *\/<\/p>\n\n<p>Adding either define ('VISUAL_TEXT_WIDGET',true); or define ('VISUAL_TEXT_WIDGET',false); will hide the Settings&gt;General option<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.6<\/h4>\n\n<ul>\n<li>set to do nothing for WordPress 4.8.1 as legacy mode will work<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>fix to remove some extra spaces shown in text box<\/li>\n<li>addition of settings option to Settings&gt;General<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Error in code corrected<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Removed visual editor by default<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>minor code tidy up<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Remastered to use filters \/ hooks<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First Release<\/li>\n<\/ul>","raw_excerpt":"Add Paragraphs Option to Text Widget in version 4.8 like it was before 4.8","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/70222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=70222"}],"author":[{"embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fullworks"}],"wp:attachment":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=70222"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=70222"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=70222"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=70222"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=70222"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=70222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}