Woocommerce Search Html

<form role=”search” method=”get” class=”woocommerce-product-search” action=”<?php echo esc_url( home_url( ‘/’ ) ); ?>”>
<input type=”image” src=”<?php echo get_template_directory_uri(); ?>/images/icon-search97b8.png” alt=”Go” id=”go”>
<input type=”search” class=”search_box” placeholder=”<?php echo esc_attr_x( ‘Search Products&hellip;’, ‘placeholder’, ‘woocommerce’ ); ?>” value=”<?php echo get_search_query(); ?>” name=”s” title=”<?php echo esc_attr_x( ‘Search for:’, ‘label’, ‘woocommerce’ ); ?>” />
<!–input type=”submit” value=”<?php //echo esc_attr_x( ‘Search’, ‘submit button’, ‘woocommerce’ ); ?>” /–>
<input type=”hidden” name=”post_type” value=”product” />
</form>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: