This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Split: the language switcher is not leading to the pages as before
Started by: ukuS
in: 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' => 'https://cdn.wpml.org/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' => 'https://cdn.wpml.org/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' => 'https://cdn.wpml.org/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 | 4 days, 23 hours ago | ||
I can’t upgrade my account
Started by: ukuS
in: 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 | 2 weeks, 1 day ago |