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.

Tagged: 

This topic contains 7 replies, has 3 voices.

Last updated by jiriN-8 2 months, 3 weeks ago.

Assisted by: Osama Mersal.

Author Posts
March 13, 2025 at 9:13 am #16810652

jiriN-8

Background of the issue:
I am trying to scroll the images in the rotating gallery at the bottom of each page on my site hidden link. I used embedded HTML (script) and paired it to the arrow buttons above the gallery using CSS IDs. The embedded HTML includes CSS for hover effects and a jQuery script to handle click events for navigation. The script works on the homepage but not on the language versions.

Symptoms:
The buttons for scrolling the images in the rotating gallery do not respond on the language versions of the site.

Questions:
What needs to be done to make this shift work on other languages?

March 13, 2025 at 9:21 pm #16813731

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

One of my colleagues will be taking over your ticket. In the meantime, I would like to share some helpful information.

The issue may be related to how you implemented your script. If you added it to the theme options, try placing it elsewhere.

You may be experiencing errors in the browser console related to your custom script. Please check the console logs to identify and analyze them in order to fix them.

March 14, 2025 at 7:01 am #16814638

jiriN-8

The script is placed directly in an HTML widget on the site, built with Elementor. I don’t see any errors in the console, but I’m not very familiar with it.

March 16, 2025 at 4:21 am #16820987

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

I'm Osama from WPML forums support. I'll be glad to help you today.

First of all, sorry for the late reply; it was due to a higher workload.

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 back up your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why 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

March 17, 2025 at 8:06 am #16823292

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

Please check your security plugin or server security rules as I see the following message.

(Due to protection of web servers from repeated attacks, we were forced to restrict access to administrative interface of web pages to selected countries. If you are currently in a foreign country, please sign in to WebAdmin, proceed to your domain management and disable this GeoIP filter in CMS section.)

Best regards,
Osama

March 17, 2025 at 8:28 am #16823407

jiriN-8

Ok, GeoIP should be off by now. Please try again.

March 17, 2025 at 3:36 pm #16826125

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 the following steps:

1- Edit the translated home page using Elementor
2- Copy the HTML code from the default language
3- Paste it on the translated page
4- Check the translated page on the front end

I applied the above steps to the English home page. Please check and let me know if the slider arrows work correctly.

If that didn't help, you might need to consider adding this code to the theme files directly.

Best regards,
Osama

March 18, 2025 at 8:34 am #16828454

jiriN-8

Thank you for your help. It works by replacing the html on each site as you said.