Người dùng này không có chủ đề yêu thích.
Chủ đề diễn đàn yêu thích
Chủ đề diễn đàn đã được tạo
Trạng thái |
Đề tài
|
Người ủng hộ | Tiếng nói | Bài viết | Độ tươi |
---|---|---|---|---|---|
Search modal box not translating
Bắt đầu bởi: emmanuelleD-4
tRONG: 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 | 1 weeks, 4 days trước | ||
author link metadata and sidebar buttons can’t be translated
Bắt đầu bởi: emmanuelleD-4
tRONG: 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 | 1 months, 3 weeks trước | ||
Parent post of WPRM recipe cards
Bắt đầu bởi: emmanuelleD-4 tRONG: English Support |
2 | 2 | 3 months, 1 weeks trước |