Usage

A- A+

Usage

After configuring your widget, move on to wp-admin → Appearance → Widgets. You will find a new widget named Advanced Search Widget there. Now you can place this widget as any other widget on your theme.

While placing it, you will find some options in the widget, like Background color and width. Nowadays most of the themes are responsive and re-size the elements on their own. So you can leave them in the default condition.

Embed the widget in your theme

You may want to embed the widget anywhere in your theme template. To call the widget on your desired place, you can copy paste the below code block to your template.

[php]<?php if ( function_exists( ‘asw_search_form()' ) ) { asw_search_form(); } ?>[/php]