scrat36, if you haven’t already found this solution, here it is – add this to your functions.php file – just remember it will be overwritten each time you update your theme.
remove_filter( ‘the_content’, ‘wpautop’ );
remove_filter( ‘the_excerpt’, ‘wpautop’ );
Reference link: Disable the wpautop filter
-
This reply was modified 9 years, 1 month ago by mmiller751.
Could you please tell me which files need to be edited. I have the same problem.
Also, could someone tell me how to disable the date, author, and comment meta data in all the posts and articles. I don’t want this info to display for any of my posts.