With the Checkbox block, your visitors can choose filter the results using a regular list of checkboxes.
Example
Setup
Block
Checkboxes
Add a select to your loop.
To add a dropdown filter, add the Checkbox block to your loop. You can place the block anywhere within the Better Loop, but in most cases you’ll want to place it somewhere above or besides the Post Template block.
Settings
The block has a number of settings to change its behavior:
Name | Description |
---|---|
Source | The source of the filter (e.g. post types or a taxonomy). |
Hide label | Hides the visible label above the filter. |
Label | This field appears only when hiding the label, and lets you set a hidden label for visitors that use screen readers or other assistive technologies. |
Options to show | The number of options to show by default. Any more options will be hidden behind a toggle button. |