logo

Home step columns text problem

This topic contains 6 replies, has 3 voices, and was last updated by  hillvalley 1 year, 10 months ago.

  • Author
    Posts

  • Simpleman
    Participant

    HI, i love your theme but i have one problem. In the Home step columns my text is in french and i have problem with ”

    example instead aujourd’hui it show aujourd\’hui or instead d’hier it show d\’hier

    Why this \ appear and how can i fix this???

    Regards


    Simpleman
    Participant

    You can see it here http://optimumsurf.com/esp3/ in the bleu column

     

    Regards


    imaginem
    Keymaster

    Hi,

    This is due to magic quotes switched On from your server.

    You can remove the slashes that’s added to the quotes by making the following modification

    edit /includes/mainpage/four-steps.php

    Locate lines 15,34,53 and 72

    Modify each line as

    Line 15

    <?php echo stripslashes_deep ( of_get_option('step_1_desc') ); ?>

    Line 34

    <?php echo stripslashes_deep ( of_get_option('step_2_desc') ); ?>

    Line 53

    <?php echo stripslashes_deep ( of_get_option('step_3_desc') ); ?>

    Line 72

    <?php echo stripslashes_deep ( of_get_option('step_4_desc') ); ?>

    Thanks


    Simpleman
    Participant

    Thanks, it work :)


    hillvalley
    Member

    Hello,

    I’m having the same issue. Here’s my site: http://www.hillvalleycreative.com/startup/

    I made the changes above but I’m now getting a syntax error.

    Thanks in advance.


    imaginem
    Keymaster

    Could you check again. The HTML quotes in the code was encoded. I’ve corrected them in the comment.

    Thanks


    hillvalley
    Member

    Perfect, thanks very much :)

You must be logged in to reply to this topic.