WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Curly quotes (6 posts)

  1. bugscripts
    Member
    Posted 7 years ago #

    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.

  2. citeewurkor
    Member
    Posted 7 years ago #

    http://www.coffee2code.com/wp-plugins/#preservecodeformatting

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

  3. vkaryl
    Member
    Posted 7 years ago #

    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.

  4. bugscripts
    Member
    Posted 7 years ago #

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

  5. bugscripts
    Member
    Posted 7 years ago #

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

  6. bugscripts
    Member
    Posted 7 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags