WordPress by default converts the double hyphen ‘–‘ written on the post to single dash. However you can overcome by following this step.
In functions.php, add the following line at the beginning,
remove_filter( ‘the_content’, ‘wptexturize’ );
Configuration guides for IT Administrators
⏱︎
Read time:

WordPress by default converts the double hyphen ‘–‘ written on the post to single dash. However you can overcome by following this step.
In functions.php, add the following line at the beginning,
remove_filter( ‘the_content’, ‘wptexturize’ );

I’m Lucas Brey, a travel blogger sharing practical guides, hidden gems, and honest tips from the road. Follow along for smart itineraries, great food finds, and stories worth bookmarking.
Leave a Reply