This article explains how to replace the native search bar in the Conj theme with mypreview.
Replacing is based on editing the Conj child theme theme. Make sure you have installed the Conj child theme. If not, install it now.
Replacing the search bar
To replace the search bars, add the following code to your website:
/** * Replace Conj search with AJAX Serch for WooCommerce */ if ( ! function_exists( 'conj_lite_wc_search_field' ) ) { function conj_lite_wc_search_field() { ?> <div class="site-header__search"> <?php echo do_shortcode( '[wcas-search-form]' ); ?> </div> <?php } }
ⓘLearn how to add this snippet to your WordPress.