WordPress.org

Forums

WPtouch Mobile Plugin
WPML does not work for Footer text area (1 post)

  1. PavelCZ1982
    Member
    Posted 1 year ago #

    Hi guys,

    support of WMPL is something nice, thanks for that. Unfortunately it does not work for Custom footer content in Theme settings.

    If I want to use something like this:

    <?php if(ICL_LANGUAGE_CODE=='cs'){
    ?>
    <h3 class="heading-font">Bla Bla in Czech</h3>
    <?php }elseif(ICL_LANGUAGE_CODE=='en'){
    ?>
    <h3 class="heading-font">Bla Bla in English</h3>
    <?php
    }
    ?>

    Then I receive both text on page no matter which language mutation has been chosen!

    Thanks for solving this.
    Pavel

    https://wordpress.org/plugins/wptouch/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.