WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WooCommerce Predictive Search] Adding search bar to 404 pages

[Resolved] [Plugin: WooCommerce Predictive Search] Adding search bar to 404 pages

  • I’m trying to add WooCommerce Predictive Search plugin search box in my custom 404 error pages.

    See the page here: playseebow.com/404

    As you can see, I have placed woocommerce search function get_product_search_form(); onto the page. However, instead of default woocommerce search I want to make use of Predictive search plugin.

    So I replace get_product_search_form(); with if(function_exists('woo_predictive_search_widget')) woo_predictive_search_widget();

    But it does not bring up predictive search. Therefore it appears that ‘woo_predictive_search_widget’ function is not present for wp_die pages.

    So what should I do to get this widget on 404 pages?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: WooCommerce Predictive Search] Adding search bar to 404 pages’ is closed to new replies.
Skip to toolbar