Please make sure to update to WPML 4.3.5 and check our list of Known Issues before reporting

Hi, Amit here, I am the WPML Support Manager, our current ticket queue is high, update your WPML plugins and make sure you meet the minimal requirements for running WPML before reporting an issue please - many tickets are resolved doing that

Please look at our updated list of Known Issues and you can also use our support search to find helpful information and of course review our documentation before opening a ticket.

If you do need to open a ticket please make sure to provide us with all the needed information as described in this page

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 thread is resolved. Here is a description of the problem and solution.

Problem: We are trying to fix the search form on the website as it doesn't seem to generate correct results. We need the search results to show related products and news/events articles that have the entered search keyword.

Relevant Documentation: https://wpml.org/wpml-hook/wpml_add_language_form_field/

This topic contains 2 replies, has 2 voices.

Last updated by shantac 2 years, 2 months ago.

Assigned support staff: Otto.

Author Posts
September 11, 2017 at 3:37 am #1366760

shantac

Tell us what you are trying to do?
- We are trying to fix the search form on the website as it doesn't seem to generate correct results. We need the search results to show related products and news/events articles that have the entered search keyword.

Is there any documentation that you are following?
- https://wpml.org/documentation/support/creating-multilingual-wordpress-themes/search-form/ - we are following this but it still doesn't work

What is the link to your site?
hidden link

September 11, 2017 at 9:17 am #1367048

Otto
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thank you for contacting the WPML support!

For being of better help, can you please provide your WPML Debug information in the debug field below? http://wpml.org/faq/provide-debug-information-faster-support/

Did you try with our new hook, right?
https://wpml.org/wpml-hook/wpml_add_language_form_field/

If you deactivate WPML is the search form working fine?

Can you please try if the issue persists with languages in directories? WPML > Languages > Language URL Format > Languages in directories

Also, can you please do the following test:
-Back up your site first
-Deactivate all the plugins that are not related to WPML
-Switch for a moment to a WordPress default theme like Twenty Fourteen.
-If the issue is gone, activate one by one to see with which one there is an interaction issue

Let me know your results, please.

Kind Regards,

Otto

September 19, 2017 at 5:42 am #1375924

shantac

Thanks for the info!