This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by melanieW-7 2 days, 8 hours ago.

Assigned support staff: Marcel.

Author Posts
August 14, 2019 at 4:02 pm #4396585

melanieW-7

I'm sorry Marcel, for asking you again, but I've tried and tried and don't know where to add this:

<wpml-config>
<shortcodes>
<shortcode>
<tag encoding="base64">vc_raw_html</tag>
</shortcode>
</shortcodes>
</wpml-config>

exactly in the following. The editor keeps rejecting my efforts 🙂
<shortcode>
<tag>agni_service</tag>
<attributes>
<attribute>title</attribute>
<attribute>choice</attribute>
<attribute>icon</attribute>
<attribute>title</attribute>
<attribute>divide_line</attribute>
</attributes>
</shortcode>

August 14, 2019 at 5:01 pm #4396813

Marcel
Supporter

Languages: English (English ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi Melanie,

Sorry, the screenshot you added was not from the shortcode [agni_service], it's [agni_service_boxes]. So you need to add the config to the correct shortcode.

Best Marcel

October 11, 2019 at 2:25 pm #4739545

melanieW-7

Hello Marcel, after 2 months I found the focus to try again 🙂

So, I've tried pasting in https://wpml.org/documentation/plugins-compatibility/how-to-build-multilingual-sites-with-wpbakery-page-builder-and-wpml/#adding-support-for-the-raw-html-element for the problem of this ticket and did it like this:

<shortcode>
<tag>agni_service_boxes</tag>
<tag encoding="base64">vc_raw_html</tag>
<attributes>
<attribute>value</attribute>
<attribute>title</attribute>
<attribute>content</attribute>
<attribute type="link" encoding="vc_link">values</attribute>
<attribute encoding="allow_html_tags">values</attribute>
</attributes>
</shortcode>

The feedback is that the XML is not valid: Element 'tag': This element is not expected.

Can you revise the XML part for me?