Forums › Forums › Search & Filter Pro › Pagination with polylang not working properly
Tagged: paged, pagination, polylang
- This topic has 11 replies, 3 voices, and was last updated 6 years ago by Anonymous.
-
Anonymous(Private) November 13, 2018 at 2:31 pm #193614
Hi there team Search & Filter Pro,
First of all thank you for create this great plugin. It makes our lives much easier (most of the time).
However, we have encountered a problem with a recent website we are developing. The problem is a bit weird. This website has three languages and we have installed Polylang to handle the translation. On the page we use Search and Filter Pro we display apartments and the apartments are displayed through the archive-{custom-post-type}.php page.
On the standard selected language (in our case this is the Dutch version) the pagination will not work. But when we select one of the other languages the pagination does work. If we change the standard language to one of the other languages, the Dutch version still doesn’t work. So everything works except the Dutch version. We noticed that the ?/sf_paged=2 is missing in the Dutch version of the website. All the languages are using the same archive template.
If we disable the Search & Filter Pro Plugin then the pagination works for all languages. If we disable the Polylang Plugin, then the pagination also works for the Dutch version.
We hope you have any idea what is going on here, because we are at a loss. We have also contacted Polylang and explained to them the same problem, but so far we haven’t been able to fix this.
I have attached screenshots of the settings we used and the url of the website we are building. Any help is appreciated. Thanks!
http://www.asunaro.bureaufeith3.nl/woningen/
Trevor(Private) November 13, 2018 at 2:41 pm #193617The first thing to check is that everything is translated (including our forms, so you should have one per language).
The documentation for using Polylang with Search & Filter is here:
https://searchandfilter.com/documentation/3rd-party/polylang/
Anonymous(Private) November 15, 2018 at 8:46 am #193696Hi Trevor,
Thanks for your quick response. The forms of Search & Filter pro are translated to each language. However, we have discovered that when we install the standard Polylang plugin (and not the pro version) pagination does appear to work.
We think the problem is when the slug is translated. Because in the standard Polylang plugin you cannot translated the slug and in the Pro version you can? And we do translate the slug in the website.
Trevor(Private) November 15, 2018 at 6:01 pm #193781I have taken a look at the site admin.
You say that Dutch language does not work, but the Japanese and English do?
And that you have the option to translate slugs also is set? If it is not set, does the Dutch version work, or is this an option you cannot turn off in the pro version?
If you use the free version of Polylang, this is not an issue?
Anonymous(Private) November 16, 2018 at 7:36 am #193799Hi Trevor,
That is correct. The Dutch version isn’t working and the other two languages do work. Beneath I have set the url’s of the pages the problem occurs.
Dutch version: http://www.asunaro.bureaufeith3.nl/woningen/ (not working)
English version: http://www.asunaro.bureaufeith3.nl/en/houses/ (working)
Japanese version: http://www.asunaro.bureaufeith3.nl/ja/houses/ (working)We have installed the free version of Polylang to test, and if we deactivate the Polylang Pro version and activate the free version the problem does not occur.
This website is a duplicate of the real version so you may test the site by activating and deactivating the polylang plugins to see if you can figure out the problem. It doesn’t matter if the sites breaks because we have a backup.
We hope you can help us further with this problem. Polylang has not given us a solution at this moment.
Ross Moderator(Private) November 19, 2018 at 3:54 pm #193962This reply has been marked as private. -
AuthorPosts