Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+02:00)

This topic contains 3 replies, has 2 voices.

Last updated by Osama Mersal 1 year, 7 months ago.

Assisted by: Osama Mersal.

Author Posts
July 12, 2023 at 1:23 pm #14024617

arnoldV-2

We have the Avada theme, and automatic translations for the entire site.
We have added this in the XML settings.
<wpml-config>
<shortcodes>
<shortcode>
<tag>fusion_button</tag>
<attributes>
<attribute type="link">url</attribute>
</attributes>
</shortcode>
</shortcodes>
</wpml-config>

But the buttons don't show the translation page.
following this guide: https://wpml.org/faq/how-to-translate-urls-shortcodes-and-html-attributes-using-the-advanced-translation-editor/

July 12, 2023 at 3:49 pm #14026857

Osama Mersal
Supporter

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

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

Hi,

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

1) Please create a test page named "WPML Test", add this button widget, and translate the page.

Also, 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 if possible –
in order to be of better help and check if some configurations might need to be changed.

Your next answer will be private, which means 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.

2) It's not related to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M');

Best regards,
Osama

July 13, 2023 at 8:26 am #14029851

arnoldV-2

I'm actually running into the same problem on another site, that site is using the Divi theme. But same problem with buttons not translating. What related settings can I check.

July 13, 2023 at 8:32 am #14029939

Osama Mersal
Supporter

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

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

Hi,

The modules might need to be registered if you don't see the URLs in the translation editor. If these URLs are internal links, please make sure that the target page/post is translated.

Also, you can try the translate link targets feature in WPML-> Settings, but please take a backup first.

Best regards,

The topic ‘[Closed] Links on buttons not going to the correct pages.’ is closed to new replies.