Make the text field in search form optional October 9, 2022 by Tarik Billa The solution was to create my own search function with wp_query(), it seems to be the easiest solution.