Home›Support›English Support›[Waiting for user feedback] Issue with Managing Custom Field uagb_featured_image_src in WPML
[Waiting for user feedback] Issue with Managing Custom Field uagb_featured_image_src in WPML
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Elementor users - please update WPML to the latest version to maintain compatibility. More details here - https://wpml.org/changelog/2024/12/wpml-4-6-15-critical-update-for-elementor-sites/
Background of the issue:
I’m experiencing an issue configuring WPML to handle the custom field uagb_featured_image_src, which is generated by the Ultimate Addons for Gutenberg (UAGB) plugin (now spectra to store featured_images). I want this field to be set as copied (automatically copied without translation) in translations, but despite my efforts, it doesn’t seem to work as expected. I attempted to configure the field using the wpml-config.xml file with the following syntax: uagb_featured_image_src However, the field is not being automatically copied into translations. I verified that the uagb_featured_image_src field is visible in the JSON response from the WordPress REST API, where it appears in this format: "uagb_featured_image_src": { "full": ["hidden link", 1100, 1584, false], "thumbnail": ["hidden link", 150, 150, true] } The field does not appear in the Custom Fields Translation section under WPML > Settings. I have cleared WPML’s cache and used the troubleshooting tools, but the issue persists. The field is part of a Custom Post Type (artist), which is registered with the show_in_rest option enabled. I’m using the latest versions of WPML and UAGB. My goal is to ensure that the uagb_featured_image_src field is automatically copied (action “copy”) in all translations.
Symptoms:
The uagb_featured_image_src field is not being automatically copied into translations and does not appear in the Custom Fields Translation section under WPML > Settings.
Questions:
Could you help me configure WPML to handle this custom field correctly?
Mhm. I see. The problem being that that field seems to be mapped to the featured_image standard field. And I disabled the media translation. So, the only solution is to add the featured image twice for each post and for its translation?
No.
I am building a custom toolset view and I need to access the featured image.
The problem being that I disabled the translation of media. Therefore I'd just need to be sure that in the copy of the custom post the featured image is copied or left untranslated.