Skip to main content

If you were always writing in HTML, you could add the following to your functions.phpfunctions.php file:

remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' );

remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );

I do this for some of my own sites.

As it sounds like you want the option to turn this on or off, you may want to try the wpautop control plugin -   https://wordpress.org/plugins/wpautop-control/ control plugin.

This should let you turn it off on your posts, while leaving it on for other users.

If you were always writing in HTML you could add the following to your functions.php file:

remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' );

I do this for some of my own sites.

As it sounds like you want the option to turn this on or off you may want to try the wpautop control plugin - https://wordpress.org/plugins/wpautop-control/

This should let you turn it off on your posts while leaving it on for other users.

If you were always writing in HTML, you could add the following to your functions.php file:

remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );

I do this for some of my own sites.

As it sounds like you want the option to turn this on or off, you may want to try the   wpautop control plugin.

This should let you turn it off on your posts, while leaving it on for other users.

Source Link
Heidi
  • 36
  • 4

If you were always writing in HTML you could add the following to your functions.php file:

remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' );

I do this for some of my own sites.

As it sounds like you want the option to turn this on or off you may want to try the wpautop control plugin - https://wordpress.org/plugins/wpautop-control/

This should let you turn it off on your posts while leaving it on for other users.