Adding a custom dropdown filter
-
Hi, I was trying to add a custom dropdown filter. In our case we want to have one filter for days and for part of the day, e.g. “Friday & Morning”. I tried the following below, which was specified in the 2.2 release post.
$output .= ‘<select autocomplete=”off” name=”cars” class=”wpsl-dropdown wpsl-custom-dropdown”>’;
$output .= ‘<option value=”0″>Any cars</option>’;
$output .= ‘<option value=”bmw”>BMW</option>’;
$output .= ‘<option value=”mercedes”>Mercedes</option>’;
$output .= ‘</select>’;Were on the backend can I specify or have to specify this filter, so that it actually communicates? I did the days with categories, which obviously built in.
Thanks in advance
The topic ‘Adding a custom dropdown filter’ is closed to new replies.