website-analysis

Blog

How to Remove automatic BR & P tags WordPress

How to Remove automatic BR & P tags WordPress

[In wordpress editor when we press enter/return key between its automatic place the <BR> or <p> tag. its actually a bug of wordpress Editor. Now its easy to get rid from it. It’s extremely simple to turn <BR> and <P> tags off on your WordPress. Dashboard – > Appearance – > Theme Editor – > functions.php copy & paste the following code below at very end.
remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );
 
READY TO DO THIS

Let's get to work

Contact Us
Need Help? Chat with us