Category Checkbox Results

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 6 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16773
    paulmiddleditch
    paulmiddleditch
    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 Marcinko
    Ernest 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.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


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

You must be logged in to reply to this topic.