Disable WordPress Automatic Formatting

19 Avr 2014
Operator
1531
0

If you have the unfortunate pleasure of using WordPress for anything more than a simple blog, you’ll want to stick this in your functions.php and pretend WordPress is a good CMS. It isn’t, but you can pretend 🙂

remove_filter('the_content', 'wptexturize');
remove_filter('the_excerpt', 'wptexturize');
remove_filter('comment_text', 'wptexturize');
remove_filter('the_title', 'wptexturize');

 

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *