• Great plugin! I have one issue though.

    I have Woocommerce installed. I added &post_type=product on the search url so that when users click more results, it will show Shop Search results which is working great however it doesn’t work if users press enter or click the search icon. It will show the post search result. How do I make it work?

    Any help will be highly appreciated.

    https://ww.wp.xz.cn/plugins/ajaxy-search-form/

Viewing 4 replies - 1 through 4 (of 4 total)
  • <input type=”hidden” name=”post_type” value=”product”>

    add this line to plugin search form, under submit button (in sf.php file)

    Thread Starter dyames23

    (@jameslacbay)

    it works! thank you very very much!

    Thread Starter dyames23

    (@jameslacbay)

    now how do i add this to my child theme so that it will not be overwritten when there is an update?

    i created a ajaxy-search-form folder on my child theme and copied and edited the sf.php but it did not work.

    Thank you @oliobi @james . This plugin is the best

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Search URL’ is closed to new replies.