elementor / elementor/elementor
Dynamic acf content not translated in $settings when using custom posts skin
- Dominant language
- PHP
- Stars
- 7.1k
- Forks
- 1.6k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 193
Description
Hey there guys,
just registered a custom build skin for the posts element, added some static and dynamic text fields and parsed them due to rendering process. For any reason they are not translated.
I handled the fields as I did before in a custom made widget where I was able to render the fields without any problems.
In case of the custom skin which extends Skin_Base the get_settings_for_display() just returns an array with all the registered fields, the static ones containing what was typed in and the dynamic ones are empty. Having a look at the $settings array I found the [__dynamic__] which contains the correct information the [elementor..... ] shortcodes which are used to translate the acf fields to readable content.
Broken down to the DynamicTags manager the parse_tag_text() just returns empty results to the settings
Any suggestions what is wrong?
Contributor guide
Assessment
This issue has not been assessed yet.