• I find this useful to add in functions.php to disable “wpautop”.

    remove_filter( ‘the_content’, ‘wpautop’ );
    remove_filter( ‘the_excerpt’, ‘wpautop’ );

    But, I would like to have it process ONLY PAGES, AND NOT TO POSTS.

    How is that possible?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to disable "wpautop" ONLY TO PAGE? (and not to posts?)’ is closed to new replies.