Blog

WordPress Double Dash Fix

12 December, 2017

Problem: double dashes -- in WordPress get converted to em-dash —.

Solution: disable WordPress text conversion.

Steps: go to WordPress admin page/Appearance/Editor/functions.php and add the following code "add_filter( 'run_wptexturize', '__return_false' );" somewhere in the <?php section of the file and save changes by pressing "Update File".

Comments Off on WordPress Double Dash Fix

Posted by:

Share this!

Comments are closed.