if language wpml
snippet in php

if language wpml

user5349

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