Setting up a Search function in Pinegrow

How do I set up a Search function for my website that searches all html pages?

I found a code for a search function in Pinegrow:

                        <form class="d-flex"> 
                            <input class="border border-1 form-control me-2" type="search" placeholder="Search" aria-label="Search" style="border-width: 1px; border-radius: 1px; border-color: #890707;"/> <a class="btn btn-outline-danger link-danger text-danger" href="#">Search</a> 
                        </form>  

If I use - href=“https://caid.ca/*.html” - will search read through all html pages on the caid.ca web site?

@Richard

Hi @Richard,
The search input type is the same as a text input. It does let assistive readers know that the field is a search field. Other than that, it doesn’t provide any search capabilities. Setting up a site search is a fairly deep programmatic problem. Usually it is best to use a search engine from an outside company like Google.
Good Luck,
Bob

1 Like