Multisite Language Switcher
Custom Flag Icons Url (6 posts)

  1. phatelvis
    Posted 2 years ago #


    I am trying to set up a multisite with 6 "blogs", and 3 languages:

    US/English Site 1
    US/English Site 2
    French Site 1
    French Site 2
    Spanish Site 1
    Spanish Site 2

    (The site 2s are less complex sites with fewer options / pages.)

    I would like to distinguish between the sites in the backend - right now if I view all pages in the French dashboard, I see 2 US flags, and 2 Spanish flags representing the sites.

    For the "site 2 sites", I have tried setting a custom url with different flag icons (actually grey scale, but files named the same though)

    Maybe this is not how the functionality works anyway, I'm thinking - If I'm in the dashboard for one language sites, do all flags icons come from that one flags directory?

    I have tried setting the url to
    and also

    but all I ever see in any dashboard are the icons in
    wp-content/plugins/multisite-language-switcher/flags/. I can't get my custom path recognised any way

    Am I doing something wrong here?

    Thank you.


  2. Dennis Ploetner
    Plugin Author

    Posted 2 years ago #


    for the first part you can write code similar to this: https://github.com/lloc/Multisite-Language-Switcher/wiki/Change-the-blog-collection

    Regarding the flags there is nothing wrong with the ways you tried. The customization just works in the front-end and not in the back-end.


  3. phatelvis
    Posted 2 years ago #

    Thank you Dennis for your prompt reply. I didn't even think of the front end - there are no actions / filters / overrides that I can use for the admin pages icons then?


  4. Dennis Ploetner
    Plugin Author

    Posted 2 years ago #

    No. There is a check in the current version if the user is in the backend. You could at a feature-request for this ...

  5. phatelvis
    Posted 2 years ago #

    Thanks again.

    What I actually want is

    in the backend:

    Say I have one English blog, and two French blogs (I actaully have an instance where this is reality.)

    When I am in the English blog admin section, I would like to see 2 different icons for the French sites, so I can tell them apart.

    I'm afraid I hacked your plugin code to acheive this...

    Thank you for a great plugin

  6. Dennis Ploetner
    Plugin Author

    Posted 2 years ago #

    If you have some functionality to add to plugin you're welcome to to this on GitHub. ;)


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Multisite Language Switcher
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic