Questo utente non ha argomenti preferiti.
Argomenti preferiti del forum
Argomenti del forum creati
Stato |
Argomento
|
Sostenitore | Voci | Messaggi | Freschezza |
---|---|---|---|---|---|
Upsell title products
Iniziato da: piaP-6 in: English Support |
2 | 10 | 1 settimana fa | ||
_lsvary cookie is set on translated pages
Iniziato da: piaP-6
in: English Support
Problem: We recommend contacting the plugin authors directly for the most recent updates on this issue. The code below, provided by the client, eliminates the need to vary the cache based on currency. However, this approach is only suitable when a single currency is used per (sub)domain or URL. Please note that this code is untested and provided as-is, as it was not created by our team. We strongly recommend testing it thoroughly in a staging environment before implementation. add_filter('litespeed_vary', 'unset_litespeed_wcml_vary_cookie', 99); function unset_litespeed_wcml_vary_cookie($vary_list){ if (isset($vary_list['wcml_currency'])){ unset($vary_list['wcml_currency']); } return $vary_list; } 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 you still need assistance, please open a new support ticket at our support forum. |
2 | 7 | 1 settimana, 2 giorni fa | ||
Rounding in other currencies
Iniziato da: piaP-6
in: English Support
Problem: If this solution does not resolve your issue or seems outdated, please check the related known issues 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 for further assistance. |
0 | 5 | 2 settimane, 3 giorni fa | ||
Product Meta links is pointing at different language
1
2
Iniziato da: piaP-6
in: English Support
Problem: The "Adjust IDs for multilingual functionality" setting in WPML helps ensure that content elements like posts, pages, media, and taxonomies are correctly linked across different languages. This setting is crucial for maintaining the integrity of ID-based content across your site, facilitated by themes, plugins, or custom fields. While enabling this feature might introduce a slight performance overhead due to additional database queries, proper caching strategies can effectively minimize this impact. If this solution does not resolve your issue, or if it seems outdated or irrelevant 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 problems persist, please do not hesitate to open a new support ticket with us for further assistance. You can do so at WPML Support Forum. |
2 | 21 | 1 mese fa | ||
Delete job in ATE
Iniziato da: piaP-6 in: Chat Support |
1 | 2 |
1 mese fa
|
||
Speed up WPML site
1
2
Iniziato da: piaP-6
in: English Support
Problem: Solution: Additionally, we found that WPML Media does not significantly impact performance unless used for translating images specifically for different languages. We also noted that the site's hosting might contribute to performance issues due to resource limitations or database call restrictions, especially with increased content from multiple languages. 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 here. |
4 | 23 | 1 mese, 1 settimana fa | ||
Product featured image is missing on translation
Iniziato da: piaP-6
in: English Support
Problem: function wpml_sync_wp_attachment_metadata() { // Get all original media attachments global $wpdb; $original_attachments = $wpdb->get_results(" SELECT element_id FROM {$wpdb->prefix}icl_translations WHERE source_language_code IS NULL AND element_type = 'post_attachment' "); foreach ($original_attachments as $original_attachment) { $original_id = $original_attachment->element_id; // Get metadata from original $metadata = get_post_meta($original_id, '_wp_attachment_metadata', true); // Get translated posts for this attachment $translations = $wpdb->get_results($wpdb->prepare(" SELECT element_id FROM {$wpdb->prefix}icl_translations WHERE trid = (SELECT trid FROM {$wpdb->prefix}icl_translations WHERE element_id = %d AND element_type = 'post_attachment') AND source_language_code IS NOT NULL ", $original_id)); foreach ($translations as $translation) { $translated_id = $translation->element_id; // Update translated post meta with the same metadata update_post_meta($translated_id, '_wp_attachment_metadata', $metadata); } } } add_action('init', 'wpml_sync_wp_attachment_metadata'); After adding the script, reload your dashboard page and then remove the script. Ensure to back up your database before proceeding. Please note that this code has not been thoroughly tested and is more of an idea for fixing the problem. If it doesn't work as expected, you or someone with appropriate expertise must make any necessary adjustments. The custom coding falls outside the support provided here. You can find more information for developers here: https://wpml.org/documentation/support/ This solution might not be relevant if it's 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 issue persists, please open a new support ticket at WPML support forum. |
2 | 18 | 1 mese, 1 settimana fa | ||
Lifting charge for specific currency
Iniziato da: piaP-6 in: Chat Support |
1 | 2 |
1 mese, 2 settimane fa
|
||
Translate imported links
Iniziato da: piaP-6
in: 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 problem persists, please open a new support ticket. |
2 | 14 | 1 mese, 3 settimane fa |