כדי לבצע חיפוש בפורום או לפתוח כרטיס תמיכה חדש עבור לדף התמיכה
נוֹשֵׂא
|
תוֹמֵך | קולות | פוסטים | טְרִיוּת |
---|---|---|---|---|
All Featured Images are Lost
1
2
התחיל על ידי: aaronM-20
ב: English Support
Problem: function duplicate_featured_images_to_translations() { // Ensure this runs only in the admin area if (!is_admin()) { error_log('Not in admin area. Exiting function.'); return; } // Get all posts of the custom post type 'automobile' $args = array( 'post_type' => 'automobile', 'posts_per_page' => -1, 'post_status' => 'publish', ); $automobiles = new WP_Query($args); if ($automobiles->have_posts()) { error_log('Found posts of type automobile.'); while ($automobiles->have_posts()) { $automobiles->the_post(); $post_id = get_the_ID(); error_log("Processing post ID: $post_id"); // Get all translations for the current post $trid = apply_filters('wpml_element_trid', null, $post_id, 'post_automobile'); if (!$trid) { error_log("No TRID found for post ID: $post_id"); continue; } $translations = apply_filters('wpml_get_element_translations', null, $trid); if (!$translations) { error_log("No translations found for post ID: $post_id"); continue; } $update_original_post = false; foreach ($translations as $lang => $translation) { $translated_post_id = $translation->element_id; error_log("Checking translation for language: $lang, post ID: $translated_post_id"); // Check if the translated post has a featured image if (!has_post_thumbnail($translated_post_id)) { error_log("No featured image found for translation post ID: $translated_post_id"); $update_original_post = true; break; } } if ($update_original_post) { error_log("Updating original post ID: $post_id to duplicate media and featured image."); // Enable the settings to duplicate media and featured images on the original post update_post_meta($post_id, '_wpml_media_duplicate', 1); update_post_meta($post_id, '_wpml_media_featured', 1); // Update the original post to trigger the duplication wp_update_post(array( 'ID' => $post_id, 'post_content' => get_post_field('post_content', $post_id) // Just update without changes to trigger duplication )); } else { error_log("No update needed for original post ID: $post_id"); } } } else { error_log('No posts of type automobile found.'); } // Reset Post Data wp_reset_postdata(); } This script checks each post and its translations, and if the translation lacks a featured image, it updates the original post to enable media and image duplication. **** Important! Please make a full site backup (files and DB) before you proceed with those steps**** Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If this doesn't resolve your issue, 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. |
2 | 23 | לפני 7 שעות | |
Products on eboutique are duplicated : french has the same product twice, un Fr.
התחיל על ידי: laurenceV-4
ב: English Support
Problem: If these steps do not resolve the issue or if the solution 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 at WPML support forum. |
2 | 5 | לפני 2 ימים, 8 שעות | |
Fixed translatoin string in every post
התחיל על ידי: celia-reginaC
ב: English Support
Problem: Please note that this solution might be outdated or not applicable to your specific 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 the issue persists, please open a new support ticket at WPML support forum for further assistance. |
3 | 7 | לפני 3 ימים, 1 שעה | |
Translators cannot edit all languages.
התחיל על ידי: yenyiC
ב: English Support
Problem: If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we recommend opening a new support ticket. Also, check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at WPML Support Forum. |
2 | 10 | לפני 3 ימים, 3 שעות | |
Translated categories not not working/linking correctly
התחיל על ידי: sarahS-21
ב: English Support
Problem: Solution: |
2 | 8 | לפני 3 ימים, 5 שעות | |
Custom block translation
התחיל על ידי: Dhanendran Rajagopal
ב: English Support
Problem: <wpml-config> <gutenberg-blocks> <gutenberg-block type="cic/stat" translate="1"> <key name="number"></key> <key name="description"></key> </gutenberg-block> </gutenberg-blocks> </wpml-config> After adding this configuration, the client should make a small change to the page where the block appears and retranslate the page. This should resolve the issue with the untranslated texts. If this solution does not apply to your case, or if it 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 issues persist, please open a new support ticket at WPML support forum. |
2 | 6 | לפני 3 ימים, 6 שעות | |
Responsive Menu icons are not displayed in Spanish
התחיל על ידי: alaidA
ב: English Support
Problem: If this solution does not resolve your issue or seems outdated, please visit our known issues page, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket here. |
2 | 11 | לפני 3 ימים, 7 שעות | |
wpml behaviour incorrect
התחיל על ידי: sheldonB
ב: English Support
Problem: Please note that this solution might be outdated or not applicable to your specific 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 the issue continues, do not hesitate to open a new support ticket. For further assistance, you can also visit our support forum at WPML Support Forum. |
2 | 14 | לפני 3 ימים, 18 שעות | |
Translating the shipping string
התחיל על ידי: georgiT-5
ב: English Support
Problem: If the issue persists, try the following additional steps: add_action('init', function (){ delete_transient('wpml_st_upgrade_in_progress'); }); 2. Visit WPML-> String Translation once and then remove this code. If these steps do not resolve your issue, or if the solution seems outdated or irrelevant to your case, we recommend opening a new support ticket. We also 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. For further assistance, please visit our support forum at WPML support forum. |
2 | 10 | לפני 3 ימים, 18 שעות | |
Pay as you go not working
התחיל על ידי: Comms
ב: English Support
Problem: 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 the problem persists, please open a new support ticket at WPML support forum for further assistance. |
2 | 4 | לפני 4 ימים | |
Problem with translating using wpml multilingual
התחיל על ידי: georgiT-5
ב: English Support
Problem: Please ensure you backup your database before performing the above steps. 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 at WPML support forum. |
3 | 7 | לפני 4 ימים, 1 שעה | |
Menu drop down not working in Elementor
התחיל על ידי: charlesC-29
ב: English Support
Problem: Please note that this solution might be outdated or not applicable to your specific 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 the issue persists, please open a new support ticket. |
2 | 4 | לפני 4 ימים, 23 שעות | |
contact form translation not working only showing shortcode
התחיל על ידי: sagiS
ב: English Support
Problem: If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, please open a new support ticket. 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. For further assistance, you can contact us directly at the WPML support forum. |
2 | 2 | לפני 5 ימים | |
WPML Update is Incomplete You are running updated sitepress-multilingual-cms an
התחיל על ידי: uchikoshiT
ב: English Support
Problem: 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 further assistance is needed, please open a new support ticket at WPML support forum. |
2 | 3 | לפני 5 ימים, 1 שעה | |
The website disappears when I change the language to Italian.
התחיל על ידי: leventeK-5
ב: English Support
Problem: If these steps do not resolve the issue or if the solution seems outdated or irrelevant to your case, please visit https://wpml.org/known-issues/ to check for related known issues. Confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket for further assistance at WPML support forum. |
2 | 14 | לפני 5 ימים, 6 שעות |
דף זה כולל כרטיסי תמיכה שנפתרו ומתועדים. מחפשים כרטיסים ש"בעיצום"? בקר בארכיון כרטיסי התמיכה המלא