למשתמש זה אין נושאים מועדפים.
נושאי הפורום המועדפים
נושאי הפורום נוצרו
מצב |
נוֹשֵׂא
|
תוֹמֵך | קולות | פוסטים | טְרִיוּת |
---|---|---|---|---|---|
Syncing custom fields performance issues
התחיל על ידי: Joey Kudish
ב: English Support
Problem: Solution: SitePress::copy_custom_fields and WPML_Copy_Once_Custom_Field::copy methods to improve performance. Here are the steps to follow: 1. Locate the SitePress::copy_custom_fields method in wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php and replace it with the provided code. 2. Locate the WPML_Copy_Once_Custom_Field::copy method in wp-content/plugins/sitepress-multilingual-cms/classes/custom-field-translation/class-wpml-copy-once-custom-field.php and replace it with the provided code. These changes should optimize the process by reducing the number of instances where the entire post meta is fetched and looped through, thus improving the performance when copying ACF fields to translations. If this solution doesn't look relevant to your issue, please open a new support ticket with us. |
|
2 | 5 | לפני שנה 1, 3 חודשים |