This thread is resolved. Here is a description of the problem and solution.
Problem:
FacetWP filters are not working in the second language.
Solution:
The issue happens because of your theme's custom block, not because of WPML or FacetWP. Please check these blocks' code or consult the theme developer.
When using the FacetWP shortcode, the filters work correctly in both languages.
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: Compatibility, Custom Work
This topic contains 16 replies, has 2 voices.
Last updated by amerG-2 1 year, 11 months ago.
Assisted by: Osama Mersal.
Author | Posts |
---|---|
June 1, 2023 at 1:46 pm #13754925 | |
amerG-2 |
Tell us what you are trying to do? Is there any documentation that you are following? Is there a similar example that we can see? What is the link to your site? It pops up twice for all select options in both languages. |
June 4, 2023 at 9:13 am #13765503 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Thanks for contacting WPML forums support. I'll be glad to help you today. 1) First of all, sorry for the late reply due to a higher workload. Please login to this sandbox site and install FacetWP. (hidden link) After that, please create a filter to replicate the issue. If the issue is replicable, kindly let me know how to reproduce it. 2) Could you please share your Debug information with me? Best regards, |
June 5, 2023 at 5:05 am #13767249 | |
amerG-2 |
Added the debug info. |
June 5, 2023 at 7:37 am #13767697 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, It would be better to check the issue on the clean installation to avoid any plugin/server conflict. If it's not possible, I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Your next answer will be private, which means only you and I can access it. ❌ Please backup your database and website ❌ ✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason 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, |
June 5, 2023 at 12:00 pm #13770565 | |
amerG-2 |
The issue you will find on this link: hidden link |
June 5, 2023 at 12:02 pm #13770567 | |
amerG-2 |
Can you please open the secure chat where I can enter the cred. |
June 5, 2023 at 12:11 pm #13770653 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, I've enabled the private reply, so you can share the access details safely. Best regards, |
June 5, 2023 at 1:30 pm #13771467 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Thanks for the access details. I can't access the page on the front end page because I need the number. Best regards, |
June 6, 2023 at 4:44 am #13775037 | |
amerG-2 |
Sorry, My bad. |
June 6, 2023 at 9:44 am #13777197 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, I checked the issue, and it could be related to your custom post type and taxonomy, so please install FacetWP on the sandbox site to test it with default WordPress post types. If the issue doesn't persist, so the issue might be in your custom theme. Thanks, |
June 6, 2023 at 12:05 pm #13778663 | |
amerG-2 |
Sorry for the inconvenience but don't have access to the facetWP account. Can you please go with some another way? Thanks in advance! |
June 6, 2023 at 1:21 pm #13779177 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, I installed FacetWP on the sandbox site and couldn't replicate the issue. Kindly check this page. (hidden link) Please login to the sandbox using the login URL in my first reply and try to replicate the issue. Best regards, |
June 7, 2023 at 10:16 am #13784319 | |
amerG-2 |
Unable to replicate the issue in your site. |
June 7, 2023 at 10:39 am #13784519 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, I installed your theme on the sandbox site and found that the issue happens when using your custom theme blocks to implement the filter and post grids. (hidden link) However, when using the FacetWP shortcodes, the issue doesn't happen, and the filter works correctly. (hidden link) So the issue happens because of your theme's custom block, not because of WPML or FacetWP. Please check these blocks' code or consult the theme developer. I hope this helps you. If you need further info, please let me know. Best regards, |
June 8, 2023 at 9:19 am #13791497 | |
amerG-2 |
Thank you for the help and suggestions. |