• Resolved lidia.s

    (@lidias)


    Hi,

    I’m using the WPML multilingual plugin and it worked fine with Relevanssi version 3.1.6. I just updated to Relevanssi 3.1.7 and after the update the search results (in the WordPress backend as well as on the website itself) showed posts from all languages, instead of only the current language like it should and did with version 3.1.6. I reverted back to version 3.1.6 for now, but was just wondering if this is a bug or perhaps a new setting in 3.1.7? Thanks!

    https://www.ads-software.com/plugins/relevanssi/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mikko Saari

    (@msaari)

    There was a small change in the WPML function of Relevanssi in 3.1.7, but I don’t think it should change things.

    Could you try something for me? Download this new version of relevanssi/lib/common.php and see if that helps: https://dl.dropboxusercontent.com/u/9585896/common.php

    I think I have the same problem. Just updated a site to WP 3.6 and Relevanssi 3.1.7 and it also shows hits for all languages. I’ll try the new common.php immediately – just letting you guys know.

    So, I’m testing this on a site with WPML 2.9.1 with English set as primary language and with translations in Swedish, German, French and Spanish.

    The new common.php solves the issue above and works fine by just showing results for the given language. But on all other languages than my primary (English) it just shows results for pages (post_type = ‘page’). Blog posts and custom post type posts etc are ignored and won’t show up. Any ideas?

    Edit: Hmm, this is really random but I might have screwed up that last part. Don’t care about that, it seems to work.

    Thread Starter lidia.s

    (@lidias)

    The common.php file fixed the issue for me, thank you so much! Thanks for a great plugin!

    Plugin Author Mikko Saari

    (@msaari)

    Ok, thanks – I’m not sure how it can work like that, but I’ll fix it in the next version. Just keep the file as it is, and update freely when the next version is available.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shows search results from all languages (WPML)’ is closed to new replies.