• Resolved momozzz

    (@momozzz)


    Hello. Is that possible for us to search/get all language result with polylang. We need to get all language result within a single search result no matter in what language are selected.
    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hello,

    It is possible but if you want to do that you need to make soe changes in plugin source code.

    Please open includes/class-aws-search.php file, find lines

    if ( $current_lang && $reindex_version && version_compare( $reindex_version, '1.20', '>=' ) ) {
                    $query['lang'] = $wpdb->prepare( " AND ( lang LIKE %s OR lang = '' )", $current_lang );
                }

    and remove them.

    Also go to plugin settings page and click on ‘Clear cache’ button.

    Regards

    Thread Starter momozzz

    (@momozzz)

    Hi, and happy new year to you.

    Thanks for the info.
    After altering the “class-aws-search.php” as you advice, everything work great.

    Thanks!!
    Regards.

    Plugin Author ILLID

    (@mihail-barinov)

    Glad to help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search multi language’ is closed to new replies.