From description to plugin:
For display language switcher in any place add the code to your template
if ( function_exists ( 'wpm_language_switcher' ) ) wpm_language_switcher ();
Function accepts two parameters:
$type – ‘list’, ‘dropdown’, ‘select’. Default – ‘list’.
$show – ‘flag’, ‘name’, ‘both’. Default – ‘both’.
So, You need write:
if ( function_exists ( 'wpm_language_switcher' ) ) wpm_language_switcher ('list', 'flag');
Привіт, а можна ще дізнатися, яким чином розташувати мовні прапорці в одну стрічку? Я намагався додати у файл main.css наступні параметри
ul.switcher-list li {
display: inline;
}
Але це не спрацювало
@artemvp
Вітаю. Це більше питання оформлення. До роботи плаґіна не має жодного відношення. Можливо стилі теми перебивають ваші правила.
Потрібна адреса сайту. Тоді підкажу.
Hello. This is issue in css. This is not support question. Perhaps theme styles interrupt your rules.
Site address required. Then I’ll tell you.
Дяку, дійсно, проблема була з темою.