このユーザーにはお気に入りトピックがありません。
お気に入りのフォーラム・トピック
フォーラム・トピックの作成
状況 |
トピック
|
サポーター | 声 | 投稿文 | 新鮮さ |
---|---|---|---|---|---|
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 | 3ヶ月前 | ||
Deprecated: urlencode(): Passing null to parameter #1 ($string) of type string i
によって始められた: mikhaelA にある: English Support |
2 | 2 | 8ヶ月前 | ||
Barn2 product table : image column not showing in english language
によって始められた: mikhaelA にある: English Support |
2 | 7 | 1年、 10ヶ月前 | ||
Fatal error when saving option page with repeater "type WP_Term as array"
によって始められた: mikhaelA にある: Assistance en français |
2 | 7 | 1年、 11ヶ月前 | ||
Compatibility with Product Visibility by User Role and WPML
によって始められた: mikhaelA にある: English Support |
2 | 3 | 2年、 5ヶ月前 | ||
Ajout de produit en ajax ne fonctionne plus pour la langue secondaire avec varia
によって始められた: mikhaelA にある: Assistance en français |
2 | 6 | 3年前 | ||
Ajax add_to_cart not working on second language with variations
によって始められた: mikhaelA にある: English Support |
2 | 2 | 3年前 | ||
Changement de langue sur domaine multiple – Langue principal non fonctionnel
1
2
によって始められた: mikhaelA にある: Assistance en français |
2 | 19 | 3年、 10ヶ月前 | ||
Tranlate PlaceHolder
によって始められた: mikhaelA にある: English Support |
2 | 2 |
4年、 5ヶ月前
mikhaelA |
||
Placeholder translation
によって始められた: mikhaelA にある: English Support |
2 | 2 | 4年、 7ヶ月前 | ||
WPML all import language isn't sync after import
によって始められた: mikhaelA にある: English Support |
2 | 2 | 4年、 8ヶ月前 |