How can I reuse the WordPress search form for a custom plugin / widget?
I looked into doing the same thing and in the end opted for a custom solution using thickbox as being less complex. Could be it’s possible, but perhaps not worth the effort. The code is certainly not built for customisation as far as I could see. Open a thickbox modal with a search field Ajax … Read more