Filter buttons are a great way to help your customers narrow their search for an event. Before creating the button, you will need to have created your filtered links. You can read how to do that here.
We have a Google Sheet that can help you construct both filtered links and filter buttons. Just click here to open the Google sheet, select Make a copy and follow the instructions.
If you prefer to construct the filter button manually, please follow the below steps.
Creating your filter buttons
Here's an example of how the use of buttons created with HTML can look on your public page:
Each button needs a place to link through to. In this example, we have created filtered links by entry.
The link for the 'Monday' button is https://bookwhen.com/jenniferzsigo?entry=1ndw37z2jk48 which is the link for the entry that holds all the Monday time slots.
The code you need to enter to create this button is:
<a class="small button success" href="https://bookwhen.com/jenniferzsigo?entry=1ndw37z2jk48" style="margin-bottom: 10px;" >Monday</a>
Let's break that down:
The button shape: class="view_button">
The button colour: <a class="small button success"
(More colours found below)
Your filtered link: href="https://bookwhen.com/jenniferzsigo?entry=1ndw37z2jk48"
The text on your button: >Monday</a>
So you could, for example, change this to >Yoga Classes</a>
Adds space after your button: style="margin-bottom: 10px;"
So that any additional buttons you add don't run together on mobile devices.)
Selecting your filter button colour
<a class="small button"
<a class="small button success"
<a class="small button info"
<a class="small button secondary"
<a class="small button warning"
<a class="small button alert"
Using Emojis on your filter buttons
You can add emojis to your buttons, like in this example:
You can find more information on using Emojis here.
Once you've created your button code, open your Public Page and select Page Setup in the top right-hand corner. Then, scroll down and paste the code in the General information field:
Remember to save your settings after you have finished, and refresh the public page to see the result!
For example, you can use the code </p> to create a line break if you want to stack your buttons vertically.
You can also use buttons to link to other links, not just within Bookwhen.