Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <wpml-config>
- <!--The following post type and custom field settings in case the user wants to translate the calculators-->
- <custom-types>
- <custom-type translate="1">cost-calc</custom-type>
- </custom-types>
- <custom-fields>
- <custom-field action="copy-once">stm-fields</custom-field>
- <custom-field action="copy-once">stm-formula</custom-field>
- <custom-field action="copy-once">stm-conditions</custom-field>
- <custom-field action="copy-once">stm-name</custom-field>
- </custom-fields>
- <!--Please note that you need to add this snippet to functions.php and search for the ID in ATE. (https://pastebin.com/PCR6czAa)-->
- <shortcodes>
- <shortcode>
- <tag>stm-calc</tag>
- <attributes>
- <attribute>id</attribute>
- </attributes>
- </shortcode>
- </shortcodes>
- <elementor-widgets>
- <widget name="stm_calc">
- <fields>
- <field>ccb_calculator</field>
- </fields>
- </widget>
- </elementor-widgets>
- </wpml-config>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement