remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' );
[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.