このユーザーにはお気に入りのトピックがありません。
お気に入りのフォーラムトピック
作成したフォーラムトピック
| ステータス |
トピック
|
サポーター | 声 | 投稿 | 新着度 |
|---|---|---|---|---|---|
|
the translated caption in the images slider is not displayed in translated page
開始者:mickS-3
カテゴリ:English Support
Problem: function translate_gallery($metadata, $object_id, $meta_key, $single){
$meta_needed = 'gallery';
if ( isset( $meta_key ) && $meta_needed == $meta_key ){
remove_filter( 'get_post_metadata', 'translate_gallery', 100 );
$current_meta = get_post_meta( $object_id, $meta_needed, TRUE );
$to_translate = explode( ',', $current_meta );
foreach ( $to_translate as $key => $value ){
$to_translate[$key] = apply_filters( 'wpml_object_id', $value, 'attachment', true );
}
add_filter('get_post_metadata', 'translate_gallery', 100, 4);
$current_meta = implode( ',', $to_translate );
return $current_meta;
}
return $metadata;
}
add_filter( 'get_post_metadata', 'translate_gallery', 100, 4 );Additionally, modify the Jet Engine plugin's code to ensure compatibility with WPML. In the file \wp-content\plugins\jet-engine\includes\classes\tools.php, after line 792, add the following code: if ( is_numeric( $img_data ) ) {
$id = $img_data;
} elseif ( is_array( $img_data ) && isset( $img_data['id'] ) && isset( $img_data['url'] ) ) {
$id = $img_data['id'];
} else {
$id = attachment_url_to_postid( $img_data );
}Add the following // WPML Workaround for wpmlsupp-12960
if ( class_exists('Sitepress') ) {
$current_lang = apply_filters( 'wpml_current_language', NULL );
$id = apply_filters( 'wpml_object_id', $id, 'attachment', TRUE, $current_lang );
}If this solution does not resolve your issue or becomes irrelevant due to updates, 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 the problem persists, please open a new support ticket at WPML support forum for further assistance. |
|
0 | 15 | 8ヶ月、 3週前 | |
|
Translate media meta fields JetEngine
開始者:mickS-3
カテゴリ:English Support
Problem: If these steps do not resolve your issues, or if the solution seems outdated or not applicable to your case, we recommend opening a new support ticket. Additionally, 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. |
|
0 | 9 | 9ヶ月前 | |
|
Translating links in product description Woocommerce
開始者:mickS-3 カテゴリ:English Support |
|
2 | 4 | 2年前 | |
|
Checkout is not working when bundle product is in cart
開始者:mickS-3 カテゴリ:English Support |
|
2 | 4 | 2年、 1ヶ月前 | |
|
WooCommerce email strings have mixed languages
1
2
開始者:mickS-3 カテゴリ:English Support |
|
2 | 20 | 2年、 2ヶ月前 | |
|
Shop manager can't translate everything
開始者:mickS-3 カテゴリ:English Support |
|
2 | 6 | 2年、 2ヶ月前 | |
|
Woocommerce Notification cannot be translated
開始者:mickS-3 カテゴリ:English Support |
|
2 | 10 | 2年、 4ヶ月前 | |
|
Elementor button translation different destination
開始者:mickS-3 カテゴリ:English Support |
|
2 | 2 | 2年、 4ヶ月前 | |
|
Translation of link in Elementor template
開始者:mickS-3 カテゴリ:English Support |
|
2 | 9 |
3年、 2ヶ月前
mickS-3 |
|
|
Can't access editor
開始者:mickS-3 カテゴリ:English Support |
2 | 3 | 3年、 11ヶ月前 | ||
|
Language chooser are bullets (Elementor)
開始者:mickS-3 カテゴリ:English Support |
1 | 2 | 4年、 4ヶ月前 | ||
|
a way to disable the Country availability within payments
開始者:mickS-3 カテゴリ:English Support |
|
2 | 5 | 4年、 11ヶ月前 |