Excluding categories from search results

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Excluding categories from search results

This topic contains 2 replies, has 2 voices, and was last updated by ravihirani ravihirani 7 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5401
    ravihirani
    ravihirani
    Participant

    Hi

    I have added the IDs of the categories i wanted to exclude from the search results, which i have attached in the screen shot. I checked the front end and I can still find posts from these categories in the search results.

    Ravi

    Attachments:
    You must be logged in to view attached files.
    #5403
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    The problem is that you are using the wrong field 🙂 That field is for excluding categories from results, when categories are the results – not the posts related to them.

    To exclude the posts connected to the categories go to the Advanced Options panel and scroll down a bit, where you will see an Exclude Categories drag-and-drop option field: https://i.imgur.com/HXetjor.png

    Drag the categories to the right and the posts connected with them should be excluded from the results then.

    I’m sorry if it’s a bit confusing, I’m planning to re-structure the options on the back-end a bit, as it grow quite a bit from the beginning 🙂

    Best,
    Ernest Marcinko

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


    #5404
    ravihirani
    ravihirani
    Participant

    Thanks a lot worked like a dream !

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

You must be logged in to reply to this topic.