Stackable
Stackable copied to clipboard
[WPML] Stackable custom fields translations doesn't show properly on frontend
Describe the bug When using Stackable custom fields as dynamic content data and tried translating using WPML, the translations doesn't show on frontend.
To Reproduce Steps to reproduce the behavior:
-
Activate WPML
-
Add Stackable custom fields with values (Stackable Settings > Custom Fields) Example would be like this:
-
Add a new page
-
Add a Heading block
-
Get custom fields values through Dynamic Content (Make sure Dynamic Source is Site to see the fields)
-
Save page
-
Go to Page tab > Language
-
Click Translate on chosen language
-
In the Advanced Translation Editor, translate the text
-
Save changes
-
In the page created, view frontend
-
Switch to another language page
-
See that the translation didn't show on the other language page
Expected behavior When using Stackable custom fields as dynamic content data and tried translating using WPML, the translations should show on frontend.
Some link/s that might help:
- https://wpml.org/documentation/getting-started-guide/translating-custom-fields/
Screenshots
https://github.com/gambitph/Stackable/assets/103395655/bc5dd0df-73f4-4b55-8b52-79c456474fec