此用户没有收藏的主题。
收藏的论坛主题
创建的论坛主题
| 状态 |
主题
|
支持人员 | 参与者 | 帖子 | 最新活动 |
|---|---|---|---|---|---|
|
Split: the language switcher is not leading to the pages as before
发起人:ukuS
在:English Support
Problem: functions.php file of the client's theme. This function modifies the language switcher to include external links for the specified languages. Here is the code to implement: function custom_language_switcher_links( $languages ) {<br /> $languages['external_1'] = array(<br /> 'url' => 'https://www.changepartners.fi',<br /> 'native_name' => 'Suomi',<br /> 'translated_name' => 'Finnish',<br /> 'country_flag_url' => '/wp-content/plugins/sitepress-multilingual-cms/res/flags/fi.svg',<br /> 'language_code' => 'fi',<br /> 'code' => 'fi'<br /> );<br /> $languages['external_2'] = array(<br /> 'url' => 'https://www.changepartners.lv/',<br /> 'native_name' => 'Latviešu',<br /> 'translated_name' => 'Latvian',<br /> 'country_flag_url' => '/wp-content/plugins/sitepress-multilingual-cms/res/flags/lv.svg',<br /> 'language_code' => 'lv',<br /> 'code' => 'lv'<br /> );<br /> $languages['external_3'] = array(<br /> 'url' => 'https://changepartners.lt/',<br /> 'native_name' => 'Lietuvių',<br /> 'translated_name' => 'Lithuanian',<br /> 'country_flag_url' => '/wp-content/plugins/sitepress-multilingual-cms/res/flags/lt.svg',<br /> 'language_code' => 'lt',<br /> 'code' => 'lt'<br /> );<br /> return $languages;<br />}<br />add_filter( 'icl_ls_languages', 'custom_language_switcher_links' );Please ensure to back up your site fully before implementing this solution. If this solution does not resolve your issue or seems outdated, we recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket. |
|
0 | 12 | 1 year前 | |
|
I can’t upgrade my account
发起人:ukuS
在:English Support
Problem: I am trying to upgrade my WPML account from Multilingual Blog to Multilingual CMS, but I don't see an Upgrade button. When I try to purchase the Multilingual CMS separately, I encounter an error page while logged in. Solution: We needed to fix this specific problem from our side. If you encounter a similar situation, please open a new ticket on our support forum or write to us at hello@wpml.org. |
|
0 | 7 | 1 year前 |