• Resolved christa13

    (@christa13)


    I have three questions/issues:

    1. I have a set of five categories. I want people to be able to select more than one. That appears to only be possible with the checkbox option. When you use the check box option, you also get a search field. Since there are only five, I don’t need a search field for my categories. Can I shut this off? It is confusing why there are two search fields. People might not understand in which one to enter a category and in which one to enter a keyword.
    2. The other search option is just called Search. I would like to call this keyword search or something that indicates you can type anything in there. I do not see a setting for this.
    3. When I enter something in the keyword search, I have to hit “SEARCH” twice. Any idea how I correct this?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support fesupportteam

    (@fesupportteam)

    Hi @christa13

    1) In the filter set settings, choose the needed filter and click “more options” then turn off the “Terms Search” option and you won’t have the search filed for terms.

    2) At the time there is the possibility of doing it with translations using Loco Translate if you are not using EN language. Or creating a mu-plugin to redefine this function:

    if ( ! function_exists( 'flrt_filter_search_field' ) ) {
        /**
         * Outputs filter search field
         * @since 1.7.6
         */
        function flrt_filter_search_field( $filter, $view_args, $terms ) {
            if ( empty( $terms ) ) {
                return false;
            }
    
            if( $filter['search'] === 'yes' && $view_args['ask_to_select_parent'] === false ):  ?>
                <div class="wpc-filter-search-wrapper wpc-filter-search-wrapper-<?php echo esc_attr( $filter['ID'] ); ?>">
                    <input class="wpc-filter-search-field" type="text" value="" placeholder="<?php esc_html_e('Search', 'filter-everything' ) ?>" />
                    <button class="wpc-search-clear" type="button" title="<?php esc_html_e('Clear search', 'filter-everything' ) ?>"><span class="wpc-search-clear-icon">×</span></button>
                </div>
            <?php endif;
        }
    }

    And it will change the placeholder for all of the term search fields. In future updates, we are going to add the ability to change it in a more user-friendly way.

    3) Well, you need to hit either enter or click aside in order to apply your search text. And then click the SEARCH button. If you are clicking right away on the SEARCH it will not update the page, it will update the filter terms in order to your search text. That’s why you are experiencing the “double” click situation. But this will be fixed in future updates as well with another logic.

    Best Regards – Victor

Viewing 1 replies (of 1 total)
  • The topic ‘Edit Filter Set Settings’ is closed to new replies.