This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Category Checkbox Results

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16773
    paulmiddleditchpaulmiddleditch
    Participant

    Hi,

    Note the page to look at is: https://ycsc.co.uk/showroom/

    I have set up the plugin so that it filters using 3 categories ‘Cars’, ‘Motorcycles’ and ‘Sold’ – It had worked previously but now when you uncheck the categories in the search it does not make any difference e.g. I uncheck ‘Sold’ and still the posts with the ‘Sold’ category still appear. It would also be preferable if the page results did automatically (using Ajax) refresh results when then the checkboxes are checked or unchecked – is this possible?

    The template files you may need to look at are:
    inc/search-bar.php – this gets called into these files:
    template-parts/content-page-showroom.php
    search.php

    Many thanks for your help.

    Paul

    #16775
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Paul,

    Thank you very much for the proper details, it helps me a lot!

    The issue was, that the search override was disabled, so the plugin was simply redirecting to the results page, without replacing the result objects with the ones from the plugin. I have enabled that here: https://i.imgur.com/RomdGNv.png

    Now it should give you the results from the search plugin.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.