Smart action for form search

Hello everybody,
I state that I am a newbie,
i’m creating a theme with BS5 and i can’t figure out how to connect the search form to the wordpress function to search the site.
Can you tell me if there is a smart action?

I have Pinegrow WP Pro

Thanks everyone for the help.

I believe you can use “Get Search Form” from the WP actions:
image

LMK if that does not work b/c you can also just put the HTML for the form directly into your page like this:

<form method="get" id="mobile_searchform" action="<?php echo get_site_url(); ?>" role="search" _lpchecked="1" class="shadow">
    <label class="sr-only" for="s">Search</label>
    <div class="input-group">
        <input class="field form-control" id="s" name="s" type="text" placeholder="Search" value=""/><span class="input-group-append"> <input class="submit btn btn-primary" id="searchsubmit2" name="submit" type="submit" value="Search"/> </span>
    </div>
</form>
2 Likes