- This topic has 3 replies, 2 voices, and was last updated 5 years ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Customise text in drop down menus
Hello,
Is it possible to change the content of drop down menus used in the search? The text at the moment is automatically taken from that taxonomy’s full title (e.g. ‘Holidays in Cornwall’) but ideally I’d like to shorten this (‘Cornwall’).
Thanks,
Alice
For Taxonomies, the only way to do that would be to use this filter to change the label:
https://searchandfilter.com/documentation/action-filter-reference/#filter-input-object
There are many snippets of code using that filter in the forums:
https://support.searchandfilter.com/forums/search/function+sf_input_object_pre/