Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:

The Pearl Staff WP Bakery widget from Pearl Theme, content does not show in the Advanced Translation Editor.

Solution:

To make WPML compatible with the Pearl Theme, Pearl Staff WP Bakery Widget we added the XML code below to WordPress Dashboard > WPML > Settings > Custom XML Configuration (tab):

<wpml-config>
    <shortcodes>
        <shortcode>
            <tag>stm_staff</tag>
            <attributes>
                <attribute>name</attribute>
                <attribute>job</attribute>
                <attribute>description</attribute>
                <attribute>full_description</attribute>
            </attributes>
        </shortcode>
    </shortcodes>
</wpml-config>

Then, go to the page that contains the widget and do a small change to the main language.

That will trigger the need to update the translation and this time if you check the translation editor you will see the content available for you.

Relevant Documentation:

https://wpml.org/documentation/support/maintaining-wpbakery-page-builder-compatibility-with-wpml/

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.

This topic contains 2 replies, has 2 voices.

Last updated by sotirR 1 year, 6 months ago.

Assisted by: Christopher Amirian.

Author Posts
May 17, 2023 at 2:16 pm

sotirR

Pearl Staff WP Bakery widget compatibility

May 17, 2023 at 2:37 pm
May 17, 2023 at 2:40 pm #13665275

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

To make WPML compatible with the Pearl Theme, Pearl Staff WP Bakery Widget we added the XML code below to WordPress Dashboard > WPML > Settings > Custom XML Configuration (tab):

<wpml-config>
    <shortcodes>
        <shortcode>
            <tag>stm_staff</tag>
            <attributes>
                <attribute>name</attribute>
                <attribute>job</attribute>
                <attribute>description</attribute>
                <attribute>full_description</attribute>
            </attributes>
        </shortcode>
    </shortcodes>
</wpml-config>

Please go to the page that contains the widget and do a small change to the main language.

That will trigger the need to update the translation and this time if you check the translation editor you will see the content available for you.

Kindly get back to us with the result.

Thanks.