Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ltg

    (@lararaider2)

    I really have no idea of php so I don’t know to to implement this code in my website :s
    Could you please show me how would u integrated in the code I put in the first post?

    I just want to have the information:
    <p>design by myself – <u>SEE MORE</u></p>`

    in 2 languages; the rest stays always the same^^

    By the way, instead of using “else{” as you did, wouldn’t be possible to use sth like “if($curLang == ‘es’)” to be more specific and in case I want to add a third language in the future?

    thx

    Thread Starter ltg

    (@lararaider2)

    I tried this kind of shortcodes:
    – [:en]English Text[:de]Deutsch[:]
    – <!–:en–>English Text<!–:–><!–:de–>Deutsch<!–:–>
    – <?php if(qtrans_getLanguage() == “es”) : ?>
    <h1>This is Spanish</h1>
    <?php endif ?>
    <?php if(qtrans_getLanguage() == “en”) : ?>
    <h1>This is English</h1>
    <?php endif ?>

    but the things is that I know very little about PHP so probably I didn’t even place’em in the write place :/
    That’s why I need some help, to help me integrate the PHP shortcodes properly in my footer code^^

Viewing 2 replies - 1 through 2 (of 2 total)