will give $5 to first person to solve this problem

Discussion in 'HTML & Website Design' started by lilac2, Sep 1, 2008.

  1. #1
    Hi

    I need to get WordPress to use regular "" rather than the fancy inverted BS curvy " - similar to how Microsoft Word converts them. I want them to just be flat.

    I will give $5 to the first person to tell me how to stop WordPress from converting them to curvy ""


    Thanks


    Example: http://bsimmons.wordpress.com/2008/09/01/thompson-takes-palins-temperature/ (note how all the "" turn curvy)
     
    lilac2, Sep 1, 2008 IP
  2. caday32

    caday32 Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    caday32, Sep 1, 2008 IP
  3. lilac2

    lilac2 Peon

    Messages:
    367
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    CSS? I've looked through all the CSS... it's not there.
     
    lilac2, Sep 1, 2008 IP
  4. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #4
    Check with the default theme.. probably depends on theme.
     
    MeetHere, Sep 1, 2008 IP
  5. kye172

    kye172 Peon

    Messages:
    147
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Are you copy and pasting into WP from MS Word?

    Mine normally does straight quotes if I type them in normally and not copy + paste from Word, but if you want to be sure to have straight quotes, in the HTML tab of WP enter

    "
    Code (markup):
    Where you want a quotation mark to be
     
    kye172, Sep 2, 2008 IP
  6. lilac2

    lilac2 Peon

    Messages:
    367
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    "
    Code (markup):
    works but how do I get it to do it automatically so I don't have to change the code twice for every quote I make each time?
     
    lilac2, Sep 2, 2008 IP
  7. kye172

    kye172 Peon

    Messages:
    147
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #7
    No idea, does it happen when you type in quotations directly into WP editor, or are you copy+pasting in from MS Word? If you're copy+pasting it in then it'll always use curly quotes unless you paste it into Notepad or something first
     
    kye172, Sep 2, 2008 IP
  8. garrettheel

    garrettheel Peon

    Messages:
    341
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #8
    you could use find and replace in a text editor? in find, put the ms version, then in replace put normal version
     
    garrettheel, Sep 2, 2008 IP
  9. lilac2

    lilac2 Peon

    Messages:
    367
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I put it thru Notepad first. They are flat before I submit it, but as soon as I submit it the stupid script makes them curvy.
    is the only thing that's worked so far, but I can't type that each time - it's not practical. I need to know which WordPress code to change so it stops outputting them like that.
     
    lilac2, Sep 2, 2008 IP
  10. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Use the plugin Unfancy Quotes

    Or insert this at the end of your theme's functions.php file:

    <?php remove_filter('the_content', 'wptexturize'); ?>
    Code (markup):
     
    Dodger, Sep 2, 2008 IP
    lilac2 likes this.
  11. 007c

    007c Peon

    Messages:
    611
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #11
    You could just use the php function ereg_replace no?
     
    007c, Sep 2, 2008 IP
  12. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #12
    It is easier than that. You could remove the code from the core WP files that actually do the replacing. :D
     
    Dodger, Sep 2, 2008 IP
  13. BurnZ3r0

    BurnZ3r0 Member

    Messages:
    145
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #13
    Change the font you're using, by default... Sheesh.
     
    BurnZ3r0, Sep 2, 2008 IP
  14. lilac2

    lilac2 Peon

    Messages:
    367
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #14

    Thanks , this is exactly what I was asking for.

    I will send payment asap
     
    lilac2, Sep 2, 2008 IP
    Dodger likes this.
  15. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #15
    No payment needed. Rep me if you want.

    Remember to add that bit of code if you change your theme though.
     
    Dodger, Sep 3, 2008 IP