Cet utilisateur n'a pas de sujets favoris.
Sujets de forum favoris
Sujets de forum créés
Statut |
Sujet
|
Supporter | Voix | Messages | Fraîcheur |
---|---|---|---|---|---|
Advanced Custom Fields Multilingual slow down my sites
Commencé par : mikhaelA
dans : 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 | Il y a 8 mois et 3 semaines | |
Second language posts causes fatal error
Commencé par : mikhaelA dans : Chat Support |
|
1 | 2 |
Il y a 9 mois et 3 semaines
|
|
Deprecated: urlencode(): Passing null to parameter #1 ($string) of type string i
Commencé par : mikhaelA dans : English Support |
2 | 2 | Il y a 1 année et 1 mois | ||
Translating the slug of the taxonomy "Category"
Commencé par : mikhaelA dans : Chat Support |
|
1 | 2 |
Il y a 1 année et 1 mois
|
|
Error when saving homepage
Commencé par : mikhaelA dans : Chat Support |
|
1 | 2 |
Il y a 1 année et 4 mois
|
|
Barn2 product table : image column not showing in english language
Commencé par : mikhaelA dans : English Support |
|
2 | 7 | Il y a 2 années et 3 mois | |
Fatal error when saving option page with repeater "type WP_Term as array"
Commencé par : mikhaelA dans : Assistance en français |
|
2 | 7 | Il y a 2 années et 5 mois | |
Compatibility with Product Visibility by User Role and WPML
Commencé par : mikhaelA dans : English Support |
|
2 | 3 | Il y a 2 années et 10 mois | |
Ajout de produit en ajax ne fonctionne plus pour la langue secondaire avec varia
Commencé par : mikhaelA dans : Assistance en français |
|
2 | 6 | Il y a 3 années et 5 mois | |
Ajax add_to_cart not working on second language with variations
Commencé par : mikhaelA dans : English Support |
|
2 | 2 | Il y a 3 années et 5 mois | |
Changement de langue sur domaine multiple – Langue principal non fonctionnel
1
2
Commencé par : mikhaelA dans : Assistance en français |
|
2 | 19 | Il y a 4 années et 3 mois | |
Tranlate PlaceHolder
Commencé par : mikhaelA dans : English Support |
|
2 | 2 |
Il y a 4 années et 11 mois
mikhaelA |