Yeah then it`s works?
Do you have some ideas?
Becouse I have tried deactivate all plugins , but still dosent work..
I got same problem…:(
Any solution? http://sirtech.lv
Can you add flag to this code?
That will be awsome 🙂
if ( class_exists( 'WPGlobus' ) ) {
foreach( WPGlobus::Config()->enabled_languages as $l ){
if( $l == WPGlobus::Config()->language ) {
echo '<span>'.$l.'</span>';
} else {
echo '<a href="localize_current_url($l). '">';
echo $l;
echo '</a>';
}
}
}
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code has now been damaged by the forum’s parser.]