Clash with WPML
-
Hi,
On my site I have found an issue with a clash between WPML (translations) and ACF Better Search. To fix the issue I need to add:
if( is_admin()) return false;
to line 20 of app/Search/Init.php to stop the search triggering when you are in the admin.
The error that occurs is that on all post object or relationship ACF fields on translated pages the field displays blank.
By adding this line the issue is fixed. I need to make this edit but also want to be able to update your plugin in future without removing the amend. Is there hook or something I could use to do this?
Thanks,
JessThe page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Clash with WPML’ is closed to new replies.