Price Table widget currency and price value fields are not seen
เริ่มโดย: richardB-51
ใน: English Support
มีวิธีแก้ปัญหาด่วน
Problem:
Using Elementor and the price Table widget.
In the "Pricing" section of the widget, I set the Currency Symbol to 'None', and (optionally) added a $ to the 39.99 price. Is there is a way to get WPML to include the price text field for translation via Translation Editor, along with the Heading, Period, Button Text etc?
Solution:
- Go to WPML > Settings > Custom XML configuration and add next XML code:
<wpml-config>
<elementor-widgets>
<widget name="price-table">
<fields>
<field type="Price Table: Heading" editor_type="LINE">heading</field>
<field type="Price Table: Sub-Heading" editor_type="LINE">sub_heading</field>
<field type="price" editor_type="LINE">price</field>
<field type="Button text" editor_type="LINE">button_text</field>
<field type="Footer info" editor_type="LINE">footer_additional_info</field>
</fields>
<fields-in-item items_of="features_list">
<field type="Item text" editor_type="LINE">item_text</field>
</fields-in-item>
</widget>
</elementor-widgets>
</wpml-config>
- Make a small change to the default language page and click to update the translation.
Relevant Documentation:
- https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/
2
6
4 years, 3 months มาแล้ว
richardB-51
Disable current language on switchers
เริ่มโดย: lauraR-17
ใน: English Support
มีวิธีแก้ปัญหาด่วน
Problem:
I want the actual language not to appear in the menu.
Ex:
https://lessandconscious.laurariu.online
In this case when you are in the spanish I want only the english to appear in the menu not both.
Solution:
You can hide the current language by doing the below steps:
- Please go to WPML -> Languages -> Menu language switcher
- Press the pencil icon for the desired switcher (Edit language switcher link). It will display a popup for the Edit language switcher
- Then, uncheck 'Current language’ checkbox as described in the screenshot (https://cdn.wpml.org/wp-content/uploads/2018/09/2698663-uncheck_current_language_checkbox.png ), and press the Save button
2
2
4 years, 3 months มาแล้ว
lauraR-17