Support » Plugin: Multisite Language Switcher » Custom Flag Icons Url

  • Hi,

    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.

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



    for the first part you can write code similar to this:

    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.


    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?


    Plugin Author Dennis Ploetner


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

    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

    Plugin Author Dennis Ploetner


    If you have some functionality to add to plugin you’re welcome to to this on GitHub. 😉


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom Flag Icons Url’ is closed to new replies.