Views plugin lets you build your own custom search for any content type. These searches can be based on post content, taxonomies and custom fields.
When you ask for help or report issues, make sure to tell us settings for your custom search.
Viewing 15 topics - 961 through 975 (of 978 total)
Add a Javascript code to the view that checks for empty filters and hide their parent(includes the label)
jQuery(function($){
$('#term-archive form select').each(function(){
var select = $(this);
var options = select.find('option')
if ( ! options.length) {
select.parent().hide()
}
})
})
Notice:
Depending on how you are creating your forms, labels, controls, etc... the Javascript code might need to be adapted. In this example, we used the id "term-archive" and we hide the parent form-group of the filter(select)