This Field Group is used specifically on the Contact Us page for adding holiday hours.
We have two methods for displaying our Hours of Operation on our website. One method uses a Google API in order to get the data. The other method uses this Field Group to store holiday data for display.
The unfortunate reason for using this Field Group is that the Google API will only return data for one week, but we would like to display holidays upcoming in the next 90 days, providing site visitors better information at a glance. The way all of this works to render the data on the Contact Us page is divided into three separate Code Snippets: “hug-google-maps-ui”, “hug-google-maps-api”, and “hug-google-business-hours”. Information related to each of those snippets is on their own Internal Documentation pages.
The Field Group consists of a group of groups of fields, which are generically named as “Holiday 1”, “Holiday 2”, etc.
The Fields within the inner-most group are Name, date, and Hours (Optional).
For example, if the office is closed the whole day, Hours can be left blank. Otherwise, just enter the opening and closing hours.