Skip Navigation

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

Problem:
The client was experiencing an issue where a Toolset shortcode inside a block was not correctly inserting the URL from a Toolset field in the translated version of the page.

Solution:
We checked the Spanish template and edited it to ensure the button URL matched the English template. If you're experiencing a similar issue, we recommend checking the translated template and making sure the URL is correctly inserted from the Toolset field.

If this solution doesn't look relevant to your issue, please open a new support ticket with us.

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 Osama Mersal 1 year, 8 months ago.

Assisted by: Osama Mersal.

Author Posts
November 9, 2023 at 3:09 pm #14768783

matthewL-3

Hi

I am using WPML and Toolset.

The big green button on the page is a block with a Toolset shortcode in it.

On the English main version this works fine, however on the translated page its not inserting the URL from a Toolset field.

See the English version here:
hidden link

See the Spanish version here:
hidden link

If you hover over the big green button on the Spanish version you will see the URL is different to the English version because its not inserting the URL field.

November 11, 2023 at 9:55 am #14781441

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

November 11, 2023 at 1:32 pm #14782119

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for the access details. Please check if the button works correctly. (hidden link)

I've edited the Spanish template and changed the button URL to match the English template. (hidden link)

Best regards,
Osama

November 12, 2023 at 8:15 pm #14784867

matthewL-3

Thank you for your assistance with this, yeah looks like it was because one field was using " and one was using ' in the shortcode.