ผู้ใช้รายนี้ไม่มีหัวข้อที่ชื่นชอบ.
หัวข้อฟอรั่มที่ชื่นชอบ
สร้างหัวข้อฟอรัมแล้ว
สถานะ |
หัวข้อ
|
ผู้สนับสนุน | เสียง | กระทู้ | ความสดชื่น |
---|---|---|---|---|---|
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 | 1 weeks, 4 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 | 1 months, 3 weeks มาแล้ว | ||
Parent post of WPRM recipe cards
เริ่มโดย: emmanuelleD-4 ใน: English Support |
2 | 2 | 3 months, 1 weeks มาแล้ว |