Prevent WordPress auto conversion of double hyphen Posted on May 11, 2021August 1, 2021 by Administrator In functions.php, add the following line at the end remove_filter( 'the_content', 'wptexturize' );