This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Translation added but doesn't show at frontend
Started by: deyaK
in: English Support
Problem: <wpml-config> <elementor-widgets> <widget name="tm-tabs"> <fields-in-item items_of="items"> <field type="Heading" editor_type="LINE">title</field> <field type="Content" editor_type="VISUAL">content</field> <field type="template_id" editor_type="LINE">template_id</field> </fields-in-item> </widget> </elementor-widgets> </wpml-config> 2. Insert the following code into the functions.php file of your theme to make template IDs translatable using the Advanced Translation Editor: add_filter( 'wpml_tm_job_field_is_translatable', '__return_true' );
3. Make a small change in the default language page, then open the secondary language page in the WPML Translation Editor and add the translated template IDs as a translation. This should display the translated content on the frontend. |
|
2 | 5 | 1 year, 8 months ago |