I went according to a support topic to build an author frontend filter with select option
i added a Post author filter in query filter with Author's is set by the URL parameter:
author-filter.
Than i added in the filter editor :
<select name="author-filter" class="wpcf-form-select form-select select">[list-of-authors]</select>
and in the theme php i added:
it works perfect with no ajax automatic update (only submit button).
is there anyway to make the author filter parameter in the url to be updated with this php select code with ajax?
also is there any planning to next version of views (when?) to add author and date in the parametric serach options?
It is a so needed customization that it is strange that for years people wrote asking for it and it is still not made.
Thanks a lot
Languages: English (English )Chinese (Simplified) (简体中文 )
Timezone: Asia/Hong_Kong (GMT+08:00)
Dear meirk,
You will need to setup the CSS class name of "author-filter" dropdown as "js-wpv-filter-trigger", for example, you can modify the HTML codes in "Filter editor" from:
is there anyway to make it work also to allow in this customized field the option to hide or disable irrelevant options for inputs as in custom search settings appears?
Why this option doens't appear in the "new filter" native options of types?
thanks
Languages: English (English )Chinese (Simplified) (简体中文 )
Timezone: Asia/Hong_Kong (GMT+08:00)
There isn't any more cost in a feature request, but it needs our developers's evaluation:
Check the possibility and put it into our to-do list, then it will be applied in the future version of Views plugin.