Object filters - Waiviogit/waivio GitHub Wiki
Object filters allow you to limit the thematic specialization of your website. To do this, the site owner can specify a set of tags for each of the types of objects that may appear on the site (map, search). Filters are added together by OR. If the filter is empty, then it is assumed that the selection will include objects with any value.
For example, if filters for a restaurant are specified as: Cuisine: Good for: winetasting, beertasting Features: bar, cellar Then the site will show restaurants with all types of Cuisine, but for which Good for includes either winetesting or beertasting, or Features include a bar or cellar.
Adding tags is carried out by analogy with adding hashtags on the preview page before posting a new post.
Object filters The objects matching any of the specified filter tags will appear on the website. For example, if you want to display only vegetarian and vegan dishes on the site, you can specify the filter for the dish category: vegetarian, vegan. If you want to display all available objects, leave the filters empty.
Restaurants
Cuisine:
Features:
Good for:
Dishes
Category:
Ingredients:
Drinks
Category:
Ingredients:
Element | Description |
---|---|
TITLE |
Object filters |
DESCRIPTION |
The objects matching any of the specified filter tags will appear on the website. For example, if you want to display only vegetarian and vegan dishes on the site, you can specify the filter for the dish category: vegetarian, vegan. If you want to display all available objects, leave the filters empty. |
OBJECT_TYPE |
The name of the types of objects that can be on the site |
ENTER TAG |
A field for entering and searching for a hashtag with the same name. After entering a letter, the options are immediately displayed. After clicking on one of the items in the list, the hashtag is added to the field |
TITLE | Object filters |
---|---|
EXPLANATION |
The objects matching any of the specified filter tags will appear on the website. For example, if you want to display only vegetarian and vegan dishes on the site, you can specify the filter for the dish category: vegetarian, vegan. If you want to display all available objects, leave the filters empty. |
RESTAURANT |
Restaurant has 3 tag categories:
|
DISH |
Dish has 2 tag categories:
|
DRINK |
Drink has 2 tag categories:
|
If an object needs to be displayed on the site with objects filters, then the object needs to have a tag in appropriate category, and this tag has to be in objects filters.