Menu Close

Get Support From ShopWired Close

All systems fully operational

Subscribe To Updates
Prefer To Live Chat? Chat directly with ShopWired support Quickest response time
Send A Message
Response within 24 hours

Menu Close

You are viewing legacy help guides for the old ShopWired interface. Visit the new help centre at https://help.shopwired.io for the latest help information.
Menu

Blog search

To include a search form on the blog page of your theme, you just need to create an HTML form with its action attribute set to /blog. This will search blog posts matching via keyword.

Within this form you should have an input of type text with a name attribute set to to keywords.

An example is shown below.

<form action="/blog" method="get">
    <input type="text" name="keywords">
    <button type="submit">search</button>
</form>

Once the search form has been submitted the user will be taken to the blog view with the matching results.

The keywords that a user has searched with can be outputted using the {{ keywords }} variable.