Dieser Benutzer hat keine Lieblingsthemen.
Bevorzugte Forumsthemen
Forumsthemen erstellt
Status |
Thema
|
Unterstützer | Stimmen | Beiträge | Frische |
---|---|---|---|---|---|
I have an issue regarding translating some strings
Angefangen von: John
in: English Support
Problem: Solution: Relevant Documentation: |
2 | 5 | Vor 1 Jahr, 9 Monate | ||
issue with wpml and product attributes
1
2
Angefangen von: John
in: English Support
Problem: Solution: /** * WPML Workaround for compsupp-6299 */ add_action('wp_head', 'wpml_compsupp6299_replace_term_meta_on_translations'); function wpml_compsupp6299_replace_term_meta_on_translations() { // Settings $taxonomy = 'pa_color'; // Replace with the attribute taxonomy $term_meta_key = '_xts_attribute_image'; //Replace with the term meta key //Get Terms $terms = get_terms(array( 'taxonomy' => $taxonomy, 'hide_empty' => false, ) ); echo '<div style="margin: 20px auto; border-radius: 20px; width: 800px; padding: 20px; border: 4px solid #ff0000;">'; foreach ( $terms as $term ) { $term_meta_value = get_term_meta( $term->term_id, $term_meta_key, true ); //Get Translations $taxonomy_wpml_key = 'tax_'.$taxonomy; $trid = apply_filters( 'wpml_element_trid', NULL, $term->term_id, $taxonomy_wpml_key ); $translations = apply_filters( 'wpml_get_element_translations', NULL, $trid, $taxonomy_wpml_key); foreach ($translations as $translation) { $translation_id = intval($translation->element_id); // Update term meta on translations with the meta value from the original term if ($translation_id != $term->term_id ) { update_term_meta( $translation_id, $term_meta_key, $term_meta_value ); echo '<h4>Term '.$translation_id.' updated.</h4>'; echo '<hr/>'; } } } echo '<p>Please remove the workaround from the functions.php file.'; echo '</div>'; } - Visit the site on front-end which will execute the code and the values from _xts_attribute_image term meta will be copied to the translations of the taxonomy/attributes. Relevant Documentation: |
2 | 24 | Vor 1 Jahr, 9 Monate | ||
Split: Product template with Vega theme
Angefangen von: John in: English Support |
2 | 4 | Vor 1 Jahr, 10 Monate | ||
WPML importing attributes issue
Angefangen von: John
in: English Support
Problem: [WP All Export] Exporting products taxonomies – missing WPML Translation ID field Solution: You are trying to export product attributes in 8 languages from one site and import them to another site. You must do that before importing any products with those attribute terms associated with them. You do not need to include the Term ID in the import file because the terms will get new IDs on the new site once the import is complete. So here are the steps you need to take. 1. Export terms in one language, then edit the file and add a unique identifier field/column to all terms. 2. Export terms in another language and edit the file to add a unique identifier field/column to all terms. 3. Import both files as per our standard procedure, explained in our guide here. Relevant Documentation: |
2 | 11 | Vor 1 Jahr, 10 Monate | ||
WP JobSearch issue
Angefangen von: John in: English Support |
2 | 2 | Vor 2 Jahre | ||
WPML price issue
Angefangen von: John in: English Support |
2 | 6 | Vor 2 Jahre, 1 Monat | ||
Mobile nav bar
Angefangen von: John in: English Support |
2 | 2 | Vor 2 Jahre, 1 Monat | ||
Jupiter theme can't translate portfolio slug
Angefangen von: John in: English Support |
2 | 5 | Vor 2 Jahre, 3 Monate | ||
Custom post type couldn't change the slug
Angefangen von: John in: English Support |
3 | 11 | Vor 2 Jahre, 4 Monate | ||
Scheduled sale price mixes the pricing with default language part 2
Angefangen von: John in: English Support |
2 | 9 | Vor 2 Jahre, 5 Monate | ||
Performance issues
Angefangen von: John in: English Support |
2 | 11 | Vor 2 Jahre, 6 Monate | ||
Product Feed PRO for WooCommerce – Issue with get product currency
Angefangen von: John in: English Support |
2 | 4 | Vor 2 Jahre, 8 Monate | ||
Translation doesn't update
Angefangen von: John in: English Support |
3 | 7 | Vor 3 Jahre, 4 Monate | ||
Phlox pro not showing on frontent
Angefangen von: John in: English Support |
1 | 1 |
Vor 3 Jahre, 4 Monate
John |
||
Invalis payment method.
Angefangen von: John in: Chat Support |
1 | 2 |
Vor 3 Jahre, 4 Monate
|