Skip to content

Commit

Permalink
WPML: Add Google Maps, and Partial Price Table
Browse files Browse the repository at this point in the history
Not all Price Table fields are currently supported. Support will be improved in a future WPML Update.

Provided by David from OnTheGoSystems.
  • Loading branch information
AlexGStapleton committed Sep 5, 2021
1 parent e8d8de4 commit ac01ec3
Showing 1 changed file with 37 additions and 3 deletions.
40 changes: 37 additions & 3 deletions wpml-config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<wpml-config>
<built-with-page-builder>/\[siteorigin_widget.*\]/</built-with-page-builder>
<admin-texts>
<key name="so_widget_settings[SiteOrigin_Widget_GoogleMap_Widget]">
<key name="map_consent_btn_text" />
<key name="map_consent_notice" />
</key>
</admin-texts>
<gutenberg-blocks>
<gutenberg-block type="siteorigin-panels/layout-block" translate="1">
<key name="panelsData">
Expand Down Expand Up @@ -302,6 +308,11 @@
<field type="Feature more URL" editor_type="LINK">more_url</field>
</fields-in-item>
</widget>
<widget name="SiteOrigin_Widget_GoogleMap_Widget">
<fields-in-item items_of="markers>marker_positions">
<field type="Map marker info" editor_type="VISUAL">info</field>
</fields-in-item>
</widget>
<widget name="SiteOrigin_Widget_Headline_Widget">
<fields>
<field type="Headline text">headline>text</field>
Expand Down Expand Up @@ -355,12 +366,12 @@
<field type="Price image title">image_title</field>
<field type="Price image alt">image_alt</field>
<field type="Price per">per</field>
<field type="Price button text">button</field>
<field type="Price button text">button_text</field>
<field type="Price button URL" editor_type="LINK">url</field>
</fields-in-item>
<fields-in-item items_of="columns>features">
<field type="Feature text">text</field>
<field type="Feature hover text">hover</field>
<field type="Feature text">features>text</field>
<field type="Feature hover text">features>hover_text</field>
</fields-in-item>
</widget>
<widget name="SiteOrigin_Widget_Simple_Masonry_Widget">
Expand Down Expand Up @@ -416,5 +427,28 @@
<field type="Video title">title</field>
</fields>
</widget>
<widget name="SiteOrigin_Widget_PriceTable_Widget">
<fields>
<field type="Price table title">title</field>
</fields>
<fields-in-item items_of="columns">
<field type="Price title">title</field>
<field type="Price subtitle">subtitle</field>
<field type="Price image title">image_title</field>
<field type="Price image alt">image_alt</field>
<field type="Price per">per</field>
<field type="Price button text">button</field>
<field type="Price button URL" editor_type="LINK">url</field>
</fields-in-item>
<fields-in-item items_of="columns>features">
<field type="Feature text">text</field>
<field type="Feature hover text">hover</field>
</fields-in-item>
</widget>
<widget name="SiteOrigin_Widget_GoogleMap_Widget">
<fields-in-item items_of="markers>marker_positions">
<field type="Map marker info" editor_type="VISUAL">info</field>
</fields-in-item>
</widget>
</siteorigin-widgets>
</wpml-config>

0 comments on commit ac01ec3

Please sign in to comment.