• Resolved marcioellobo

    (@marcioellobo)


    I wish I have something like this in my template file:

    <h2>
    <?php if('pt'): ?>
    Title in Portuguese
    <?php elseif('en'): ?>
    Title in English
    <?php endif; ?>
    </h2>

    Any suggestion?

    Thanks!

  • The topic ‘How to create conditional language term in template?’ is closed to new replies.