Disabling Wordpress wpautop

To disable Wordpress wpautop put this code in function.php

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


And you have done, simple and easy.
Official wiyono blog