Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End [php] html "lang" attribute if statement Reply To: [php] html "lang" attribute if statement

#253197
rubaka
Participant
<?php if(ICL_LANGUAGE_CODE=='en'): ?>
---do something---
<?php elseif(ICL_LANGUAGE_CODE=='it'): ?>
---do something else--
<?php endif; ?>