למשתמש זה אין נושאים מועדפים.
נושאי הפורום המועדפים
נושאי הפורום נוצרו
מצב |
נוֹשֵׂא
|
תוֹמֵך | קולות | פוסטים | טְרִיוּת |
---|---|---|---|---|---|
I have an issue regarding translating some strings
התחיל על ידי: John
ב: English Support
Problem: Solution: Relevant Documentation: |
2 | 5 | לפני 1 שנה, 9 חודשים | ||
issue with wpml and product attributes
1
2
התחיל על ידי: John
ב: 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 | לפני 1 שנה, 9 חודשים | ||
Split: Product template with Vega theme
התחיל על ידי: John ב: English Support |
2 | 4 | לפני 1 שנה, 10 חודשים | ||
WPML importing attributes issue
התחיל על ידי: John
ב: 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 | לפני 1 שנה, 11 חודשים | ||
WP JobSearch issue
התחיל על ידי: John ב: English Support |
2 | 2 | לפני 2 שנים | ||
WPML price issue
התחיל על ידי: John ב: English Support |
2 | 6 | לפני 2 שנים, 1 חודש | ||
Mobile nav bar
התחיל על ידי: John ב: English Support |
2 | 2 | לפני 2 שנים, 1 חודש | ||
Jupiter theme can't translate portfolio slug
התחיל על ידי: John ב: English Support |
2 | 5 | לפני 2 שנים, 3 חודשים | ||
Custom post type couldn't change the slug
התחיל על ידי: John ב: English Support |
3 | 11 | לפני 2 שנים, 4 חודשים | ||
Scheduled sale price mixes the pricing with default language part 2
התחיל על ידי: John ב: English Support |
2 | 9 | לפני 2 שנים, 5 חודשים | ||
Performance issues
התחיל על ידי: John ב: English Support |
2 | 11 | לפני 2 שנים, 6 חודשים | ||
Product Feed PRO for WooCommerce – Issue with get product currency
התחיל על ידי: John ב: English Support |
2 | 4 | לפני 2 שנים, 8 חודשים | ||
Translation doesn't update
התחיל על ידי: John ב: English Support |
3 | 7 | לפני 3 שנים, 4 חודשים | ||
Phlox pro not showing on frontent
התחיל על ידי: John ב: English Support |
1 | 1 |
לפני 3 שנים, 4 חודשים
John |
||
Invalis payment method.
התחיל על ידי: John ב: Chat Support |
1 | 2 |
לפני 3 שנים, 4 חודשים
|