이 사용자는 즐겨찾는 주제가 없습니다.
즐겨찾는 포럼 주제
포럼 주제가 생성되었습니다.
상태 |
주제
|
서포터 | 목소리 | 게시물 | 선도 |
---|---|---|---|---|---|
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 주, 4 일 전에 | ||
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 월, 3 주 전에 | ||
Parent post of WPRM recipe cards
시작한 사람: emmanuelleD-4 안에: English Support |
2 | 2 | 3 월, 1 주 전에 |