WordPress.org

Support

Support » Plugins and Hacks » WP Search Suggest » [Resolved] [Plugin: WP Search Suggest] Doesn't work for searchform in the widget

[Resolved] [Plugin: WP Search Suggest] Doesn't work for searchform in the widget

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey kravallle,

    you could add another jQuery call and change the selector to the add the functionality to the second input field.
    Have a look at /js/wpss-search-suggest.dev.js as reference.

    Cheers

    Right: it works if you change #s in the js to whatever the ID of your search form is.

    Wow, thanks for the above. Now I got it working with SuperSearch (adds category dropdown to choose from where to search).
    The hardest part was to find the ID of the search plugin (well for me, just learned something again today)

    Thanks and regards, Ron

    thanks a lot. that change is pretty easy.

    if someone uses the function get_search_form() also twice in his template, changing the id of one of the two search forms works best with this workaround:
    https://codex.wordpress.org/Function_Reference/get_search_form#Notes

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: WP Search Suggest] Doesn't work for searchform in the widget’ is closed to new replies.
Skip to toolbar