Remove Automatic and Tags in WordPress

The default setting on WordPress, your text will be wrapped around the code

and your ‘Return/Enter’ will line break your sentences. 

This might be annoying to you because you don’t need that automated function. 

It’s really easy to turn the automated

,
off on your WordPress. Go to Admin -> Appearance -> Editor -> functions.php (or Theme Functions) and copy & paste the code very end of the file.

Stop Paragraph Tags and Line Break Filters

Copy this code and paste it very end of your theme functions.php file.

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

Leave a Reply

Your email address will not be published. Required fields are marked *