Forums › Forums › Search & Filter Pro › Results in secondary languages not working
- This topic has 5 replies, 2 voices, and was last updated 3 years, 10 months ago by Trevor.
-
Anonymous(Private) February 5, 2021 at 11:15 am #275353
Hi there,
Am having issues with search results in languages other than the primary site language. Primary lanugage results give the correct number of posts (~500), but other languages are just showing 8, of which they are from posts that shouldn’t be shown.
Will provide access details in a PMCheers
HarryTrevor(Private) February 5, 2021 at 4:42 pm #275382I looked at both pages, and they both use form #4261
In our plugin, used with WPML, the form must be translated using WPML, so, editing that form in WP Admin, this + button:
https://www.screencast.com/t/PPMXYo6NtNN
once translated, you may need to edit the form and make sure all the settings are correct (fields, and settings within fields) for the new language.
The Results URL will be different also, see the note about the Shortcode method at the foot of this documentation page:
https://searchandfilter.com/documentation/3rd-party/wpml/
Note, if you are using the Shortcode method and a customised results.php template, the template may need to change (to translate some strings for example), and as each form has its own ID, use the numbering method described almost at the end of this documentation page:
https://searchandfilter.com/documentation/search-results/using-a-shortcode/
-
AuthorPosts