My site uses Polylang, the default options work correctly out of the box. I’ve been following the documentation in order to output some language-specific scripts.
The problem is the content of this variable:
if ( $wpml_lang === 'es' )
On my install, the values are “_es” for Spanish and “_en” for English. I don’t know if this is due to using Polylang or something else?
- You must be logged in to reply to this topic.