• clarabelle75

    (@clarabelle75)


    Is it possible to hide labels within taxonomies that I want to exclude from filtering.

    My use case is animals up for adoption and visitors will select under Neutered Status for ‘neutered’ and ‘booked to be neutered’ but I don’t want to show ‘not neutered’ filter option. I still want those animals in the loop grid though, but it is not an option that needs to be searched for.

    Is this possible?

Viewing 1 replies (of 1 total)
  • Plugin Support Dara

    (@dara4)

    Hi clarabelle75 (@clarabelle75),

    Yes, this is possible. There is no built-in option to hide specific taxonomy terms in the filter UI, but you can do it using CSS.

    If you are using Elementor Pro, you can target the specific label like this:

    selector label[for="termURL-filterID"] {
       display: none;
    }

    If you are not using Elementor Pro, you can also apply it globally:

    label[for="termURL-filterID"] {
       display: none;
    }

    Each filter label uses a generated for attribute based on the term URL + filter ID. You can find the exact value by inspecting the element in your browser (right click -> Inspect).

    This will only hide the label you wish to exclude. If you need to remove the term from the query entirely, this can also be done programmatically using the plugin’s dedicated PHP hooks.

    Hope that helps, let me know if you need additional information.

    Regards,
    Dara

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.