This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 1 month, 2 weeks ago.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Exclude a category in the search
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 1 month, 2 weeks ago.
Hi,
I’m having a search with the category for each video which is a custom post type. What I’m trying to do now is adding may be a checkbox or something like below the search may be that would have a checkbox to include/exclude a certain category and I’m don’t sure how I could do that. I tried in the frontend settings > Content Type > Content type filter and select Taxonomy term which seems to work when I check the option but I want to show only that category when selected AND exclude it when I uncheck it. That is the part that I’m don’t sure. If I check it I can see only that category which is fine but if I uncheck it it’s not working.
Thank you for your help
Hi,
Having the single checkbox, whenever it is unchecked the plugin by default does not consider that, as when no checkboxes are checked the filters are inactive.
You can change that behaviour here with this option.
Best,You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |