• First of all, I admire the owner of Polylang plugin as it works awesome!

    My question is, if Polylang is capable of adding “en-za” or “en-au” html lang on certain pages that I want to target to Australian or South AFrican audience ?

    THx.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chouby

    (@chouby)

    Hi,

    The html lang is outputed by the theme when it uses the function language_attributes(). See, for example, the code of Twenty Seventeen in header.php. Polylang will filter this function to output the correct value, based on the current language (en_ZA or en_AU).

    Thread Starter Silky345234

    (@silky345234)

    Chouby,
    That means POLYLANG plugin will simply overwrite the default theme HTML LANG for certain pages right ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HTML LANG = “en-Za”’ is closed to new replies.