WordPress.org

Support

Support » Plugins and Hacks » Polylang » Feature request: extra language switcher class

Feature request: extra language switcher class

  • Hi Chouby,

    I have a request: Could you make it happen that the language switcher adds a third class to each language link next to ‘lang-item lang-item-(n)’ which would say more about the actual language? Something like the language short slug so the list items would be something like:

    <li class="lang-item lang-item-(n) fr">

    I need this for custom language flags on a multi-site installation where it is not possible to create the dir /wp-content/polylang/ to store custom flags because that would impact all other sites that use Polylang on the same network… My only solution seems to be to use CSS to hide the plugins IMG tags and then set the ones from my theme as background image to the A tag.

    Hope I explained this clear enough 🙂

    http://wordpress.org/extend/plugins/polylang/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Feature request: extra language switcher class’ is closed to new replies.
Skip to toolbar