WPML & Relevanssi conflict
-
Hi!
We have a client site that has Relevanssi Premium (clients account) and WPML running. In the site’s header we have language selection menu with active languages (two at the moment) generated dynamically, and that is based on the returned array of WPML filter (https://wpml.org/wpml-hook/wpml_active_languages/).
After updating Relevanssi Premium to the latest version language menu stopped working on the search page. Filter returns an empty array on search page, on all other pages it works as should.
I tested it in local environment, with version 2.9.0 language menu works, with 2.15.3.1 it does not. I did hard coded fallback, if WPML returns empty array, and now the search page language menu works also, but if you have any ideas to solve this problem properly, I would appreciate it.
Thanks in advance, JJ.
The topic ‘WPML & Relevanssi conflict’ is closed to new replies.