Support » Plugin: Polylang » [Plugin: Polylang] How to replace lang-item lang-item-5 menu-item classes with id

  • Resolved Legendre

    (@legendre)


    Hi!
    Could someone give me a hint to correctly replace CSS classes added by Polylang with a custom ID handle (say, id=lang) in language switcher menu:
    <li class="lang-item lang-item-5 menu-item"><a hreflang="ru" href="http://example.com/russian/">Рус</a></li>
    to get
    <li id="lang"><a hreflang="ru" href="http://example.com/russian/">Рус</a></li>
    instead?

    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 ‘[Plugin: Polylang] How to replace lang-item lang-item-5 menu-item classes with id’ is closed to new replies.