Use Flags like in the widget anywhere?

Home Forums WordPress Plugins Language Switcher Use Flags like in the widget anywhere?

Viewing 1 reply thread
  • Author
    Posts
    • #8126

      Good day!

      I find the layout of the widget many times more appealing than the button to expand the language options, which can be inserted via shortcode.

      Can I functionally insert the flags as in the widget without the button (via snippet or shortcode) and if so, how?

      Thanks in advance!

    • #8128
      Rafasashi
      Keymaster

      Hello there!

      The language selections should be prefixed by <span class="flag flag-{iso}"></span> allowing you to implement flags via CSS:

      How to show a country flag in front of the language selection?

      Is it answering you question?

      • This reply was modified 1 year, 8 months ago by Rafasashi.
      • This reply was modified 1 year, 8 months ago by Rafasashi.
      • This reply was modified 1 year, 8 months ago by Rafasashi.
Viewing 1 reply thread
  • You must be logged in to reply to this topic.