Filter buttons are a great way to help your customers narrow down their search for an event. Before you can create 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 to construct both filtered links and filter buttons. Just click here to open the Google sheet, then select Make a copy and follow the instructions.
If you prefer to construct the filter button manually, please follow the steps outlined below.
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, filtered links have been created 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 would be:
<a class="small button success" href="https://bookwhen.com/jenniferzsigo?entry=1ndw37z2jk48" style="margin-bottom: 10px;" >Monday</a>
Let's break that down:
This is the button shape: class="view_button">
This is the button colour: <a class="small button success"
You can replace this from the list below
This is your filtered link: href="https://bookwhen.com/jenniferzsigo?entry=1ndw37z2jk48"
This is the text on your button: >Monday</a>
So you could, for example, change this to >Yoga Classes</a>
This adds a bit of space after your button: style="margin-bottom: 10px;"
(This is so that any additional buttons you add don't run together on mobile devices.)
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!
You can use the code </p> to create a line break if you want to stack your buttons vertically, for example.
You can also use buttons to link to other links, not just within Bookwhen.
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.