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

Issue with Category Filtering

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Issue with Category Filtering

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #38650
    sdd01sdd01
    Participant

    Hi,

    How are you?

    I just created a search bar and the filter by category functionality doesn’t work. I tried also your search bar in your website and it doesn’t work either. It does not filter by post category.

    When I go to the search bar I select the category and none of the posts filtered there are from the selected category. Tags works fine.

    Screenshot of Frontend Search Setting:
    https://ibb.co/fdSFgBX

    Screenshot of Search Bar that doesn’t display any post from filtering the category:
    https://ibb.co/4Jk8YHF

    Additional:
    https://ibb.co/NpSrKht

    I’m testing this on a localhost.

    Can you help me sort this out? Thanks!

    #38660
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Thank you for the details!

    On the screenshot, you have a single radio button filter only. Can you try adding more options to the list to see if that changes anything?
    If you are simply trying to restrict the posts to a certain category, I recommend this method instead.

    May I also ask, which search bar did you try on our website, and it did not work? Can you please send me a link to that? Everything seems to work all right on our ends, I would like to test the faulty search. Thank you!

    #38661
    sdd01sdd01
    Participant

    Thanks for the reply. Let me try your tutorial. I wanted to restrict using 2 parameters. Category and Tag. User will be able to filter posts using the option by Category (Alerts) and Tags (Alerts 2022, Alerts 2021). When selecting the option to filter using only by Category it doesn’t filter posts under such category, It shows all the posts from the website. However, when using the tags, it filters them.

    • This reply was modified 3 years, 10 months ago by sdd01.
    • This reply was modified 3 years, 10 months ago by sdd01.
    #38668
    sdd01sdd01
    Participant

    It worked!!! Thanks a lot! 🙂

    #38686
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    #38693
    sdd01sdd01
    Participant

    Yes! I will! Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Issue with Category Filtering’ is closed to new replies.