Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

if language wpml

<?php if(ICL_LANGUAGE_CODE=='en'): ?>
---do something---
<?php elseif(ICL_LANGUAGE_CODE=='it'): ?>
---do something else--
<?php endif; ?>
 
PREVIOUS NEXT
Tagged: #language #wpml
ADD COMMENT
Topic
Name
7+4 =