Hide filter

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 8 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #7200
    Alfonso Castellote
    Alfonso Castellote


    I had configuren a searchbox (id=1) but i want to apply a new filter with a custom field created with advanced custom fields.
    the field its tipo_de_permiso and on the database has only 2 options (Consumidor and Profesional).

    From the home, i only want to show the Consumidor results, but i dont want to show this “filter”.
    Its any way to asign a Id and from the css make a rule display none? or sent this filter in the url?


    Ernest Marcinko
    Ernest Marcinko


    You can consider using the “Hidden” type for the filter: https://i.imgur.com/oLht2rs.png

    Or, you can use a custom CSS with the custom field name, it works similarly as the ID:

    *[name="aspf[tipo_de_permiso]"]  {
        display: none !important;
    Ernest Marcinko

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

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

You must be logged in to reply to this topic.