I would like to remove wpautop from wordpress
-
I try to add
remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' );
in the line 439 and 440 on wp-includes/formatting.php but it does not work.
I would like to validate in html the site and it seems that wordpress add some </ p> which should not add and then I retrieve pages with 4 to 10 errors.
I’ve read that the function of adding <p> </ p> <br> in car is called wpautop.
Thank you.
- The topic ‘I would like to remove wpautop from wordpress’ is closed to new replies.