Forums › Forums › Search & Filter Pro › Filter result
- This topic has 8 replies, 3 voices, and was last updated 5 years, 3 months ago by Trevor.
-
Anonymous(Private) June 6, 2019 at 5:53 pm #213497
I have some filters on our site and for each result, I use the CUSTOM method (because we use the Avada Theme).
These filters with this method work well but I currently installed a plugin for translation (languages) in the website and this same plugin updates the URL for example:
http://www.website.com/en
or
http://www.website.com/en
or
http://www.website.com/frSo, by linking the filter result to the URL http://www.website.com, the plugin does not show the same results (AJAX) on the translated page (ex: http://www.website/en).
I need to know if there is a solution for the translated site.
Trevor(Private) June 7, 2019 at 3:11 pm #213571The form is the same ID number for both pages, but the form must be translated. I have not used the plugin you have installed, but are the forms set as translatable, and then it must be translated so that the two forms are linked. Reading our documentation for WPML might help:
Anonymous(Private) August 22, 2019 at 11:36 am #219516Hello. I think I’m in the same situation as Camila.
The site on which I’m working has been translated into 2 languages, Italian and English, with WPML. Every language has its own directory, that is
http://mywebsite.com/page/article/ for the primary language
and
http://mywebsite.com/page/article/en/ for the second language
The search form works fine in Italian, using the shortcode and a proper result page.
In English, though, the search results come back to the Italian page, even if there’s a translated proper page, with the translated form.
I tried to add the parameter /?lang=en as you say here (but this is not the case IMHO…)
https://searchandfilter.com/documentation/3rd-party/wpml/
but the image is truncated and I can’t see the entire URL of the example.
Can you help?
Anonymous(Private) August 22, 2019 at 11:59 am #219520Hello, Trevor.
I did it!!!For anyone interested:
– use a shortcode in a proper page in the first language
– create a page with both shortcodes (form and display results)
– translate form and page in a second language with WPMLPlease note, in WPML settings the URL must be added as a parameter, otherwise it won’t work in the second language.
-
AuthorPosts