Product Search Box Above the Shop
Places the WooCommerce product search box above the product grid on the shop and product category pages.
Opens WPIDE on
Code
<div class="wpide-shop-search" style="margin:0 0 1.5em;max-width:480px;">
<?php if ( function_exists( 'get_product_search_form' ) ) { get_product_search_form(); } ?>
</div>
Notes
Style it with the .wpide-shop-search class.
How to add this snippet
- Install WPIDE on your WordPress site (it is free) and open Code Snippets.
- Use snippet above adds it from the library in one click. Or copy the code into a new snippet with the same code type.
- It is added inactive: review the code and settings, then switch it on.