Dieser Benutzer hat keine Lieblingsthemen.
Favorisierte Forenthemen
Erstellte Forenthemen
Status |
Thema
|
Unterstützer | Stimmen | Beiträge | Aktualisierung |
---|---|---|---|---|---|
Advanced Custom Fields Multilingual slow down my sites
Erstellt von: mikhaelA
in: 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 | Vor 8 Monaten, 3 Wochen | |
Second language posts causes fatal error
Erstellt von: mikhaelA in: Chat Support |
|
1 | 2 |
Vor 9 Monaten, 2 Wochen
|
|
Deprecated: urlencode(): Passing null to parameter #1 ($string) of type string i
Erstellt von: mikhaelA in: English Support |
2 | 2 | Vor 1 Jahr, 1 Monat | ||
Translating the slug of the taxonomy "Category"
Erstellt von: mikhaelA in: Chat Support |
|
1 | 2 |
Vor 1 Jahr, 1 Monat
|
|
Error when saving homepage
Erstellt von: mikhaelA in: Chat Support |
|
1 | 2 |
Vor 1 Jahr, 4 Monaten
|
|
Barn2 product table : image column not showing in english language
Erstellt von: mikhaelA in: English Support |
|
2 | 7 | Vor 2 Jahren, 3 Monaten | |
Fatal error when saving option page with repeater "type WP_Term as array"
Erstellt von: mikhaelA in: Assistance en français |
|
2 | 7 | Vor 2 Jahren, 5 Monaten | |
Compatibility with Product Visibility by User Role and WPML
Erstellt von: mikhaelA in: English Support |
|
2 | 3 | Vor 2 Jahren, 10 Monaten | |
Ajout de produit en ajax ne fonctionne plus pour la langue secondaire avec varia
Erstellt von: mikhaelA in: Assistance en français |
|
2 | 6 | Vor 3 Jahren, 5 Monaten | |
Ajax add_to_cart not working on second language with variations
Erstellt von: mikhaelA in: English Support |
|
2 | 2 | Vor 3 Jahren, 5 Monaten | |
Changement de langue sur domaine multiple – Langue principal non fonctionnel
1
2
Erstellt von: mikhaelA in: Assistance en français |
|
2 | 19 | Vor 4 Jahren, 3 Monaten | |
Tranlate PlaceHolder
Erstellt von: mikhaelA in: English Support |
|
2 | 2 |
Vor 4 Jahren, 11 Monaten
mikhaelA |