Advertisement
Osama_Mersal

Untitled

Feb 9th, 2023
886
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.98 KB | None | 0 0
  1. <wpml-config>
  2. <!--The following post type and custom field settings in case the user wants to translate the calculators-->
  3.   <custom-types>
  4.     <custom-type translate="1">cost-calc</custom-type>
  5.   </custom-types>
  6.   <custom-fields>
  7.     <custom-field action="copy-once">stm-fields</custom-field>
  8.     <custom-field action="copy-once">stm-formula</custom-field>
  9.     <custom-field action="copy-once">stm-conditions</custom-field>
  10.     <custom-field action="copy-once">stm-name</custom-field>
  11.   </custom-fields>
  12.   <!--Please note that you need to add this snippet to functions.php and search for the ID in ATE. (https://pastebin.com/PCR6czAa)-->
  13.   <shortcodes>
  14.     <shortcode>
  15.       <tag>stm-calc</tag>
  16.       <attributes>
  17.         <attribute>id</attribute>
  18.       </attributes>
  19.     </shortcode>
  20.   </shortcodes>
  21.   <elementor-widgets>
  22.     <widget name="stm_calc">
  23.       <fields>
  24.         <field>ccb_calculator</field>
  25.       </fields>
  26.     </widget>
  27.   </elementor-widgets>
  28. </wpml-config>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement