WordPress.org

Ready to get started?Download WordPress

Forums

language switcher if else condition (1 post)

  1. belzebub2
    Member
    Posted 3 years ago #

    Hello,

    my blog http://belzebub2.com in swedish and english has a languageswitcher with flags but i want to change it to just the word [in english] when visiting the swedish side and [in swedish] viseble only at the english side.
    The Translations is handeled by wpml plugin and the english url is http://belzebub2.com/?lang=en
    So im trying to create an if else condition in the header without success. Can anyone help me ?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.