이 사용자는 즐겨찾는 주제가 없습니다.
즐겨찾는 포럼 주제
생성한 포럼 주제
| 상태 |
주제
|
지원자 | 의견 | 게시물 | 최신 활동 |
|---|---|---|---|---|---|
|
Translate Elementor Dynamic tag custom field
시작: Nohemi
카테고리: English Support
Problem: Solution: public function render(): void {<br /> // Grab settings<br /> $text = (string) $this->get_settings( 'text_param' );<br /> $number = (int) $this->get_settings( 'number_param' );<br /> $select = (string) $this->get_settings( 'select_param' );<br /><br /> // --- WPML translation for the text field ---<br /> // Use a stable domain and a reasonably unique name to avoid collisions across pages.<br /> $domain = 'elementor-random-number-dynamic-tag';<br /> $post_id = function_exists('get_the_ID') ? (int) get_the_ID() : 0;<br /> $name = sprintf( 'text_param|post:%d', $post_id );<br /><br /> // 1) Register the original string (safe to leave in place permanently)<br /> do_action( 'wpml_register_single_string', $domain, $name, $text );<br /><br /> // 2) Fetch the translated version (if any)<br /> $text_translated = apply_filters( 'wpml_translate_single_string', $text, $domain, $name );<br /><br /> // ---- your actual output ----<br /> // (Example: echo the translated text, the random number, etc.)<br /> echo esc_html( $text_translated );<br />}If this solution does not resolve your issue or seems outdated, 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 the problem persists, please open a new support ticket at our support forum. |
|
0 | 13 | 6 월, 1 주 전에 | |
|
/wp-json/wpml/tm/v1/ate/jobs/retry 403 if current user hasn't the capability
시작: Nohemi 카테고리: English Support |
|
2 | 10 | 1 년, 10 월 전에 | |
|
Translate a number in shortcode attributes in elementor
1
2
시작: Nohemi 카테고리: English Support |
|
3 | 22 | 2 년, 6 월 전에 | |
|
Translate Elementor links
시작: Nohemi 카테고리: English Support |
|
2 | 3 | 3 년 전에 |