Created
March 19, 2024 15:42
-
-
Save estevan-ulian/7d227032bb0db9e5e7dd313199b30008 to your computer and use it in GitHub Desktop.
Register Custom Elementor Widgets in wpml translation - jet accordion and jet tricks hotspots
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<wpml-config> | |
<elementor-widgets> | |
<widget name="jet-accordion"> | |
<fields-in-item items_of="toggles"> | |
<field type="Classic Accordion: Title" editor_type="LINE">item_label</field> | |
<field type="Classic Accordion: Editor Content" editor_type="VISUAL">item_editor_content</field> | |
</fields-in-item> | |
</widget> | |
<widget name="jet-hotspots"> | |
<fields-in-item items_of="hotspots"> | |
<field type="Hostspot: Text" editor_type="LINE">hotspot_text</field> | |
<field type="Hostspot: Description" editor_type="LINE">hotspot_description</field> | |
</fields-in-item> | |
</widget> | |
</elementor-widgets> | |
</wpml-config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment