Multilingual Press
[resolved] Displaying active and non-active languages in MLP widget (6 posts)

  1. toastyle1210
    Posted 2 years ago #


    How can I not only display the link to the language version of the blog users are currently not on, but a list to all language versions available in the widget?

    Let's say I have a German (GER) and an English (ENG) version of my blog – How can I make the widget display the following:

    a) on GER blog: GER | ENG
    b) on ENG blog: GER | ENG

    Thanks already for your help,



  2. toastyle1210
    Posted 2 years ago #

    In the meantime, I managed to display the current language next to the other available language in the widget. However, $current_language returns the lang code.

    Any way to display the title of the current language instead?

  3. Robert Windisch
    Plugin Author

    Posted 2 years ago #

    We are currently working on an update of the plugin where you can display all languages in the widget and in the template. That Update will be released this week.

  4. toastyle1210
    Posted 2 years ago #

    Great, thanks for Sharing the news

  5. Robert Windisch
    Plugin Author

    Posted 2 years ago #


    please update to the current version of the plugin and use the new parameters for mlp_show_linked_elements described at: https://github.com/inpsyde/multilingual-press/wiki/Public-Functions


  6. Lebochequirit
    Posted 2 years ago #

    I have the same problem as the thread creator.

    Sorry for being so dumb, but: I don't get it done with the new parameters you described in the given link.

    sort 'name' does not print the current language name but still the current blog title.

    Are there any new parameters NOT described yet or setting I didn't figure out?

    Thanks in advance,


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Multilingual Press
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic