I have a problem with wordpress, as it automatically converts the double "-" to a long dash. I found a quick solution for this, as suggested in this short article:
The only problem is that from my toolbar in wordpress online in my web browser I could not figure out where / how to find the wordpress / wp-includes / formatting.php file that needs to be edited to solve the problem.
I also checked these other answers about wordpress, for example.
But they don't say anything about how / where to find the wordpress / wp-includes / formatting.php file.
Any comments or suggestions are greatly appreciated.
Try the following:
[code language="css"] // your code here if(correct) { puts("my wordpress text now shows the dash " -- " this is cool!"); } [/code]
That should do the trick.
--converted to "en dash" using the main function wptexturize()( codex | source ). Here is the plugin to disable the function: https://gist.github.com/toscho/982554
--
wptexturize()
You need to access the files on your server and then just follow the file path. If you have cPanel, you can edit the files directly, otherwise you will probably need to configure the ftp client, for example filezilla