למשתמש זה אין נושאים מועדפים.
נושאי פורום מועדפים
נושאי פורום שנוצרו
סטטוס |
נושא
|
תומך | קולות | פוסטים | עדכניות |
---|---|---|---|---|---|
Advanced Custom Fields Multilingual slow down my sites
נפתח על ידי: mikhaelA
ב: English Support
Problem: acf_get_field , especially for fields that don't require translation. Replace these with direct get_post_meta calls to bypass both WPML and ACF retrieval logic. functions.php or as a drop-in plugin: add_filter( 'acfml_should_translate_acf_entity', function( $should, $field, $context ) {<br /> $should = false;<br /> static $customfield_settings;<br /> if ( ! is_array( $customfield_settings ) ) {<br /> $icl_sitepress_settings = get_option( 'icl_sitepress_settings' );<br /> $customfield_settings = $icl_sitepress_settings['translation-management']['custom_fields_translation'];<br /> }<br /> if ( $context === 'field' ) {<br /> $field_name = $field['name'];<br /> if ( isset( $customfield_settings[$field_name] ) && $customfield_settings[$field_name] === WPML_TRANSLATE_CUSTOM_FIELD ) {<br /> $should = true;<br /> }<br /> }<br /> return $should;<br />}, 10, 3 ); This code ensures that only fields marked for translation are processed, significantly improving performance. If these solutions do not resolve your issue or seem 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 the problem persists, please open a new support ticket. |
|
2 | 14 | לפני 8 חודשים | |
Second language posts causes fatal error
נפתח על ידי: mikhaelA ב: Chat Support |
|
1 | 2 |
לפני 9 חודשים
|
|
Deprecated: urlencode(): Passing null to parameter #1 ($string) of type string i
נפתח על ידי: mikhaelA ב: English Support |
2 | 2 | לפני שנה 1 | ||
Translating the slug of the taxonomy "Category"
נפתח על ידי: mikhaelA ב: Chat Support |
|
1 | 2 |
לפני שנה 1
|
|
Error when saving homepage
נפתח על ידי: mikhaelA ב: Chat Support |
|
1 | 2 |
לפני שנה 1, 3 חודשים
|
|
Barn2 product table : image column not showing in english language
נפתח על ידי: mikhaelA ב: English Support |
|
2 | 7 | לפני 2 שנים, 3 חודשים | |
Fatal error when saving option page with repeater "type WP_Term as array"
נפתח על ידי: mikhaelA ב: Assistance en français |
|
2 | 7 | לפני 2 שנים, 4 חודשים | |
Compatibility with Product Visibility by User Role and WPML
נפתח על ידי: mikhaelA ב: English Support |
|
2 | 3 | לפני 2 שנים, 10 חודשים | |
Ajout de produit en ajax ne fonctionne plus pour la langue secondaire avec varia
נפתח על ידי: mikhaelA ב: Assistance en français |
|
2 | 6 | לפני 3 שנים, 5 חודשים | |
Ajax add_to_cart not working on second language with variations
נפתח על ידי: mikhaelA ב: English Support |
|
2 | 2 | לפני 3 שנים, 5 חודשים | |
Changement de langue sur domaine multiple – Langue principal non fonctionnel
1
2
נפתח על ידי: mikhaelA ב: Assistance en français |
|
2 | 19 | לפני 4 שנים, 2 חודשים | |
Tranlate PlaceHolder
נפתח על ידי: mikhaelA ב: English Support |
|
2 | 2 |
לפני 4 שנים, 10 חודשים
mikhaelA |