Menu Title

Prevent WordPress auto conversion of double hyphen

0 0
Read Time:12 Second

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 end

remove_filter( ‘the_content’, ‘wptexturize’ );       

Related Post

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Leave a Reply

Your email address will not be published. Required fields are marked *