Support » Plugin: Multisite Language Switcher » multi site language switcher:display list of flags horizontaly

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Dennis Ploetner


    You could try to make this in the configuration of the before/after list- and before/after item-fields.


    if it can help people, i did as you said :

    I inserted table tag in before/after list field and td tag before/after item fields.

    It works

    TKX for fast answer

    I would also like to display the flags horizontally. However, I do not know where exactly to insert the table tag in before/after field. Could you be more specific?
    I have only two flags set up at teh moment but I will want to include up to 10 languages and it would be much neater to display horizontally…
    Thank You!

    Plugin Author Dennis Ploetner


    @designscopedublin Go to “Settings > Multisite Language Switcher Options” (/wp-admin/options-general.php?page=MslsAdmin) and you’ll see these fields.

    Thanks, I found those fields but as I am not a php programmer I’m unsure exactly where to place the <table></table> and <td></td> tags and do not want to get errors in the code…can you just guide me with the fields below? Tkx

    ‘ add_settings_field( ‘before_output’, __( ‘Text/HTML before the list’, ‘msls’ ), array( $this, ‘before_output’ ), __CLASS__, ‘section’ );
    add_settings_field( ‘after_output’, __( ‘Text/HTML after the list’, ‘msls’ ), array( $this, ‘after_output’ ), __CLASS__, ‘section’ );
    add_settings_field( ‘before_item’, __( ‘Text/HTML before each item’, ‘msls’ ), array( $this, ‘before_item’ ), __CLASS__, ‘section’ );
    add_settings_field( ‘after_item’, __( ‘Text/HTML after each item’, ‘msls’ ), array( $this, ‘after_item’ ), __CLASS__, ‘section’ );’

    Plugin Author Dennis Ploetner


    There is nothing to code. Go to the backend of your running installation of WordPress. In Settings > Multisite Language Switcher you will find a form where you can insert your html-tags.

    Please read this article for further information.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘multi site language switcher:display list of flags horizontaly’ is closed to new replies.