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
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?