Forums Forums Search & Filter Pro collapsing children on taxonomy for checkboxes? any help would be appreciated!

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Anonymous
    #197988

    line 408 of class-search-filter-generate-input.php

    How can I make this happen. aka

    main taxonomy [+] (where [+] when clicked displays children) for search

    Trevor
    #197991

    This is not possible with our plugin at this time, but it can be done with javascript. I do not have any snippets to share, but I have seen it done by users in the past. Do you wish me to make this a feature request for V3 (due in a few months)?

    Anonymous
    #198004

    Would be nice. Although I might tinker around personally and see if I can get this to roll out properly ahead of time. Do you have a github I might be able to contribute to?

    Anonymous
    #198007

    and any recollection of the peoples sites so I can check out how they went about it?

    Trevor
    #198009

    I am sorry, I do not recall any specific sites (frequently all we see are staging sites, and not the live sites).

    We do not have a github account like that, but if you wish to share here, so can paste code here, starting and ending with one code back tick.

    I will move this thread to our feature requests section right now.

    Anonymous
    #198127
    echo '<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".'.$input_id.'" aria-expanded="false" aria-controls=".'.$input_id.'">
      [+]
      </button>';
    						echo '<ul class="collapse children '.$input_id.'">';

    css changes

    ul.collapse {display:none;}
    ul.collapse in {display:block;}
    

    This is built with the assumption that bootstrap is installed (which it is on most platforms on wordpress (since most sites use wpbakery to make it easier))

    Anonymous
    #198129
    This reply has been marked as private.
    Trevor
    #198222
    This reply has been marked as private.
Viewing 8 posts - 1 through 8 (of 8 total)