Support Forums

Support Forums Forums Search & Filter Pro Search and Filter Pro filtering not working.

This topic is: not resolved

This topic contains 8 replies, has 2 voices, and was last updated by  Trevor 1 week, 3 days ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • stennn
    #201967

    When I click a check box or choose something from the scrolldown it still shows all the posts. Using custom display results on a wordpress category page.

    Trevor Moderator
    #201988

    Are you able to send me a live link/URL to your search page so I can take a look?

    stennn
    #201994
    This reply has been marked as private.
    Trevor Moderator
    #202023

    As you are using the Custom display results method, how did you link the form to the template for that page. The form links you to this page in our documentation:

    https://searchandfilter.com/documentation/search-results/custom/

    stennn
    #202036

    This seems like a custom coding. I have no idea where to insert this query:

    $args = array(‘post_type’ => ‘post’);
    $args[‘search_filter_id’] = 123;
    $query = new WP_Query($args);

    stennn
    #202038

    I installed WP query nof but this looks like writing code to me.

    Trevor Moderator
    #202046
    This reply has been marked as private.
    stennn
    #202081
    This reply has been marked as private.
    Trevor Moderator
    #202143

    I examine the HTML of the results section, especially the containing HTML, and then tried each one going further out until it worked.

    The container that worked was one that had those three classes attached, something like:

    <div class="col-md-8 main-col text-area">

    For which the jQuery identifier is as you see I used.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.