Daniele Olivieri

3D Digital Artist & Unity Developer

WordPress: Disable wpautop

I disabled the filter in wp-includes/default-filters.php like this:

....
//add_filter( $filter, 'wpautop');
....
//add_filter( 'the_content', 'wpautop');
...
//add_filter( 'the_excerpt', 'wpautop');
...
//add_filter( 'comment_text', 'wpautop', 30);
...

are working for me!

Next Post

Previous Post

Leave a Reply

© 2024 Daniele Olivieri

Theme by Anders Norén