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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Kyiv (GMT+02:00)

Tagged: 

This topic contains 3 replies, has 0 voices.

Last updated by Andrey 1 day, 6 hours ago.

Assisted by: Andrey.

Author Posts
February 18, 2025 at 4:02 pm #16719986

vyacheslavB-2

Background of the issue:
I'm trying to assign one page to another as a translation using WPML. I pressed the button 'Connect with translations' and there is a popup with a search bar with ID 'post_search' and class 'ui-autocomplete-input'.

Symptoms:
When I started typing the title of some page, Ajax starts to find these posts, but I have around 32000 posts in one of the versions, causing a super long timeout and my page crashes.

Questions:
Can I use something like at least 3 or 5 characters to input to start the Ajax searching?
Is there a part of code to be inserted into functions.php to solve this issue?

February 20, 2025 at 12:45 am #16727095

Mihai Apetrei
Supporter

Languages: English (English )

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

Hello,

It appears this will require some custom work, which is outside the scope of our Support Policy. However, I will check with our developers to see if I can at least guide you in the right direction. After that, you can consider hiring a developer or a WPML contractor (https://wpml.org/contractors/).

I'm not certain if there's a no-coding alternative available, but I will look into it.

For now, I will keep the ticket assigned to myself until I have more information.

February 20, 2025 at 3:26 pm #16730515

vyacheslavB-2

Ok, great. Maybe I will find some solution by myself, I will keep you informed.

p.s. But that's really a problem. Maybe you should fix that at next versions.

February 20, 2025 at 3:41 pm #16730599

Andrey
Supporter

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

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

Thank you for your feedback.

As Mihai mentioned, no settings are currently available to change this behavior.

Please provide an example so I can share it with our development team.

The following reply will be private.