You could insert something more meaningful in the description such as “English”.
But there is of course a way to hide the title if you really need to do it:
https://github.com/lloc/Multisite-Language-Switcher/wiki/Change-the-output
Thread Starter
nini13
(@nini13)
Thank you
I am your code but I need to change anything to hide the tooltip ?
function my_msls_output_get( $url, $link, $current ) {
return sprintf(
'<a href="%s">%s</a>',
$url,
$link->txt,
( $current ? ' class="current"' : '' ),
$link
);
}
add_filter( 'msls_output_get', 'my_msls_output_get', 10, 3 );
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
The code should be similar to this:
function my_msls_output_get( $url, $link, $current ) {
return sprintf(
'<a href="%s"%s>%s</a>',
$url,
( $current ? ' class="current"' : '' ),
$link
);
}
add_filter( 'msls_output_get', 'my_msls_output_get', 10, 3 );
Thread Starter
nini13
(@nini13)
OK thank but
Every piece of code that can be personalized must be put where?
Most users place code like this in their functions.php.
Thread Starter
nini13
(@nini13)
super ok
I managed to remove the balloon and put the flags in my main menu
Again thank you for your support