• I, not just use the plugin, but also do marketing for it, because I found it wonderfully good. <3 +1 for such a nice plugin. It’s @toscho who introduced me to the plugin. Love for him too.

    I have read The MP Wiki on mlp_show_linked_elements() and seen the code of the language switcher in github.

    Is there a way to change the language switcher HTML output?
    Because I designed my site’s Language Switcher using Bootstrap’s .btn .btn-default classes with .btn-group on the holder:

    <div class="lang-switcher btn-group btn-group-sm">
       <a class="btn btn-default active" href="/">BN</a>
       <a class="btn btn-default" href="/en">EN</a>
    </div>

    Screenshot: http://prntscr.com/9u3c64

    The language switcher cannot be manually created hard-coded, because it can switch language with the exact post in other language if connected to any. So it must be dynamic.

    • Is it possible adding some classes to the language switcher’s <li> and <a> so that I can achieve a look like this? or,
    • Can you provide a way so that the output can be completely managed by a developer? or,
    • Can you provide me a dynamic link so that using that, I can implement my hard-coded switcher with the dynamic functionality?

    Thank you for your kind assistance.

    https://wordpress.org/plugins/multilingual-press/

Viewing 1 replies (of 1 total)
  • Thread Starter Mayeenul Islam

    (@wzislam)

    Ok. Solved this repeating Bootstrap CSS rules to these elements as per my choice.

    Copied all the applicable CSS rules from .btn, .btn-group, .btn-group-sm, .btn-default to the .mlp_language_box elements as per the design.

    BTW, changing HTML classes or changing wrapper elements, in any future update would be a great addition.

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Filter to change HTML output of MP Language Swticher’ is closed to new replies.