[Resolved] Pagination and WPML – Page 2 on secondary language switch back to default lang.
This support ticket is created 5 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I am trying to: Read English news on page #2 on the English version.
Link to a page where the issue can be seen: hidden link (default language Swedish), works. hidden link (second language English), does not work on page #2 and forward.
I expected to see:
English news on page #2 on the English version but get Swedish news.
Instead, I got: The Swedish version.
Additional information:
* When I'm logged as admin the pagination works on both languages.
* I do not have any cache plugin.
* The view use cached="off".
* The Ajax view does not cache pages ahead.
* Same view for both languages.
* Categories and posts are translated with WPML
* Views have a shortcode attribute where I set the category to list. Different for each language.
Actually I checked and there is a setting for in WPML. If you go to WPML -> Languages and scroll to Language filtering for AJAX operations and enable it and this should work.