WordPress wpautop issue
问题 I have disabled wpautop through the given code: remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' ); This function works. But my actual problem is that, it removes custom "p" tags that I have manually used in the content. So the problem is that when I don't use the above given code, there are automatic p tags that destroy my website and when I disable them, custom p tags are also disabled. 回答1: The easiest and simplest way to avoid wpauto issue is to