Exclude Categories

This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 9 years, 9 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1231
    BryanCollege
    BryanCollege
    Participant

    I 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.

    #1233
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    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,
    Ernest

    Best,
    Ernest Marcinko

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


    #1237
    BryanCollege
    BryanCollege
    Participant

    Hi 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?

    #1238
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    Yes the settings will remain (altough they might seem differently on the settings page, but the database will contain the changed values)

    Best,
    Ernest Marcinko

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


    #1240
    BryanCollege
    BryanCollege
    Participant

    Ok 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?

    #1243
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Yes, 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.

    Best,
    Ernest Marcinko

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


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

You must be logged in to reply to this topic.