This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Hide filter

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

    Hi,

    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?

    Thanks!

    #7211
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

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

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

    [html]
    *[name="aspf[tipo_de_permiso]"] {
    display: none !important;
    }[/html]

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.