Support » Plugin: Better Search » Is there a way to filter results by langauge

  • jafar93

    (@jafar93)


    Hi, thanks for this plugin.

    I am buildling a multilingual website using polylang.
    Currently the plugin helps me search the whole website. However, I just want to search the result for the current langauge the user is using on the websiite not all the languages together.

    If you use the query_post function, I think you can just add the ‘lang’ parameter:
    $args_menu = array (

    ‘lang’ => ‘it’,

    );

    But it don’t think you can do this using Better Search.

    • This topic was modified 9 months ago by jafar93.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is there a way to filter results by langauge’ is closed to new replies.