• Resolved bugscripts

    (@bugscripts)


    Is there a way to disable the curly quotes? I’m running a PHP coding blog and want people to be able to copy-and-paste the code without having to replace all of the curly quotes with regular quotes.

Viewing 5 replies - 1 through 5 (of 5 total)
  • https://www.coffee2code.com/wp-plugins/#preservecodeformatting

    I’ve used this one for awhile. I’m pretty sure it still works with 2.0.

    There are some plugins that do this – I think they may also do other tweaks too, that maybe you don’t want. I tried several of them on a site I set up a couple months back, and none of them were exactly right – so I wound up once again hacking core. Take a look in the post section of your theme’s index.php, and the comments.php file if that’s what you choose to do. But keep in mind that you’ll have to redo the edits every time there’s a new version release of wp.

    Thread Starter bugscripts

    (@bugscripts)

    Thanks, but my webhost has disabled the fopen() function so I can’t activate it. Is there anyway to activate plugins manually?

    Thread Starter bugscripts

    (@bugscripts)

    I activated it manually, but the quotes still are curly.

    Thread Starter bugscripts

    (@bugscripts)

    I fixed it, it was in functions-formatting.php.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Curly quotes’ is closed to new replies.