Forums Forums Search & Filter Pro Pre-populate search text field

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #45316

    How can I populate the search text field with a the string value from a WP default search, i.e. get_search_query() ?

    Trevor
    #45330

    You can do this, but only by editing your theme core files, I think. I have seen a similar request before that Ross has answered (but I cannot recall where). The last person that asked, the user and I figured that the search was a simple theme included search template file and we replaced that with a file named the same that simply called a search and filter form that had only the search field in.

    We then styled it to match the theme’s own search field.

Viewing 2 posts - 1 through 2 (of 2 total)