Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Exclude Categories
- This topic has 5 replies, 2 voices, and was last updated 12 years, 3 months ago by
Ernest Marcinko.
-
AuthorPosts
-
February 27, 2014 at 4:12 pm #1231
BryanCollege
ParticipantI cannot drag items from the “Available Categories” list to the “Exclude Categories” list, under Advanced Options. It won’t let me select any to drag. This also happens on the Taxonomy fields right below it. The “Search in Custom Post Types” box under General Options works fine, but that is the only one.
February 27, 2014 at 4:32 pm #1233Ernest Marcinko
KeymasterHi!
It’s most likely due to a jquery ui javascript confict. My suggestion is, that you should switch the template temporarly to default and see if you can use the controls. If not, then it’s probably another plugin causing it. Well, there are so many plugins, that I’m unable to tell which could cause it, so the best option here is to temporary deactivate some of them (or all of them), configure the search, and activate them back.
This issue happened once before a long time ago, it was an outdated free plugin causing the problem, but I cannot recall which one exactly. Anyways, temporary deactivating some plugins or swicthing the template should definitely help 🙂
Let me know!
Best,
ErnestFebruary 27, 2014 at 4:50 pm #1237BryanCollege
ParticipantHi Ernest,
It looks like it is a custom plugin I wrote – I will get that fixed. If I disable the problematic plugin and then change the settings, then re-enable that plugin, will it keep my settings?
February 27, 2014 at 4:51 pm #1238Ernest Marcinko
KeymasterHi!
Yes the settings will remain (altough they might seem differently on the settings page, but the database will contain the changed values)
February 27, 2014 at 4:59 pm #1240BryanCollege
ParticipantOk one other question – I’ve setup a category for the search box, that I only want to have results displayed if the search finds pages in that category. It is still getting results from the whole site, not just that category. By excluding all other categories under Advanced Options, it should not be getting results from any other categories – is that correct?
February 27, 2014 at 5:09 pm #1243Ernest Marcinko
KeymasterYes, exactly. If one post has more than one category associated, then the search will show the post as result, unless all of the categories are ecluded, that are associated with the post.
For example:
The post “Test” is in “category 1” and “category 2”. If you exclude “category 1”, then the the “Test” post will still show up, because “category 2” is not excluded. However if both “category 1” and “category 2” are excluded, the post will never show up as result. -
AuthorPosts
- You must be logged in to reply to this topic.