该用户没有最喜欢的主题。
最喜欢的论坛主题
创建的论坛主题
状态 |
主题
|
支持者 | 声音 | 文章 | 新鲜度 |
---|---|---|---|---|---|
Search modal box not translating
发起人: emmanuelleD-4
中: English Support
Problem: Solution: We advised the client that the text they are trying to translate is added through the theme's functions.php file and is not set up for translation by default. functions.php with the following code: function kt_add_form_title( $form ) { $content = '<div class="search-modal-content"><h5>' . __('What are you looking for?', 'your-text-domain') . '</h5></div>'; return $content . $form; } After updating the function, they should navigate to WPML->Themes and Plugin Localization to scan the theme and then translate the text using WPML's String Translation. For more details on theme internationalization, visit WordPress Theme Internationalization. If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/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. |
2 | 6 | 2 weeks, 6 days前 | ||
author link metadata and sidebar buttons can’t be translated
发起人: emmanuelleD-4
中: English Support
Problem: add_filter('author_link', 'modify_author_link', 10, 1);<br />function modify_author_link($link) {<br /> $current_language = apply_filters('wpml_current_language', null);<br /> if ($current_language === 'fr') {<br /> $link = 'https://www.thatcutedish.com/fr/a-propos/';<br /> } else {<br /> $link = 'https://www.thatcutedish.com/about/';<br /> }<br /> return $link;<br />} 2) For translating sidebar buttons, since they are part of a WordPress widget block, we directed the client to follow the steps in our guide on translating widgets (documentation). If the widgets are not appearing under Appearance > Widgets due to theme limitations, contacting the theme developer for assistance was recommended. If this solution does not resolve your issue or seems outdated, please check related known issues (here), verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If further assistance is needed, we highly recommend opening a new support ticket at WPML support forum. |
2 | 5 | 2 months前 | ||
Parent post of WPRM recipe cards
发起人: emmanuelleD-4 中: English Support |
2 | 2 | 3 months, 2 weeks前 |