set_style_setting('search_label' , $styles['label']); $AjaxyLiveSearch->set_style_setting('width' , (int)$styles['width']); if(isset($styles['allow_expand'])){ $AjaxyLiveSearch->set_style_setting('expand' , (int)$styles['expand']); } else{ $AjaxyLiveSearch->set_style_setting('expand' , 0); } if(isset($styles['credits'])){ $AjaxyLiveSearch->set_style_setting('credits' , 1); } else{ $AjaxyLiveSearch->set_style_setting('credits' , 0); } if(isset($styles['aspect_ratio'])){ $AjaxyLiveSearch->set_style_setting('aspect_ratio' , 1); } else{ $AjaxyLiveSearch->set_style_setting('aspect_ratio' , 0); } $AjaxyLiveSearch->set_style_setting('delay' , (int)$styles['delay']); $AjaxyLiveSearch->set_style_setting('border-width' , (int)$styles['b_width']); $AjaxyLiveSearch->set_style_setting('border-type' , $styles['b_type']); $AjaxyLiveSearch->set_style_setting('border-color' , $styles['b_color']); $AjaxyLiveSearch->set_style_setting('results_width' , (int)$styles['results_width']); $AjaxyLiveSearch->set_style_setting('excerpt' , $styles['excerpt']); $AjaxyLiveSearch->set_style_setting('css' , $styles['css']); //$AjaxyLiveSearch->set_style_setting('results_position' , $styles['results_position']); $AjaxyLiveSearch->set_style_setting('thumb_width' , $styles['thumb_width']); $AjaxyLiveSearch->set_style_setting('thumb_height' , $styles['thumb_height']); $AjaxyLiveSearch->set_templates('more' , $templates['more_results']); $message = "Settings saved"; } ?>



Search Form box

This label appears inside the search form and will be hidden when the user clicks inside.
The width of the search form (width is per pixel) - the value should be integer.
get_style_setting('expand', 0 ) > 0 ? 'checked="checked"' : ''; ?>/> The reduced width of the search form (this will allow the form to expand its width when it gains focus).
The delay time before showing the results (this will allow the user to input more text before searching) - (in millisecond, i.e 5000 = 5sec).
The width of the search form border.
The type of the search form border.
The color of the search form border (color value is hexa-decimal).

Search Results box

*/ ?>
The width of the results box (width is per pixel) - the value should be integer.
The position of the results box (it can be displayed starting from the left or from the right)
The post content total number of words to be shown under each result.
get_style_setting('aspect_ratio', 0 ) > 0 ? 'checked="checked"' : ''; ?>/>
The thumbnail size used in the post template it will modify {post_image_html} only, Maintaining aspect ratio is relatively slow so be aware, modifing the thumb size will need some css changes.

More results box

This search URL for the "See more results"

More results text (allowed parameters ( {search_value} {search_value_escaped} {search_url_escaped}).

Custom styles (CSS)


Custom styles to be added in the plugin css. add ( .screen-reader-text { display:none; } ) if you want to hide the search form title.

Credits

get_style_setting('credits', 1 ) == 1 ? 'checked="checked"' : ''; ?>/> Author "Powered by" link and credits.