Digital experiences for all disciplines
Forum Replies Created
Viewing 1 post (of 1 total)
-
Posted in: We hit Power Elite.
-
But is there a way to change the code so that the flags are always showing? Maybe in here:???
/* LANGUAGE FLAGS ================================================== */ function language_flags(){ if (function_exists('icl_get_languages')) { $languages = icl_get_languages('skip_missing=0&orderby=code'); if(!empty($languages)){ echo '<ul id="header-language-flags" class="clearfix">'; foreach($languages as $l){ echo '
- '; if($l['country_flag_url']){ if(!$l['active']) { echo ''; } else { echo '<div class="current-language"></div>'; } } echo '
'; } echo ''; } } else { echo "<p>WPML not installed and activated.</p>"; } } -
Posted in: We hit Power Elite.
Viewing 1 post (of 1 total)