Lego2012
12/13/2016 - 10:37 AM

Disable Automatic Formatting

Disable Automatic Formatting

<!-- Add to functions.php file -->

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

<!-- the wptexturize function is responsible for lots of automatic alterations to text stored in WordPress like automatic elipses (...), em and en dashes, typographers quotes, etc. -->