이 사용자는 즐겨찾는 주제가 없습니다.
즐겨찾는 포럼 주제
포럼 주제가 생성되었습니다.
상태 |
주제
|
서포터 | 목소리 | 게시물 | 선도 |
---|---|---|---|---|---|
New ATE update broke
시작한 사람: martinM-117 안에: English Support |
|
0 | 8 | 9 시간, 8 분 전에 | |
Translated link targets not working at all
1
2
시작한 사람: martinM-117
안에: English Support
Problem: Solution: 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 WPML support forum. |
|
2 | 23 | 4 월, 1 주 전에 | |
Formats for “blank rows as spaces” between content doesnt copy to translated version
1
2
시작한 사람: martinM-117
안에: English Support
Problem: wp-content/themes/betheme/functions/theme-functions.php file. mfn_wpml_encode_custom_field and mfn_wpml_decode_custom_field functions with the updated code provided below: function mfn_wpml_encode_custom_field( $custom_field_val, $custom_field_name ) { if ( $custom_field_name === 'mfn-page-items' ) { $custom_field_val = mb_convert_encoding($custom_field_val, 'UTF-8', 'auto'); $custom_field_val = base64_encode( serialize($custom_field_val) ); } return $custom_field_val; } add_filter( 'wpml_encode_custom_field', 'mfn_wpml_encode_custom_field', 10, 2 ); function mfn_wpml_decode_custom_field( $custom_field_val, $custom_field_name ) { if ( $custom_field_name === 'mfn-page-items' && is_string($custom_field_val) ) { $custom_field_val = mb_convert_encoding($custom_field_val, 'UTF-8', 'auto'); $custom_field_val = maybe_unserialize( base64_decode($custom_field_val) ); } return $custom_field_val; } add_filter( 'wpml_decode_custom_field', 'mfn_wpml_decode_custom_field', 10, 2 ); 3. Edit the page in the default language. If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable 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 needed, please open a new support ticket at WPML support forum for further assistance. |
|
2 | 24 | 5 월 전에 | |
lost translations after updating gramar mistakes in original language
시작한 사람: martinM-117 안에: English Support |
|
3 | 9 | 6 월 전에 | |
after transating captions of my images in post it shows {%CAPTION%} instead of translated text
1
2
시작한 사람: martinM-117
안에: English Support
Problem: Solution: // WPML Workaround for compsupp-7497<br />function wpml_compsupp7497_replace_caption_placeholder_shortcode( $output, $attr, $content ) {<br /> $caption_placeholder = '{%CAPTION%}';<br /> if ( strpos( $attr['caption'], $caption_placeholder ) !== false ) {<br /> if ( preg_match( '/attachment_(\d+)/', $attr['id'], $matches ) ) {<br /> $attachment_id = $matches[1];<br /> $translated_attachment_id = apply_filters( 'wpml_object_id', $attachment_id, 'attachment', true );<br /> $actual_caption = get_post_field( 'post_excerpt', $translated_attachment_id );<br /> $attr['caption'] = str_replace( $caption_placeholder, $actual_caption, $attr['caption'] );<br /> }<br /> }<br /> remove_filter( 'img_caption_shortcode', 'wpml_compsupp7497_replace_caption_placeholder_shortcode', 10 );<br /> $output = img_caption_shortcode( $attr, $content );<br /> add_filter( 'img_caption_shortcode', 'wpml_compsupp7497_replace_caption_placeholder_shortcode', 10, 3 );<br /> return $output;<br />}<br />add_filter( 'img_caption_shortcode', 'wpml_compsupp7497_replace_caption_placeholder_shortcode', 10, 3 ); If this solution does not resolve the issue or seems irrelevant due to updates or different configurations, we 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 problems persist, please open a new support ticket. |
|
2 | 20 | 6 월, 1 주 전에 |