Come rimuovere la fastidiosa e inutile formattazione automatica del contenuto dei post in wordpress.
inserire seguente codice in content.php appena prima della funzione the_content().
1 |
remove_filter('the_content', 'wpautop'); |
fonte: http://www.marioconcina.it/blog/wordpress/rimozione-formattazione-automatica-wpautop.html
Altro
functions.php
1 2 3 |
remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' ); |
oppure
plugin: Toggle Wpautop – http://wordpress.org/plugins/toggle-wpautop/