WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. toastyle1210
    Member
    Posted 1 year ago #

    Hi,

    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,

    Tobias

    http://wordpress.org/extend/plugins/multilingual-press/

  2. toastyle1210
    Member
    Posted 1 year 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
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year ago #

    Great, thanks for Sharing the news

  5. Robert Windisch
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    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

    regards,
    Robert

  6. Lebochequirit
    Member
    Posted 1 year 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,

    L.B.Q.R.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic