When I put — into a post it is automatically converted to the – –
character in the output by wordpress.
How can I get normal '--'
double dashes in my content.
When I put — into a post it is automatically converted to the – –
character in the output by wordpress.
How can I get normal '--'
double dashes in my content.
In your functions.php
:
remove_filter( 'the_content', 'wptexturize' );
And the same for the_excerpt
or the_title
(if required).