One of the things I’m running into text blocks are constantly adding <p>
tags to content that I put into the source editor. This is an issue, because I’m making edits to source which will not work properly if they’re wrapped in a <p>
. How do I disable this? I tried adding this to my functions.php and it did not turn it off:
remove_filter( 'the_content', 'wpautop' );
remove_filter('the_excerpt', 'wpautop');