Tagged: header, search box
Hello
I’ve been browsing the forum for a while and finding solutions to my problems
I would like to add the search field of the Ajax Search plugin for WooCommerce in “avia-search-tooltip avia-tt” position
(box after click search icon)
I think that is possible via the function.php file but I am not asser forrt to write all this = /
I can call the search by
[wcas-search-form] or
<? php echo do_shortcode (‘[wcas-search-form]’); ?>
I’m sure it will only be a fomality for you =)
Thank you for your help
Hey Emulsions,
Thank you for the inquiry.
Have you tried editing the searchform.php file? That is where the search bar markup is located. You can also use the ava_frontend_search_form hook to insert additional fields in the existing form to adjust its query.
Best regards,
Ismael
Hello,
Thanks for your reply, I added the piece of code to searchform.php and I have the search field of my plugin
But impossible to have the search suggestion = (
I tried to enlarge the block but nothing appears = /
Thanks for your help
<form action=”<?php echo $search_params[‘form_action’]; ?>” id=”searchform” method=”get” class=”<?php echo $disable_ajax; ?>”>
<div>
<?php echo do_shortcode(“[wcas-search-form]”); ?>
</div>
</form>