Hi fandan!
Click on the little arrow to see the options for the language switcher and click “Hides the current language” then save the menu.
Is this what you wanted?
Nick
PS: You misspelled fendant… (-;
Thread Starter
fandan
(@fandan)
Hi Nick
Thanks for the response!
Are you referring to the language switcher widget? i don’t have a top header widget in theme so i used a php code in my header ”
“;
and and css style
.lang-item {
display: inline;
}
.lang-item {
float: left;
margin:1px;
}
.lang-item + li:before {
content: ” I “;
}
I miss spell everything ..lol
Danny
Hi Danny!
Now I understand the spelling of your nickname… (-;
Yes, I was referring to the widget…
I can see two possible solutions to your problem…
– http://ww.wp.xz.cn/support/topic/easily-add-widget-areas-to-theme-template-like-blogger-blogspot
– pll_the_languages(array('hide_current' => 1));
(I think that should work, never tried this…)
Please let me know how this turns out…
Have a nice day!
Nick
PS: The little PHP I know is quite rusty…
PPS: It’s most likely documented somewhere else top but I looked at the code in include/api.php for the parameters…
Thread Starter
fandan
(@fandan)
Hey Nick!
That worked perfectly …thanks a lot for your help!!!
Take care
Dan
You are welcome / De rien Dan!
Nick