
WordPress
1
Вклад в тег
<?php
if (ICL_LANGUAGE_CODE == 'ru') {
echo "<div class='promo-bar-content'><a href='#'><strong>Русский</strong></a></div>";
} elseif (ICL_LANGUAGE_CODE == 'en') {
echo "<div class='promo-bar-content'><a href='#'><strong>English</strong></a></div>";
} elseif (ICL_LANGUAGE_CODE == 'uk') {
echo "<div class='promo-bar-content'><a href='#'><strong>Українська</strong></a></div>";
} elseif (ICL_LANGUAGE_CODE=='pl') {
echo "<div class='promo-bar-content'><a href='#'><strong>Poland</strong></a></div>";
}
?>