This renders all your properties within a given Category.
You can configure Categories and their associated properties in your Staylists account.
Insert this Javascript wherever you’d like the search results to appear.
<script>
// You'll find the category slug in your Staylists account
// Create a static page or pull it dynamically from your DB
let slug = 'dog-friendly'
// And then use it in your code
Staylists({
host: 'devdemo.staylists.com',
path: `/categories/${slug}`
});
</script>
Clicking on a property will take you the Property Booking documentation. In your live environment, you’ll specify the URL for each property on your site. This can be configured in your Staylists account.