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