[contact-form-7 id="24078" title="Feedback EN"]

Featured templates

WordPress Troubleshooter. Can’t set spaces or line breaks in visual editor

Issue: I can’t set spaces and line breaks in WordPress visual editor.

Solution:

1. open your WordPress installation directory

2. Go to wp-content/themes/theme### folder and open functions.php file

3. Locate the following code and remove/comment it

//Stop WordPress from automatically inserting paragraph tags
remove_filter('the_content', 'wpautop');

WordPress Troubleshooter. Can't set spaces or line breaks in visual editor, 5.0 out of 5 based on 2 ratings
  • Kvacc

    I don’t see this code in the functions.php. where else could it be?