Skip to main content

Hiding the filters

Fetch automatically generates filters to help visitors sort through your adoptable animals. You can hide certain ones, or hide them altogether using the showFilters attribute.

*If you’re seeing this, your browser doesn’t support Fetch.*

What to put on your site

<link rel="stylesheet" type="text/css" href="fetch.css">
<script src="fetch.js"></script>

<div class="fetch-container">
    Anything you want to display if Fetch isn't supported by the visitor's browser.
</div>

<script>
    fetch.init({
        key: "YOUR API KEY",
        shelter: "YOUR SHELTER ID",
        showFilters: false,
    });
</script>

If you’re using WordPress

[fetch key="YOUR API KEY" shelter="YOUR SHELTER ID" showFilters="false"]Anything you want to display if Fetch isn't supported by the visitor's browser.[/fetch]